@adcp/client API Reference - v3.3.3
    Preparing search index...

    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;
        }

    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.

    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

        Whether this was a dry run (no actual changes made)

      • 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 };
        }[]

        Results for each creative processed. Items with action='failed' indicate per-item validation/processing failures, not operation-level failures.

      • Optionalcontext?: ContextObject
      • Optionalext?: ExtensionObject
    • { errors: [Error, ...Error[]]; context?: ContextObject; ext?: ExtensionObject }
      • errors: [Error, ...Error[]]

        Operation-level errors that prevented processing any creatives (e.g., authentication failure, service unavailable, invalid request format)

        1

      • Optionalcontext?: ContextObject
      • Optionalext?: ExtensionObject