@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Interface SyncCreativesSuccess

    Success response - sync operation processed creatives (may include per-item failures)

    interface SyncCreativesSuccess {
        dry_run?: boolean;
        creatives: {
            creative_id: string;
            account?: Account;
            action: CreativeAction;
            status?: CreativeStatus;
            platform_id?: string;
            changes?: string[];
            errors?: Error[];
            warnings?: string[];
            preview_url?: string;
            expires_at?: string;
            assigned_to?: string[];
            assignment_errors?: { [k: string]: string | undefined };
        }[];
        sandbox?: boolean;
        context?: ContextObject;
        ext?: ExtensionObject;
    }
    Index

    Properties

    dry_run?: boolean

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

    creatives: {
        creative_id: string;
        account?: Account;
        action: CreativeAction;
        status?: CreativeStatus;
        platform_id?: string;
        changes?: string[];
        errors?: Error[];
        warnings?: string[];
        preview_url?: string;
        expires_at?: string;
        assigned_to?: string[];
        assignment_errors?: { [k: string]: string | undefined };
    }[]

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

    Type Declaration

    • creative_id: string

      Creative ID from the request

    • Optionalaccount?: Account
    • action: CreativeAction
    • Optionalstatus?: CreativeStatus
    • Optionalplatform_id?: string

      Platform-specific ID assigned to the creative

    • Optionalchanges?: string[]

      Field names that were modified (only present when action='updated')

    • Optionalerrors?: Error[]

      Validation or processing errors (only present when action='failed')

    • Optionalwarnings?: string[]

      Non-fatal warnings about this creative

    • Optionalpreview_url?: string

      Preview URL for generative creatives (only present for generative formats)

    • Optionalexpires_at?: string

      ISO 8601 timestamp when preview link expires (only present when preview_url exists)

      date-time

    • Optionalassigned_to?: string[]

      Package IDs this creative was successfully assigned to (only present when assignments were requested)

    • Optionalassignment_errors?: { [k: string]: string | undefined }

      Assignment errors by package ID (only present when assignment failures occurred)

    sandbox?: boolean

    When true, this response contains simulated data from sandbox mode.

    context?: ContextObject
    ext?: ExtensionObject