Type Alias SyncCreativesResponse
SyncCreativesResponse:
| {
dry_run?: boolean;
creatives: {
creative_id: string;
action: CreativeAction;
platform_id?: string;
changes?: string[];
errors?: string[];
warnings?: string[];
preview_url?: string;
expires_at?: string;
assigned_to?: string[];
assignment_errors?: { [k: string]: string };
}[];
context?: ContextObject;
ext?: ExtensionObject;
}
| {
errors: [Error, ...Error[]];
context?: ContextObject;
ext?: ExtensionObject;
}
Type Declaration
- {
dry_run?: boolean;
creatives: {
creative_id: string;
action: CreativeAction;
platform_id?: string;
changes?: string[];
errors?: string[];
warnings?: string[];
preview_url?: string;
expires_at?: string;
assigned_to?: string[];
assignment_errors?: { [k: string]: string };
}[];
context?: ContextObject;
ext?: ExtensionObject;
}Optionaldry_run?: boolean
creatives: {
creative_id: string;
action: CreativeAction;
platform_id?: string;
changes?: string[];
errors?: string[];
warnings?: string[];
preview_url?: string;
expires_at?: string;
assigned_to?: string[];
assignment_errors?: { [k: string]: string };
}[]
Optionalcontext?: ContextObject
Optionalext?: ExtensionObject
- { errors: [Error, ...Error[]]; context?: ContextObject; ext?: ExtensionObject }
errors: [Error, ...Error[]]
Optionalcontext?: ContextObject
Optionalext?: ExtensionObject
Response from creative sync operation. Returns either per-creative results (best-effort processing) OR operation-level errors (complete failure). This enforces atomic semantics at the operation level while allowing per-item failures within successful operations.