@adcp/sdk API Reference - v14.0.0-beta.6
    Preparing search index...

    Function legacyListCreativesResponse

    • Parameters

      • data: {
            context?: Omit<Omit<{}, "bank">, "authentication"> & {
                authentication?: unknown;
            };
            governance_context?: string;
            query_summary: {
                total_matching: number;
                returned: number;
                filters_applied?: string[];
                sort_applied?: { field?: string; direction?: SortDirection };
            };
            pagination: { has_more: boolean; cursor?: string; total_count?: number };
            creatives: (
                | {
                    creative_id: string;
                    account?: {
                        account_id: string;
                        name: string;
                        advertiser?: string;
                        billing_proxy?: string;
                        status: AccountStatus;
                        brand?: {
                            domain: string;
                            brand_id?: string;
                            countries?: string[];
                            industries?: string[];
                            data_subject_contestation?: {
                                url?: (...)
                                | (...);
                                email?: (...) | (...);
                                languages?: (...) | (...);
                            };
                            brand_kit_override?: {
                                logo?: (...)
                                | (...);
                                colors?: (...) | (...);
                                voice?: (...) | (...);
                                tagline?: (...) | (...);
                            };
                        };
                        operator?: string;
                        operator_unit?: { id: string; name?: string };
                        revision?: number;
                        identity_change?:
                            | {
                                status: "pending_approval";
                                requested_operator_identity: {
                                    operator: string;
                                    operator_unit?: { id: ...; name?: ... };
                                };
                                requested_at?: string;
                            }
                            | {
                                status: "rejected";
                                requested_operator_identity: {
                                    operator: string;
                                    operator_unit?: { id: ...; name?: ... };
                                };
                                requested_at?: string;
                                reason: string;
                            };
                        currency?: string;
                        timezone?: string;
                        billing?: BillingParty;
                        billing_entity?: Omit<
                            {
                                legal_name: string;
                                vat_id?: string;
                                tax_id?: string;
                                registration_number?: string;
                                address?: {
                                    street: ...;
                                    city: ...;
                                    postal_code: ...;
                                    region?: ...;
                                    country: ...;
                                };
                                contacts?: (...)[];
                                bank?: {
                                    account_holder: ...;
                                    iban?: ...;
                                    bic?: ...;
                                    routing_number?: ...;
                                    account_number?: ...;
                                };
                                ext?: (...) & (...);
                            },
                            "bank",
                        >;
                        destination_billing_entity?: Omit<Omit<{}, "bank">, "authentication"> & {
                            authentication?: unknown;
                        };
                        rate_card?: string;
                        payment_terms?: PaymentTerms;
                        credit_limit?: { amount: number; currency: string };
                        setup?: { url?: string; message: string; expires_at?: string };
                        account_scope?: AccountScope;
                        governance_agents?: { url: string }[];
                        reporting_bucket?: {
                            protocol: CloudStorageProtocol;
                            bucket: string;
                            prefix?: string;
                            region?: string;
                            format?: "jsonl" | "csv" | "parquet" | "avro" | "orc";
                            compression?: "none" | "gzip";
                            file_retention_days: number;
                            setup_instructions?: string;
                        };
                        sandbox?: boolean;
                        notification_configs?: | never[]
                        | (
                            Omit<
                                {
                                    subscriber_id: ...;
                                    url: ...;
                                    event_types: ...;
                                    product_payload_view?: ...;
                                    authentication?: ...;
                                    active?: ...;
                                    ext?: ...;
                                },
                                "authentication",
                            > & { authentication?: (...)
                            | (...) }
                        )[];
                        webhook_activity?: {
                            idempotency_key: string;
                            notification_id?: string;
                            subscriber_id?: string;
                            fired_at: string;
                            completed_at?: string | null;
                            notification_type: NotificationType;
                            sequence_number?: number;
                            attempt: number;
                            status:
                                | "failed"
                                | "pending"
                                | "success"
                                | "timeout"
                                | "connection_error";
                            url: string;
                            http_status_code?: number
                            | null;
                            response_time_ms?: number | null;
                            payload_size_bytes?: number;
                            error_message?: string | null;
                            ext?: (...) & (...);
                        }[];
                        ext?: Omit<Omit<{ [key: ...]: ... }, "bank">, "authentication"> & {
                            authentication?: unknown;
                        };
                    };
                    name: string;
                    format_id: {
                        agent_url: string;
                        id: string;
                        width?: number;
                        height?: number;
                        duration_ms?: number;
                        pixel_ratio?: number;
                    };
                    format_option_ref?: | {
                        scope: "publisher";
                        publisher_domain: string;
                        format_option_id: string;
                    }
                    | {
                        scope: "product";
                        format_option_id: string;
                        publisher_domain?: undefined;
                    };
                    status: CreativeStatus;
                    created_date: string;
                    updated_date: string;
                    assets?: Omit<
                        Omit<
                            {
                                [key: string]: | {
                                    asset_type: ...;
                                    url: ...;
                                    width: ...;
                                    height: ...;
                                    file_size_bytes?: ...;
                                    pixel_ratio?: ...;
                                    format?: ...;
                                    alt_text?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    url: ...;
                                    width: ...;
                                    height: ...;
                                    duration_ms?: ...;
                                    file_size_bytes?: ...;
                                    container_format?: ...;
                                    video_codec?: ...;
                                    video_bitrate_kbps?: ...;
                                    frame_rate?: ...;
                                    frame_rate_type?: ...;
                                    scan_type?: ...;
                                    color_space?: ...;
                                    hdr_format?: ...;
                                    chroma_subsampling?: ...;
                                    video_bit_depth?: ...;
                                    gop_interval_seconds?: ...;
                                    gop_type?: ...;
                                    moov_atom_position?: ...;
                                    has_audio?: ...;
                                    audio_codec?: ...;
                                    audio_sampling_rate_hz?: ...;
                                    audio_channels?: ...;
                                    audio_bit_depth?: ...;
                                    audio_bitrate_kbps?: ...;
                                    audio_loudness_lufs?: ...;
                                    audio_true_peak_dbfs?: ...;
                                    captions_url?: ...;
                                    transcript_url?: ...;
                                    audio_description_url?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    url: ...;
                                    duration_ms?: ...;
                                    file_size_bytes?: ...;
                                    container_format?: ...;
                                    codec?: ...;
                                    sampling_rate_hz?: ...;
                                    channels?: ...;
                                    bit_depth?: ...;
                                    bitrate_kbps?: ...;
                                    loudness_lufs?: ...;
                                    true_peak_dbfs?: ...;
                                    transcript_url?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    vast_version?: ...;
                                    vpaid_enabled?: ...;
                                    duration_ms?: ...;
                                    tracking_events?: ...;
                                    captions_url?: ...;
                                    audio_description_url?: ...;
                                    provenance?: ...;
                                    delivery_type: ...;
                                    url: ...;
                                }
                                | {
                                    asset_type: ...;
                                    vast_version?: ...;
                                    vpaid_enabled?: ...;
                                    duration_ms?: ...;
                                    tracking_events?: ...;
                                    captions_url?: ...;
                                    audio_description_url?: ...;
                                    provenance?: ...;
                                    delivery_type: ...;
                                    content: ...;
                                }
                                | { asset_type: ...; content: ...; language?: ...; provenance?: ... }
                                | {
                                    asset_type: ...;
                                    url: ...;
                                    url_type?: ...;
                                    description?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    content: ...;
                                    version?: ...;
                                    accessibility?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    content: ...;
                                    module_type?: ...;
                                    accessibility?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    url: ...;
                                    max_file_size_kb?: ...;
                                    entry_point?: ...;
                                    allowed_inner_extensions?: ...;
                                    backup_image_url?: ...;
                                    digest?: ...;
                                    accessibility?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    url: ...;
                                    method?: ...;
                                    timeout_ms?: ...;
                                    supported_macros?: ...;
                                    required_macros?: ...;
                                    response_type: ...;
                                    security: ...;
                                    provenance?: ...;
                                }
                                | { asset_type: ...; content: ...; media?: ...; provenance?: ... }
                                | {
                                    asset_type: ...;
                                    daast_version?: ...;
                                    duration_ms?: ...;
                                    tracking_events?: ...;
                                    companion_ads?: ...;
                                    transcript_url?: ...;
                                    provenance?: ...;
                                    delivery_type: ...;
                                    url: ...;
                                }
                                | {
                                    asset_type: ...;
                                    daast_version?: ...;
                                    duration_ms?: ...;
                                    tracking_events?: ...;
                                    companion_ads?: ...;
                                    transcript_url?: ...;
                                    provenance?: ...;
                                    delivery_type: ...;
                                    content: ...;
                                }
                                | {
                                    asset_type: ...;
                                    content: ...;
                                    language?: ...;
                                    markdown_flavor?: ...;
                                    allow_raw_html?: ...;
                                }
                                | {
                                    name: ...;
                                    objective?: ...;
                                    tone?: ...;
                                    audience?: ...;
                                    territory?: ...;
                                    messaging?: ...;
                                    reference_assets?: ...;
                                    compliance?: ...;
                                    asset_type: ...;
                                }
                                | {
                                    asset_type: ...;
                                    catalog_id?: ...;
                                    name?: ...;
                                    type: ...;
                                    url?: ...;
                                    feed_format?: ...;
                                    update_frequency?: ...;
                                    items?: ...;
                                    ids?: ...;
                                    gtins?: ...;
                                    tags?: ...;
                                    category?: ...;
                                    query?: ...;
                                    conversion_events?: ...;
                                    content_id_type?: ...;
                                    feed_field_mappings?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    post_url?: ...;
                                    platform?: ...;
                                    platform_post_id?: ...;
                                    identity_ref?: ...;
                                    published_at?: ...;
                                    reference_authorization?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    media: ...;
                                    headline?: ...;
                                    description?: ...;
                                    cta?: ...;
                                    landing_page_url?: ...;
                                    platform_extensions?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    event: ...;
                                    method?: ...;
                                    url: ...;
                                    custom_event_name?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    vast_event: ...;
                                    url: ...;
                                    offset?: ...;
                                    target?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    daast_event: ...;
                                    url: ...;
                                    offset?: ...;
                                    target?: ...;
                                    provenance?: ...;
                                }
                                | (...)[];
                            },
                            "bank",
                        >,
                        "authentication",
                    > & { authentication?: unknown };
                    localization?: {
                        default_locale_variant_id: string;
                        unmatched_locale_action: "serve_default" | "do_not_serve";
                        locale_matching: "rfc4647_lookup";
                        locale_fallbacks?: (
                            | { language_range: string; locale_variant_id: string }
                            | { language_range: string; locale_variant_id: string }
                        )[];
                        variants: (
                            | {
                                locale_variant_id: string;
                                locale: string;
                                role: "source";
                                assets: Omit<(...), (...)> & { authentication?: ... };
                            }
                            | {
                                locale_variant_id: string;
                                locale: string;
                                role: "target";
                                assets: Omit<(...), (...)> & { authentication?: ... };
                            }
                        )[];
                    };
                    localization_unavailable?: {
                        errors: {
                            code: string;
                            message: string;
                            field?: string;
                            suggestion?: string;
                            retry_after?: number;
                            issues?: {
                                pointer: ...;
                                message: ...;
                                keyword: ...;
                                schemaPath?: ...;
                                schema_id?: ...;
                                discriminator?: ...;
                            }[];
                            details?: Omit<(...), (...)> & { authentication?: ... };
                            recovery?: "transient" | "correctable" | "terminal";
                            source?: "producer" | "sdk";
                            sdk_id?: string;
                        }[];
                        retryable: boolean;
                    };
                    tags?: string[];
                    rights?: {
                        rights_id: string;
                        rights_agent: { url: string; id: string };
                        rights_holder?: {
                            domain: string;
                            brand_id?: string;
                            countries?: (...)[];
                            industries?: (...)[];
                            data_subject_contestation?: { url?: ...; email?: ...; languages?: ... };
                            brand_kit_override?: {
                                logo?: ...;
                                colors?: ...;
                                voice?: ...;
                                tagline?: ...;
                            };
                        };
                        valid_from?: string;
                        valid_until?: string;
                        uses: RightUse[];
                        countries?: string[];
                        excluded_countries?: string[];
                        impression_cap?: number;
                        right_type?: RightType;
                        approval_status?: "rejected"
                        | "approved"
                        | "pending";
                        grant_status?: "active" | "paused" | "revoked";
                        restrictions?: string[];
                        disclosure?: Omit<Omit<(...), (...)>, "authentication"> & {
                            authentication?: unknown;
                        };
                        creative_approval_required?: boolean;
                        verification_url?: string;
                        content_digest?: string;
                        attestation_refs?: | {
                            issuer: { type: ...; brand: ...; ext?: ... };
                            claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                            subject: {
                                type: ...;
                                resource_type: ...;
                                namespace: ...;
                                id: ...;
                                content_digest?: ...;
                                ext?: ...;
                            };
                            locator?: (...)
                            | (...)
                            | (...);
                            embedded_credential?: (...) | (...);
                            content_digest?: (...) | (...);
                            credential_version?: (...) | (...);
                            validity_hint?: (...) | (...);
                            verify_agent?: (...) | (...);
                            ext?: (...) | (...);
                        }[]
                        | {
                            issuer: { type: ...; brand: ...; ext?: ... };
                            claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                            subject: {
                                type: ...;
                                resource_type: ...;
                                namespace: ...;
                                id: ...;
                                content_digest?: ...;
                                ext?: ...;
                            };
                            locator?: (...)
                            | (...)
                            | (...);
                            embedded_credential?: (...) | (...);
                            content_digest?: (...) | (...);
                            credential_version?: (...) | (...);
                            validity_hint?: (...) | (...);
                            verify_agent?: (...) | (...);
                            ext?: (...) | (...);
                        }[]
                        | {
                            issuer: { type: ...; brand: ...; ext?: ... };
                            claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                            subject: {
                                type: ...;
                                resource_type: ...;
                                namespace: ...;
                                id: ...;
                                content_digest?: ...;
                                ext?: ...;
                            };
                            locator?: (...)
                            | (...)
                            | (...);
                            embedded_credential?: (...) | (...);
                            content_digest?: (...) | (...);
                            credential_version?: (...) | (...);
                            validity_hint?: (...) | (...);
                            verify_agent?: (...) | (...);
                            ext?: (...) | (...);
                        }[]
                        | {
                            issuer: { type: ...; brand: ...; ext?: ... };
                            claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                            subject: {
                                type: ...;
                                resource_type: ...;
                                namespace: ...;
                                id: ...;
                                content_digest?: ...;
                                ext?: ...;
                            };
                            locator?: (...)
                            | (...)
                            | (...);
                            embedded_credential?: (...) | (...);
                            content_digest?: (...) | (...);
                            credential_version?: (...) | (...);
                            validity_hint?: (...) | (...);
                            verify_agent?: (...) | (...);
                            ext?: (...) | (...);
                        }[];
                        ext?: Omit<Omit<(...), (...)>, "authentication"> & {
                            authentication?: unknown;
                        };
                    }[];
                    rights_attestation_evaluations?: {
                        rights_id: string;
                        content_digest: string;
                        reference: {
                            issuer: {
                                type: "brand";
                                brand: {
                                    domain: string;
                                    brand_id?: (...)
                                    | (...);
                                    countries?: (...) | (...);
                                    industries?: (...) | (...);
                                    data_subject_contestation?: (...) | (...);
                                    brand_kit_override?: (...) | (...);
                                };
                                ext?: (...) & (...);
                            };
                            claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                            subject: {
                                type: "resource";
                                resource_type: "https://adcontextprotocol.org/claims/subjects/rights-grant";
                                namespace: string;
                                id: string;
                                content_digest?: string;
                                ext?: (...) & (...);
                            };
                            locator?: | {
                                type: "credential_uri";
                                credential_uri: string;
                                ext?: (...)
                                | (...);
                            }
                            | {
                                type: "issuer_credential_id";
                                credential_id: string;
                                resolver_id: string;
                                ext?: (...)
                                | (...);
                            };
                            embedded_credential?: {
                                format: string;
                                value: (...)
                                | (...);
                                ext?: (...) | (...);
                            };
                            content_digest?: string;
                            credential_version?: string;
                            validity_hint?: {
                                not_before?: (...)
                                | (...);
                                expires_at?: (...) | (...);
                            };
                            verify_agent?: { agent_url: string };
                            ext?: Omit<(...), (...)> & { authentication?: ... };
                        };
                        evaluation: {
                            reference_digest: string;
                            credential_digest?: string;
                            proof_format?: string;
                            outcome: | "verified"
                            | "expired"
                            | "revoked"
                            | "not_found"
                            | "invalid"
                            | "unsupported"
                            | "unverifiable"
                            | "untrusted_issuer"
                            | "untrusted_resolver"
                            | "subject_mismatch"
                            | "digest_mismatch"
                            | "resolution_failed";
                            evaluated_at: string;
                            evaluated_by: string;
                            verifier_agent_url?: string;
                            reason_codes?: string[];
                            confidence?: number;
                            revocation_checked_at?: string;
                            valid_until?: string;
                            action_binding: {
                                action_type: "https://adcontextprotocol.org/actions/rights-grant-evaluation";
                            };
                            ext?: Omit<(...), (...)> & { authentication?: ... };
                        };
                        ext?: Omit<Omit<(...), (...)>, "authentication"> & {
                            authentication?: unknown;
                        };
                    }[];
                    concept_id?: string;
                    concept_name?: string;
                    variables?: {
                        variable_id: string;
                        name: string;
                        variable_type: | "number"
                        | "boolean"
                        | "image"
                        | "video"
                        | "audio"
                        | "text"
                        | "url"
                        | "date"
                        | "color";
                        default_value?: string;
                        required?: boolean;
                    }[];
                    assignments?: {
                        assignment_count: number;
                        returned_assignment_count?: number;
                        matching_assignment_count?: number;
                        assignments_truncated?: boolean;
                        assigned_packages?: {
                            indicator_types_evaluated?: (...)[];
                            indicators?: (...)[];
                        }[];
                    };
                    snapshot?: {
                        as_of: string;
                        staleness_seconds: number;
                        impressions: number;
                        last_served?: string;
                    };
                    snapshot_unavailable_reason?: SnapshotUnavailableReason;
                    items?: (
                        | {
                            asset_kind: "media";
                            asset_type: string;
                            asset_id: string;
                            content_uri: string;
                        }
                        | {
                            asset_kind: "text";
                            asset_type: string;
                            asset_id: string;
                            content: string
                            | string[];
                        }
                    )[];
                    pricing_options?: (
                        | {
                            pricing_option_id: string;
                            applies_to_output_format_ids?: {
                                agent_url: ...;
                                id: ...;
                                width?: ...;
                                height?: ...;
                                duration_ms?: ...;
                                pixel_ratio?: ...;
                            }[];
                            applies_to_output_capability_ids?: string[];
                            model: "cpm";
                            cpm: number;
                            currency: string;
                            ext?: Omit<(...), (...)> & { authentication?: ... };
                        }
                        | {
                            pricing_option_id: string;
                            applies_to_output_format_ids?: {
                                agent_url: ...;
                                id: ...;
                                width?: ...;
                                height?: ...;
                                duration_ms?: ...;
                                pixel_ratio?: ...;
                            }[];
                            applies_to_output_capability_ids?: string[];
                            model: "percent_of_media";
                            percent: number;
                            max_cpm?: number;
                            currency: string;
                            ext?: Omit<(...), (...)> & { authentication?: ... };
                        }
                        | {
                            pricing_option_id: string;
                            applies_to_output_format_ids?: {
                                agent_url: ...;
                                id: ...;
                                width?: ...;
                                height?: ...;
                                duration_ms?: ...;
                                pixel_ratio?: ...;
                            }[];
                            applies_to_output_capability_ids?: string[];
                            model: "flat_fee";
                            amount: number;
                            period: "monthly"
                            | "campaign"
                            | "quarterly"
                            | "annual";
                            currency: string;
                            ext?: Omit<(...), (...)> & { authentication?: ... };
                        }
                        | {
                            pricing_option_id: string;
                            applies_to_output_format_ids?: {
                                agent_url: ...;
                                id: ...;
                                width?: ...;
                                height?: ...;
                                duration_ms?: ...;
                                pixel_ratio?: ...;
                            }[];
                            applies_to_output_capability_ids?: string[];
                            model: "per_unit";
                            unit: string;
                            unit_price: number;
                            currency: string;
                            ext?: Omit<(...), (...)> & { authentication?: ... };
                        }
                        | {
                            pricing_option_id: string;
                            applies_to_output_format_ids?: {
                                agent_url: ...;
                                id: ...;
                                width?: ...;
                                height?: ...;
                                duration_ms?: ...;
                                pixel_ratio?: ...;
                            }[];
                            applies_to_output_capability_ids?: string[];
                            model: "custom";
                            description: string;
                            metadata: { summary_for_operator?: string };
                            currency?: string;
                            ext?: Omit<(...), (...)> & { authentication?: ... };
                        }
                    )[];
                    purge?: {
                        kind: "soft";
                        at: string;
                        reason_code: CreativeEventReasonCode;
                    };
                    webhook_activity?: {
                        idempotency_key: string;
                        notification_id?: string;
                        subscriber_id?: string;
                        fired_at: string;
                        completed_at?: string
                        | null;
                        notification_type: NotificationType;
                        sequence_number?: number;
                        attempt: number;
                        status:
                            | "failed"
                            | "pending"
                            | "success"
                            | "timeout"
                            | "connection_error";
                        url: string;
                        http_status_code?: number
                        | null;
                        response_time_ms?: number | null;
                        payload_size_bytes?: number;
                        error_message?: string | null;
                        ext?: Omit<Omit<(...), (...)>, "authentication"> & {
                            authentication?: unknown;
                        };
                    }[];
                }
                | {
                    creative_id: string;
                    account?: {
                        account_id: string;
                        name: string;
                        advertiser?: string;
                        billing_proxy?: string;
                        status: AccountStatus;
                        brand?: {
                            domain: string;
                            brand_id?: string;
                            countries?: string[];
                            industries?: string[];
                            data_subject_contestation?: {
                                url?: (...)
                                | (...);
                                email?: (...) | (...);
                                languages?: (...) | (...);
                            };
                            brand_kit_override?: {
                                logo?: (...)
                                | (...);
                                colors?: (...) | (...);
                                voice?: (...) | (...);
                                tagline?: (...) | (...);
                            };
                        };
                        operator?: string;
                        operator_unit?: { id: string; name?: string };
                        revision?: number;
                        identity_change?:
                            | {
                                status: "pending_approval";
                                requested_operator_identity: {
                                    operator: string;
                                    operator_unit?: { id: ...; name?: ... };
                                };
                                requested_at?: string;
                            }
                            | {
                                status: "rejected";
                                requested_operator_identity: {
                                    operator: string;
                                    operator_unit?: { id: ...; name?: ... };
                                };
                                requested_at?: string;
                                reason: string;
                            };
                        currency?: string;
                        timezone?: string;
                        billing?: BillingParty;
                        billing_entity?: Omit<
                            {
                                legal_name: string;
                                vat_id?: string;
                                tax_id?: string;
                                registration_number?: string;
                                address?: {
                                    street: ...;
                                    city: ...;
                                    postal_code: ...;
                                    region?: ...;
                                    country: ...;
                                };
                                contacts?: (...)[];
                                bank?: {
                                    account_holder: ...;
                                    iban?: ...;
                                    bic?: ...;
                                    routing_number?: ...;
                                    account_number?: ...;
                                };
                                ext?: (...) & (...);
                            },
                            "bank",
                        >;
                        destination_billing_entity?: Omit<Omit<{}, "bank">, "authentication"> & {
                            authentication?: unknown;
                        };
                        rate_card?: string;
                        payment_terms?: PaymentTerms;
                        credit_limit?: { amount: number; currency: string };
                        setup?: { url?: string; message: string; expires_at?: string };
                        account_scope?: AccountScope;
                        governance_agents?: { url: string }[];
                        reporting_bucket?: {
                            protocol: CloudStorageProtocol;
                            bucket: string;
                            prefix?: string;
                            region?: string;
                            format?: "jsonl" | "csv" | "parquet" | "avro" | "orc";
                            compression?: "none" | "gzip";
                            file_retention_days: number;
                            setup_instructions?: string;
                        };
                        sandbox?: boolean;
                        notification_configs?: | never[]
                        | (
                            Omit<
                                {
                                    subscriber_id: ...;
                                    url: ...;
                                    event_types: ...;
                                    product_payload_view?: ...;
                                    authentication?: ...;
                                    active?: ...;
                                    ext?: ...;
                                },
                                "authentication",
                            > & { authentication?: (...)
                            | (...) }
                        )[];
                        webhook_activity?: {
                            idempotency_key: string;
                            notification_id?: string;
                            subscriber_id?: string;
                            fired_at: string;
                            completed_at?: string | null;
                            notification_type: NotificationType;
                            sequence_number?: number;
                            attempt: number;
                            status:
                                | "failed"
                                | "pending"
                                | "success"
                                | "timeout"
                                | "connection_error";
                            url: string;
                            http_status_code?: number
                            | null;
                            response_time_ms?: number | null;
                            payload_size_bytes?: number;
                            error_message?: string | null;
                            ext?: (...) & (...);
                        }[];
                        ext?: Omit<Omit<{ [key: ...]: ... }, "bank">, "authentication"> & {
                            authentication?: unknown;
                        };
                    };
                    name: string;
                    format_kind: CanonicalFormatKind;
                    format_option_ref?: | {
                        scope: "publisher";
                        publisher_domain: string;
                        format_option_id: string;
                    }
                    | {
                        scope: "product";
                        format_option_id: string;
                        publisher_domain?: undefined;
                    };
                    status: CreativeStatus;
                    created_date: string;
                    updated_date: string;
                    assets?: Omit<
                        Omit<
                            {
                                [key: string]: | {
                                    asset_type: ...;
                                    url: ...;
                                    width: ...;
                                    height: ...;
                                    file_size_bytes?: ...;
                                    pixel_ratio?: ...;
                                    format?: ...;
                                    alt_text?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    url: ...;
                                    width: ...;
                                    height: ...;
                                    duration_ms?: ...;
                                    file_size_bytes?: ...;
                                    container_format?: ...;
                                    video_codec?: ...;
                                    video_bitrate_kbps?: ...;
                                    frame_rate?: ...;
                                    frame_rate_type?: ...;
                                    scan_type?: ...;
                                    color_space?: ...;
                                    hdr_format?: ...;
                                    chroma_subsampling?: ...;
                                    video_bit_depth?: ...;
                                    gop_interval_seconds?: ...;
                                    gop_type?: ...;
                                    moov_atom_position?: ...;
                                    has_audio?: ...;
                                    audio_codec?: ...;
                                    audio_sampling_rate_hz?: ...;
                                    audio_channels?: ...;
                                    audio_bit_depth?: ...;
                                    audio_bitrate_kbps?: ...;
                                    audio_loudness_lufs?: ...;
                                    audio_true_peak_dbfs?: ...;
                                    captions_url?: ...;
                                    transcript_url?: ...;
                                    audio_description_url?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    url: ...;
                                    duration_ms?: ...;
                                    file_size_bytes?: ...;
                                    container_format?: ...;
                                    codec?: ...;
                                    sampling_rate_hz?: ...;
                                    channels?: ...;
                                    bit_depth?: ...;
                                    bitrate_kbps?: ...;
                                    loudness_lufs?: ...;
                                    true_peak_dbfs?: ...;
                                    transcript_url?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    vast_version?: ...;
                                    vpaid_enabled?: ...;
                                    duration_ms?: ...;
                                    tracking_events?: ...;
                                    captions_url?: ...;
                                    audio_description_url?: ...;
                                    provenance?: ...;
                                    delivery_type: ...;
                                    url: ...;
                                }
                                | {
                                    asset_type: ...;
                                    vast_version?: ...;
                                    vpaid_enabled?: ...;
                                    duration_ms?: ...;
                                    tracking_events?: ...;
                                    captions_url?: ...;
                                    audio_description_url?: ...;
                                    provenance?: ...;
                                    delivery_type: ...;
                                    content: ...;
                                }
                                | { asset_type: ...; content: ...; language?: ...; provenance?: ... }
                                | {
                                    asset_type: ...;
                                    url: ...;
                                    url_type?: ...;
                                    description?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    content: ...;
                                    version?: ...;
                                    accessibility?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    content: ...;
                                    module_type?: ...;
                                    accessibility?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    url: ...;
                                    max_file_size_kb?: ...;
                                    entry_point?: ...;
                                    allowed_inner_extensions?: ...;
                                    backup_image_url?: ...;
                                    digest?: ...;
                                    accessibility?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    url: ...;
                                    method?: ...;
                                    timeout_ms?: ...;
                                    supported_macros?: ...;
                                    required_macros?: ...;
                                    response_type: ...;
                                    security: ...;
                                    provenance?: ...;
                                }
                                | { asset_type: ...; content: ...; media?: ...; provenance?: ... }
                                | {
                                    asset_type: ...;
                                    daast_version?: ...;
                                    duration_ms?: ...;
                                    tracking_events?: ...;
                                    companion_ads?: ...;
                                    transcript_url?: ...;
                                    provenance?: ...;
                                    delivery_type: ...;
                                    url: ...;
                                }
                                | {
                                    asset_type: ...;
                                    daast_version?: ...;
                                    duration_ms?: ...;
                                    tracking_events?: ...;
                                    companion_ads?: ...;
                                    transcript_url?: ...;
                                    provenance?: ...;
                                    delivery_type: ...;
                                    content: ...;
                                }
                                | {
                                    asset_type: ...;
                                    content: ...;
                                    language?: ...;
                                    markdown_flavor?: ...;
                                    allow_raw_html?: ...;
                                }
                                | {
                                    name: ...;
                                    objective?: ...;
                                    tone?: ...;
                                    audience?: ...;
                                    territory?: ...;
                                    messaging?: ...;
                                    reference_assets?: ...;
                                    compliance?: ...;
                                    asset_type: ...;
                                }
                                | {
                                    asset_type: ...;
                                    catalog_id?: ...;
                                    name?: ...;
                                    type: ...;
                                    url?: ...;
                                    feed_format?: ...;
                                    update_frequency?: ...;
                                    items?: ...;
                                    ids?: ...;
                                    gtins?: ...;
                                    tags?: ...;
                                    category?: ...;
                                    query?: ...;
                                    conversion_events?: ...;
                                    content_id_type?: ...;
                                    feed_field_mappings?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    post_url?: ...;
                                    platform?: ...;
                                    platform_post_id?: ...;
                                    identity_ref?: ...;
                                    published_at?: ...;
                                    reference_authorization?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    media: ...;
                                    headline?: ...;
                                    description?: ...;
                                    cta?: ...;
                                    landing_page_url?: ...;
                                    platform_extensions?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    event: ...;
                                    method?: ...;
                                    url: ...;
                                    custom_event_name?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    vast_event: ...;
                                    url: ...;
                                    offset?: ...;
                                    target?: ...;
                                    provenance?: ...;
                                }
                                | {
                                    asset_type: ...;
                                    daast_event: ...;
                                    url: ...;
                                    offset?: ...;
                                    target?: ...;
                                    provenance?: ...;
                                }
                                | (...)[];
                            },
                            "bank",
                        >,
                        "authentication",
                    > & { authentication?: unknown };
                    localization?: {
                        default_locale_variant_id: string;
                        unmatched_locale_action: "serve_default" | "do_not_serve";
                        locale_matching: "rfc4647_lookup";
                        locale_fallbacks?: (
                            | { language_range: string; locale_variant_id: string }
                            | { language_range: string; locale_variant_id: string }
                        )[];
                        variants: (
                            | {
                                locale_variant_id: string;
                                locale: string;
                                role: "source";
                                assets: Omit<(...), (...)> & { authentication?: ... };
                            }
                            | {
                                locale_variant_id: string;
                                locale: string;
                                role: "target";
                                assets: Omit<(...), (...)> & { authentication?: ... };
                            }
                        )[];
                    };
                    localization_unavailable?: {
                        errors: {
                            code: string;
                            message: string;
                            field?: string;
                            suggestion?: string;
                            retry_after?: number;
                            issues?: {
                                pointer: ...;
                                message: ...;
                                keyword: ...;
                                schemaPath?: ...;
                                schema_id?: ...;
                                discriminator?: ...;
                            }[];
                            details?: Omit<(...), (...)> & { authentication?: ... };
                            recovery?: "transient" | "correctable" | "terminal";
                            source?: "producer" | "sdk";
                            sdk_id?: string;
                        }[];
                        retryable: boolean;
                    };
                    tags?: string[];
                    rights?: {
                        rights_id: string;
                        rights_agent: { url: string; id: string };
                        rights_holder?: {
                            domain: string;
                            brand_id?: string;
                            countries?: (...)[];
                            industries?: (...)[];
                            data_subject_contestation?: { url?: ...; email?: ...; languages?: ... };
                            brand_kit_override?: {
                                logo?: ...;
                                colors?: ...;
                                voice?: ...;
                                tagline?: ...;
                            };
                        };
                        valid_from?: string;
                        valid_until?: string;
                        uses: RightUse[];
                        countries?: string[];
                        excluded_countries?: string[];
                        impression_cap?: number;
                        right_type?: RightType;
                        approval_status?: "rejected"
                        | "approved"
                        | "pending";
                        grant_status?: "active" | "paused" | "revoked";
                        restrictions?: string[];
                        disclosure?: Omit<Omit<(...), (...)>, "authentication"> & {
                            authentication?: unknown;
                        };
                        creative_approval_required?: boolean;
                        verification_url?: string;
                        content_digest?: string;
                        attestation_refs?: | {
                            issuer: { type: ...; brand: ...; ext?: ... };
                            claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                            subject: {
                                type: ...;
                                resource_type: ...;
                                namespace: ...;
                                id: ...;
                                content_digest?: ...;
                                ext?: ...;
                            };
                            locator?: (...)
                            | (...)
                            | (...);
                            embedded_credential?: (...) | (...);
                            content_digest?: (...) | (...);
                            credential_version?: (...) | (...);
                            validity_hint?: (...) | (...);
                            verify_agent?: (...) | (...);
                            ext?: (...) | (...);
                        }[]
                        | {
                            issuer: { type: ...; brand: ...; ext?: ... };
                            claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                            subject: {
                                type: ...;
                                resource_type: ...;
                                namespace: ...;
                                id: ...;
                                content_digest?: ...;
                                ext?: ...;
                            };
                            locator?: (...)
                            | (...)
                            | (...);
                            embedded_credential?: (...) | (...);
                            content_digest?: (...) | (...);
                            credential_version?: (...) | (...);
                            validity_hint?: (...) | (...);
                            verify_agent?: (...) | (...);
                            ext?: (...) | (...);
                        }[]
                        | {
                            issuer: { type: ...; brand: ...; ext?: ... };
                            claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                            subject: {
                                type: ...;
                                resource_type: ...;
                                namespace: ...;
                                id: ...;
                                content_digest?: ...;
                                ext?: ...;
                            };
                            locator?: (...)
                            | (...)
                            | (...);
                            embedded_credential?: (...) | (...);
                            content_digest?: (...) | (...);
                            credential_version?: (...) | (...);
                            validity_hint?: (...) | (...);
                            verify_agent?: (...) | (...);
                            ext?: (...) | (...);
                        }[]
                        | {
                            issuer: { type: ...; brand: ...; ext?: ... };
                            claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                            subject: {
                                type: ...;
                                resource_type: ...;
                                namespace: ...;
                                id: ...;
                                content_digest?: ...;
                                ext?: ...;
                            };
                            locator?: (...)
                            | (...)
                            | (...);
                            embedded_credential?: (...) | (...);
                            content_digest?: (...) | (...);
                            credential_version?: (...) | (...);
                            validity_hint?: (...) | (...);
                            verify_agent?: (...) | (...);
                            ext?: (...) | (...);
                        }[];
                        ext?: Omit<Omit<(...), (...)>, "authentication"> & {
                            authentication?: unknown;
                        };
                    }[];
                    rights_attestation_evaluations?: {
                        rights_id: string;
                        content_digest: string;
                        reference: {
                            issuer: {
                                type: "brand";
                                brand: {
                                    domain: string;
                                    brand_id?: (...)
                                    | (...);
                                    countries?: (...) | (...);
                                    industries?: (...) | (...);
                                    data_subject_contestation?: (...) | (...);
                                    brand_kit_override?: (...) | (...);
                                };
                                ext?: (...) & (...);
                            };
                            claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                            subject: {
                                type: "resource";
                                resource_type: "https://adcontextprotocol.org/claims/subjects/rights-grant";
                                namespace: string;
                                id: string;
                                content_digest?: string;
                                ext?: (...) & (...);
                            };
                            locator?: | {
                                type: "credential_uri";
                                credential_uri: string;
                                ext?: (...)
                                | (...);
                            }
                            | {
                                type: "issuer_credential_id";
                                credential_id: string;
                                resolver_id: string;
                                ext?: (...)
                                | (...);
                            };
                            embedded_credential?: {
                                format: string;
                                value: (...)
                                | (...);
                                ext?: (...) | (...);
                            };
                            content_digest?: string;
                            credential_version?: string;
                            validity_hint?: {
                                not_before?: (...)
                                | (...);
                                expires_at?: (...) | (...);
                            };
                            verify_agent?: { agent_url: string };
                            ext?: Omit<(...), (...)> & { authentication?: ... };
                        };
                        evaluation: {
                            reference_digest: string;
                            credential_digest?: string;
                            proof_format?: string;
                            outcome: | "verified"
                            | "expired"
                            | "revoked"
                            | "not_found"
                            | "invalid"
                            | "unsupported"
                            | "unverifiable"
                            | "untrusted_issuer"
                            | "untrusted_resolver"
                            | "subject_mismatch"
                            | "digest_mismatch"
                            | "resolution_failed";
                            evaluated_at: string;
                            evaluated_by: string;
                            verifier_agent_url?: string;
                            reason_codes?: string[];
                            confidence?: number;
                            revocation_checked_at?: string;
                            valid_until?: string;
                            action_binding: {
                                action_type: "https://adcontextprotocol.org/actions/rights-grant-evaluation";
                            };
                            ext?: Omit<(...), (...)> & { authentication?: ... };
                        };
                        ext?: Omit<Omit<(...), (...)>, "authentication"> & {
                            authentication?: unknown;
                        };
                    }[];
                    concept_id?: string;
                    concept_name?: string;
                    variables?: {
                        variable_id: string;
                        name: string;
                        variable_type: | "number"
                        | "boolean"
                        | "image"
                        | "video"
                        | "audio"
                        | "text"
                        | "url"
                        | "date"
                        | "color";
                        default_value?: string;
                        required?: boolean;
                    }[];
                    assignments?: {
                        assignment_count: number;
                        returned_assignment_count?: number;
                        matching_assignment_count?: number;
                        assignments_truncated?: boolean;
                        assigned_packages?: {
                            indicator_types_evaluated?: (...)[];
                            indicators?: (...)[];
                        }[];
                    };
                    snapshot?: {
                        as_of: string;
                        staleness_seconds: number;
                        impressions: number;
                        last_served?: string;
                    };
                    snapshot_unavailable_reason?: SnapshotUnavailableReason;
                    items?: (
                        | {
                            asset_kind: "media";
                            asset_type: string;
                            asset_id: string;
                            content_uri: string;
                        }
                        | {
                            asset_kind: "text";
                            asset_type: string;
                            asset_id: string;
                            content: string
                            | string[];
                        }
                    )[];
                    pricing_options?: (
                        | {
                            pricing_option_id: string;
                            applies_to_output_format_ids?: {
                                agent_url: ...;
                                id: ...;
                                width?: ...;
                                height?: ...;
                                duration_ms?: ...;
                                pixel_ratio?: ...;
                            }[];
                            applies_to_output_capability_ids?: string[];
                            model: "cpm";
                            cpm: number;
                            currency: string;
                            ext?: Omit<(...), (...)> & { authentication?: ... };
                        }
                        | {
                            pricing_option_id: string;
                            applies_to_output_format_ids?: {
                                agent_url: ...;
                                id: ...;
                                width?: ...;
                                height?: ...;
                                duration_ms?: ...;
                                pixel_ratio?: ...;
                            }[];
                            applies_to_output_capability_ids?: string[];
                            model: "percent_of_media";
                            percent: number;
                            max_cpm?: number;
                            currency: string;
                            ext?: Omit<(...), (...)> & { authentication?: ... };
                        }
                        | {
                            pricing_option_id: string;
                            applies_to_output_format_ids?: {
                                agent_url: ...;
                                id: ...;
                                width?: ...;
                                height?: ...;
                                duration_ms?: ...;
                                pixel_ratio?: ...;
                            }[];
                            applies_to_output_capability_ids?: string[];
                            model: "flat_fee";
                            amount: number;
                            period: "monthly"
                            | "campaign"
                            | "quarterly"
                            | "annual";
                            currency: string;
                            ext?: Omit<(...), (...)> & { authentication?: ... };
                        }
                        | {
                            pricing_option_id: string;
                            applies_to_output_format_ids?: {
                                agent_url: ...;
                                id: ...;
                                width?: ...;
                                height?: ...;
                                duration_ms?: ...;
                                pixel_ratio?: ...;
                            }[];
                            applies_to_output_capability_ids?: string[];
                            model: "per_unit";
                            unit: string;
                            unit_price: number;
                            currency: string;
                            ext?: Omit<(...), (...)> & { authentication?: ... };
                        }
                        | {
                            pricing_option_id: string;
                            applies_to_output_format_ids?: {
                                agent_url: ...;
                                id: ...;
                                width?: ...;
                                height?: ...;
                                duration_ms?: ...;
                                pixel_ratio?: ...;
                            }[];
                            applies_to_output_capability_ids?: string[];
                            model: "custom";
                            description: string;
                            metadata: { summary_for_operator?: string };
                            currency?: string;
                            ext?: Omit<(...), (...)> & { authentication?: ... };
                        }
                    )[];
                    purge?: {
                        kind: "soft";
                        at: string;
                        reason_code: CreativeEventReasonCode;
                    };
                    webhook_activity?: {
                        idempotency_key: string;
                        notification_id?: string;
                        subscriber_id?: string;
                        fired_at: string;
                        completed_at?: string
                        | null;
                        notification_type: NotificationType;
                        sequence_number?: number;
                        attempt: number;
                        status:
                            | "failed"
                            | "pending"
                            | "success"
                            | "timeout"
                            | "connection_error";
                        url: string;
                        http_status_code?: number
                        | null;
                        response_time_ms?: number | null;
                        payload_size_bytes?: number;
                        error_message?: string | null;
                        ext?: Omit<Omit<(...), (...)>, "authentication"> & {
                            authentication?: unknown;
                        };
                    }[];
                }
            )[];
            format_summary?: Omit<
                Omit<{ [key: string]: number | undefined }, "bank">,
                "authentication",
            > & { authentication?: unknown };
            status_summary?: {
                processing?: number;
                approved?: number;
                pending_review?: number;
                rejected?: number;
                archived?: number;
            };
            errors?: {
                code: string;
                message: string;
                field?: string;
                suggestion?: string;
                retry_after?: number;
                issues?: {
                    pointer: string;
                    message: string;
                    keyword: string;
                    schemaPath?: string;
                    schema_id?: string;
                    discriminator?: {
                        property_name: string;
                        value: (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    }[];
                }[];
                details?: Omit<Omit<{}, "bank">, "authentication"> & {
                    authentication?: unknown;
                };
                recovery?: "transient"
                | "correctable"
                | "terminal";
                source?: "producer" | "sdk";
                sdk_id?: string;
            }[];
            sandbox?: boolean;
            ext?: Omit<Omit<{ [key: string]: unknown }, "bank">, "authentication"> & {
                authentication?: unknown;
            };
        }
        • Optionalcontext?: Omit<Omit<{}, "bank">, "authentication"> & { authentication?: unknown }
        • Optionalgovernance_context?: string

          Opaque authorization context issued only by an approved check_governance decision. Buyers attach it to governed requests across protocol roles (media buys, rights acquisitions, signal activations, creative services); receiving services persist it and forward it on subsequent execution and lifecycle checks. The context is the authoritative plan binding at service boundaries, so a service MUST NOT require a separate plan_id.

          Governance agents MUST emit a compact JWS per the AdCP JWS profile. Verifiers validate standard authorization claims such as signature, issuer, audience, expiry, and replay protection, but intermediaries MUST NOT interpret embedded governance state for business logic. A conditions or denied verdict never carries an authorization context.

          This is the primary correlation key for audit and reporting across the governance lifecycle.

        • query_summary: {
              total_matching: number;
              returned: number;
              filters_applied?: string[];
              sort_applied?: { field?: string; direction?: SortDirection };
          }

          Summary of the query that was executed

          • total_matching: number

            Total number of creatives matching filters (across all pages)

            0

          • returned: number

            Number of creatives returned in this response

            0

          • Optionalfilters_applied?: string[]

            List of filters that were applied to the query

          • Optionalsort_applied?: { field?: string; direction?: SortDirection }

            Sort order that was applied

        • pagination: { has_more: boolean; cursor?: string; total_count?: number }
          • has_more: boolean

            Whether more results are available beyond this page

          • Optionalcursor?: string

            Opaque cursor to pass in the next request to fetch the next page. Only present when has_more is true.

          • Optionaltotal_count?: number

            Total number of items matching the query across all pages. Optional because not all backends can efficiently compute this.

        • creatives: (
              | {
                  creative_id: string;
                  account?: {
                      account_id: string;
                      name: string;
                      advertiser?: string;
                      billing_proxy?: string;
                      status: AccountStatus;
                      brand?: {
                          domain: string;
                          brand_id?: string;
                          countries?: string[];
                          industries?: string[];
                          data_subject_contestation?: {
                              url?: (...)
                              | (...);
                              email?: (...) | (...);
                              languages?: (...) | (...);
                          };
                          brand_kit_override?: {
                              logo?: (...)
                              | (...);
                              colors?: (...) | (...);
                              voice?: (...) | (...);
                              tagline?: (...) | (...);
                          };
                      };
                      operator?: string;
                      operator_unit?: { id: string; name?: string };
                      revision?: number;
                      identity_change?:
                          | {
                              status: "pending_approval";
                              requested_operator_identity: {
                                  operator: string;
                                  operator_unit?: { id: ...; name?: ... };
                              };
                              requested_at?: string;
                          }
                          | {
                              status: "rejected";
                              requested_operator_identity: {
                                  operator: string;
                                  operator_unit?: { id: ...; name?: ... };
                              };
                              requested_at?: string;
                              reason: string;
                          };
                      currency?: string;
                      timezone?: string;
                      billing?: BillingParty;
                      billing_entity?: Omit<
                          {
                              legal_name: string;
                              vat_id?: string;
                              tax_id?: string;
                              registration_number?: string;
                              address?: {
                                  street: ...;
                                  city: ...;
                                  postal_code: ...;
                                  region?: ...;
                                  country: ...;
                              };
                              contacts?: (...)[];
                              bank?: {
                                  account_holder: ...;
                                  iban?: ...;
                                  bic?: ...;
                                  routing_number?: ...;
                                  account_number?: ...;
                              };
                              ext?: (...) & (...);
                          },
                          "bank",
                      >;
                      destination_billing_entity?: Omit<Omit<{}, "bank">, "authentication"> & {
                          authentication?: unknown;
                      };
                      rate_card?: string;
                      payment_terms?: PaymentTerms;
                      credit_limit?: { amount: number; currency: string };
                      setup?: { url?: string; message: string; expires_at?: string };
                      account_scope?: AccountScope;
                      governance_agents?: { url: string }[];
                      reporting_bucket?: {
                          protocol: CloudStorageProtocol;
                          bucket: string;
                          prefix?: string;
                          region?: string;
                          format?: "jsonl" | "csv" | "parquet" | "avro" | "orc";
                          compression?: "none" | "gzip";
                          file_retention_days: number;
                          setup_instructions?: string;
                      };
                      sandbox?: boolean;
                      notification_configs?: | never[]
                      | (
                          Omit<
                              {
                                  subscriber_id: ...;
                                  url: ...;
                                  event_types: ...;
                                  product_payload_view?: ...;
                                  authentication?: ...;
                                  active?: ...;
                                  ext?: ...;
                              },
                              "authentication",
                          > & { authentication?: (...)
                          | (...) }
                      )[];
                      webhook_activity?: {
                          idempotency_key: string;
                          notification_id?: string;
                          subscriber_id?: string;
                          fired_at: string;
                          completed_at?: string | null;
                          notification_type: NotificationType;
                          sequence_number?: number;
                          attempt: number;
                          status:
                              | "failed"
                              | "pending"
                              | "success"
                              | "timeout"
                              | "connection_error";
                          url: string;
                          http_status_code?: number
                          | null;
                          response_time_ms?: number | null;
                          payload_size_bytes?: number;
                          error_message?: string | null;
                          ext?: (...) & (...);
                      }[];
                      ext?: Omit<Omit<{ [key: ...]: ... }, "bank">, "authentication"> & {
                          authentication?: unknown;
                      };
                  };
                  name: string;
                  format_id: {
                      agent_url: string;
                      id: string;
                      width?: number;
                      height?: number;
                      duration_ms?: number;
                      pixel_ratio?: number;
                  };
                  format_option_ref?: | {
                      scope: "publisher";
                      publisher_domain: string;
                      format_option_id: string;
                  }
                  | {
                      scope: "product";
                      format_option_id: string;
                      publisher_domain?: undefined;
                  };
                  status: CreativeStatus;
                  created_date: string;
                  updated_date: string;
                  assets?: Omit<
                      Omit<
                          {
                              [key: string]: | {
                                  asset_type: ...;
                                  url: ...;
                                  width: ...;
                                  height: ...;
                                  file_size_bytes?: ...;
                                  pixel_ratio?: ...;
                                  format?: ...;
                                  alt_text?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  url: ...;
                                  width: ...;
                                  height: ...;
                                  duration_ms?: ...;
                                  file_size_bytes?: ...;
                                  container_format?: ...;
                                  video_codec?: ...;
                                  video_bitrate_kbps?: ...;
                                  frame_rate?: ...;
                                  frame_rate_type?: ...;
                                  scan_type?: ...;
                                  color_space?: ...;
                                  hdr_format?: ...;
                                  chroma_subsampling?: ...;
                                  video_bit_depth?: ...;
                                  gop_interval_seconds?: ...;
                                  gop_type?: ...;
                                  moov_atom_position?: ...;
                                  has_audio?: ...;
                                  audio_codec?: ...;
                                  audio_sampling_rate_hz?: ...;
                                  audio_channels?: ...;
                                  audio_bit_depth?: ...;
                                  audio_bitrate_kbps?: ...;
                                  audio_loudness_lufs?: ...;
                                  audio_true_peak_dbfs?: ...;
                                  captions_url?: ...;
                                  transcript_url?: ...;
                                  audio_description_url?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  url: ...;
                                  duration_ms?: ...;
                                  file_size_bytes?: ...;
                                  container_format?: ...;
                                  codec?: ...;
                                  sampling_rate_hz?: ...;
                                  channels?: ...;
                                  bit_depth?: ...;
                                  bitrate_kbps?: ...;
                                  loudness_lufs?: ...;
                                  true_peak_dbfs?: ...;
                                  transcript_url?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  vast_version?: ...;
                                  vpaid_enabled?: ...;
                                  duration_ms?: ...;
                                  tracking_events?: ...;
                                  captions_url?: ...;
                                  audio_description_url?: ...;
                                  provenance?: ...;
                                  delivery_type: ...;
                                  url: ...;
                              }
                              | {
                                  asset_type: ...;
                                  vast_version?: ...;
                                  vpaid_enabled?: ...;
                                  duration_ms?: ...;
                                  tracking_events?: ...;
                                  captions_url?: ...;
                                  audio_description_url?: ...;
                                  provenance?: ...;
                                  delivery_type: ...;
                                  content: ...;
                              }
                              | { asset_type: ...; content: ...; language?: ...; provenance?: ... }
                              | {
                                  asset_type: ...;
                                  url: ...;
                                  url_type?: ...;
                                  description?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  content: ...;
                                  version?: ...;
                                  accessibility?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  content: ...;
                                  module_type?: ...;
                                  accessibility?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  url: ...;
                                  max_file_size_kb?: ...;
                                  entry_point?: ...;
                                  allowed_inner_extensions?: ...;
                                  backup_image_url?: ...;
                                  digest?: ...;
                                  accessibility?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  url: ...;
                                  method?: ...;
                                  timeout_ms?: ...;
                                  supported_macros?: ...;
                                  required_macros?: ...;
                                  response_type: ...;
                                  security: ...;
                                  provenance?: ...;
                              }
                              | { asset_type: ...; content: ...; media?: ...; provenance?: ... }
                              | {
                                  asset_type: ...;
                                  daast_version?: ...;
                                  duration_ms?: ...;
                                  tracking_events?: ...;
                                  companion_ads?: ...;
                                  transcript_url?: ...;
                                  provenance?: ...;
                                  delivery_type: ...;
                                  url: ...;
                              }
                              | {
                                  asset_type: ...;
                                  daast_version?: ...;
                                  duration_ms?: ...;
                                  tracking_events?: ...;
                                  companion_ads?: ...;
                                  transcript_url?: ...;
                                  provenance?: ...;
                                  delivery_type: ...;
                                  content: ...;
                              }
                              | {
                                  asset_type: ...;
                                  content: ...;
                                  language?: ...;
                                  markdown_flavor?: ...;
                                  allow_raw_html?: ...;
                              }
                              | {
                                  name: ...;
                                  objective?: ...;
                                  tone?: ...;
                                  audience?: ...;
                                  territory?: ...;
                                  messaging?: ...;
                                  reference_assets?: ...;
                                  compliance?: ...;
                                  asset_type: ...;
                              }
                              | {
                                  asset_type: ...;
                                  catalog_id?: ...;
                                  name?: ...;
                                  type: ...;
                                  url?: ...;
                                  feed_format?: ...;
                                  update_frequency?: ...;
                                  items?: ...;
                                  ids?: ...;
                                  gtins?: ...;
                                  tags?: ...;
                                  category?: ...;
                                  query?: ...;
                                  conversion_events?: ...;
                                  content_id_type?: ...;
                                  feed_field_mappings?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  post_url?: ...;
                                  platform?: ...;
                                  platform_post_id?: ...;
                                  identity_ref?: ...;
                                  published_at?: ...;
                                  reference_authorization?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  media: ...;
                                  headline?: ...;
                                  description?: ...;
                                  cta?: ...;
                                  landing_page_url?: ...;
                                  platform_extensions?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  event: ...;
                                  method?: ...;
                                  url: ...;
                                  custom_event_name?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  vast_event: ...;
                                  url: ...;
                                  offset?: ...;
                                  target?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  daast_event: ...;
                                  url: ...;
                                  offset?: ...;
                                  target?: ...;
                                  provenance?: ...;
                              }
                              | (...)[];
                          },
                          "bank",
                      >,
                      "authentication",
                  > & { authentication?: unknown };
                  localization?: {
                      default_locale_variant_id: string;
                      unmatched_locale_action: "serve_default" | "do_not_serve";
                      locale_matching: "rfc4647_lookup";
                      locale_fallbacks?: (
                          | { language_range: string; locale_variant_id: string }
                          | { language_range: string; locale_variant_id: string }
                      )[];
                      variants: (
                          | {
                              locale_variant_id: string;
                              locale: string;
                              role: "source";
                              assets: Omit<(...), (...)> & { authentication?: ... };
                          }
                          | {
                              locale_variant_id: string;
                              locale: string;
                              role: "target";
                              assets: Omit<(...), (...)> & { authentication?: ... };
                          }
                      )[];
                  };
                  localization_unavailable?: {
                      errors: {
                          code: string;
                          message: string;
                          field?: string;
                          suggestion?: string;
                          retry_after?: number;
                          issues?: {
                              pointer: ...;
                              message: ...;
                              keyword: ...;
                              schemaPath?: ...;
                              schema_id?: ...;
                              discriminator?: ...;
                          }[];
                          details?: Omit<(...), (...)> & { authentication?: ... };
                          recovery?: "transient" | "correctable" | "terminal";
                          source?: "producer" | "sdk";
                          sdk_id?: string;
                      }[];
                      retryable: boolean;
                  };
                  tags?: string[];
                  rights?: {
                      rights_id: string;
                      rights_agent: { url: string; id: string };
                      rights_holder?: {
                          domain: string;
                          brand_id?: string;
                          countries?: (...)[];
                          industries?: (...)[];
                          data_subject_contestation?: { url?: ...; email?: ...; languages?: ... };
                          brand_kit_override?: {
                              logo?: ...;
                              colors?: ...;
                              voice?: ...;
                              tagline?: ...;
                          };
                      };
                      valid_from?: string;
                      valid_until?: string;
                      uses: RightUse[];
                      countries?: string[];
                      excluded_countries?: string[];
                      impression_cap?: number;
                      right_type?: RightType;
                      approval_status?: "rejected"
                      | "approved"
                      | "pending";
                      grant_status?: "active" | "paused" | "revoked";
                      restrictions?: string[];
                      disclosure?: Omit<Omit<(...), (...)>, "authentication"> & {
                          authentication?: unknown;
                      };
                      creative_approval_required?: boolean;
                      verification_url?: string;
                      content_digest?: string;
                      attestation_refs?: | {
                          issuer: { type: ...; brand: ...; ext?: ... };
                          claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                          subject: {
                              type: ...;
                              resource_type: ...;
                              namespace: ...;
                              id: ...;
                              content_digest?: ...;
                              ext?: ...;
                          };
                          locator?: (...)
                          | (...)
                          | (...);
                          embedded_credential?: (...) | (...);
                          content_digest?: (...) | (...);
                          credential_version?: (...) | (...);
                          validity_hint?: (...) | (...);
                          verify_agent?: (...) | (...);
                          ext?: (...) | (...);
                      }[]
                      | {
                          issuer: { type: ...; brand: ...; ext?: ... };
                          claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                          subject: {
                              type: ...;
                              resource_type: ...;
                              namespace: ...;
                              id: ...;
                              content_digest?: ...;
                              ext?: ...;
                          };
                          locator?: (...)
                          | (...)
                          | (...);
                          embedded_credential?: (...) | (...);
                          content_digest?: (...) | (...);
                          credential_version?: (...) | (...);
                          validity_hint?: (...) | (...);
                          verify_agent?: (...) | (...);
                          ext?: (...) | (...);
                      }[]
                      | {
                          issuer: { type: ...; brand: ...; ext?: ... };
                          claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                          subject: {
                              type: ...;
                              resource_type: ...;
                              namespace: ...;
                              id: ...;
                              content_digest?: ...;
                              ext?: ...;
                          };
                          locator?: (...)
                          | (...)
                          | (...);
                          embedded_credential?: (...) | (...);
                          content_digest?: (...) | (...);
                          credential_version?: (...) | (...);
                          validity_hint?: (...) | (...);
                          verify_agent?: (...) | (...);
                          ext?: (...) | (...);
                      }[]
                      | {
                          issuer: { type: ...; brand: ...; ext?: ... };
                          claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                          subject: {
                              type: ...;
                              resource_type: ...;
                              namespace: ...;
                              id: ...;
                              content_digest?: ...;
                              ext?: ...;
                          };
                          locator?: (...)
                          | (...)
                          | (...);
                          embedded_credential?: (...) | (...);
                          content_digest?: (...) | (...);
                          credential_version?: (...) | (...);
                          validity_hint?: (...) | (...);
                          verify_agent?: (...) | (...);
                          ext?: (...) | (...);
                      }[];
                      ext?: Omit<Omit<(...), (...)>, "authentication"> & {
                          authentication?: unknown;
                      };
                  }[];
                  rights_attestation_evaluations?: {
                      rights_id: string;
                      content_digest: string;
                      reference: {
                          issuer: {
                              type: "brand";
                              brand: {
                                  domain: string;
                                  brand_id?: (...)
                                  | (...);
                                  countries?: (...) | (...);
                                  industries?: (...) | (...);
                                  data_subject_contestation?: (...) | (...);
                                  brand_kit_override?: (...) | (...);
                              };
                              ext?: (...) & (...);
                          };
                          claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                          subject: {
                              type: "resource";
                              resource_type: "https://adcontextprotocol.org/claims/subjects/rights-grant";
                              namespace: string;
                              id: string;
                              content_digest?: string;
                              ext?: (...) & (...);
                          };
                          locator?: | {
                              type: "credential_uri";
                              credential_uri: string;
                              ext?: (...)
                              | (...);
                          }
                          | {
                              type: "issuer_credential_id";
                              credential_id: string;
                              resolver_id: string;
                              ext?: (...)
                              | (...);
                          };
                          embedded_credential?: {
                              format: string;
                              value: (...)
                              | (...);
                              ext?: (...) | (...);
                          };
                          content_digest?: string;
                          credential_version?: string;
                          validity_hint?: {
                              not_before?: (...)
                              | (...);
                              expires_at?: (...) | (...);
                          };
                          verify_agent?: { agent_url: string };
                          ext?: Omit<(...), (...)> & { authentication?: ... };
                      };
                      evaluation: {
                          reference_digest: string;
                          credential_digest?: string;
                          proof_format?: string;
                          outcome: | "verified"
                          | "expired"
                          | "revoked"
                          | "not_found"
                          | "invalid"
                          | "unsupported"
                          | "unverifiable"
                          | "untrusted_issuer"
                          | "untrusted_resolver"
                          | "subject_mismatch"
                          | "digest_mismatch"
                          | "resolution_failed";
                          evaluated_at: string;
                          evaluated_by: string;
                          verifier_agent_url?: string;
                          reason_codes?: string[];
                          confidence?: number;
                          revocation_checked_at?: string;
                          valid_until?: string;
                          action_binding: {
                              action_type: "https://adcontextprotocol.org/actions/rights-grant-evaluation";
                          };
                          ext?: Omit<(...), (...)> & { authentication?: ... };
                      };
                      ext?: Omit<Omit<(...), (...)>, "authentication"> & {
                          authentication?: unknown;
                      };
                  }[];
                  concept_id?: string;
                  concept_name?: string;
                  variables?: {
                      variable_id: string;
                      name: string;
                      variable_type: | "number"
                      | "boolean"
                      | "image"
                      | "video"
                      | "audio"
                      | "text"
                      | "url"
                      | "date"
                      | "color";
                      default_value?: string;
                      required?: boolean;
                  }[];
                  assignments?: {
                      assignment_count: number;
                      returned_assignment_count?: number;
                      matching_assignment_count?: number;
                      assignments_truncated?: boolean;
                      assigned_packages?: {
                          indicator_types_evaluated?: (...)[];
                          indicators?: (...)[];
                      }[];
                  };
                  snapshot?: {
                      as_of: string;
                      staleness_seconds: number;
                      impressions: number;
                      last_served?: string;
                  };
                  snapshot_unavailable_reason?: SnapshotUnavailableReason;
                  items?: (
                      | {
                          asset_kind: "media";
                          asset_type: string;
                          asset_id: string;
                          content_uri: string;
                      }
                      | {
                          asset_kind: "text";
                          asset_type: string;
                          asset_id: string;
                          content: string
                          | string[];
                      }
                  )[];
                  pricing_options?: (
                      | {
                          pricing_option_id: string;
                          applies_to_output_format_ids?: {
                              agent_url: ...;
                              id: ...;
                              width?: ...;
                              height?: ...;
                              duration_ms?: ...;
                              pixel_ratio?: ...;
                          }[];
                          applies_to_output_capability_ids?: string[];
                          model: "cpm";
                          cpm: number;
                          currency: string;
                          ext?: Omit<(...), (...)> & { authentication?: ... };
                      }
                      | {
                          pricing_option_id: string;
                          applies_to_output_format_ids?: {
                              agent_url: ...;
                              id: ...;
                              width?: ...;
                              height?: ...;
                              duration_ms?: ...;
                              pixel_ratio?: ...;
                          }[];
                          applies_to_output_capability_ids?: string[];
                          model: "percent_of_media";
                          percent: number;
                          max_cpm?: number;
                          currency: string;
                          ext?: Omit<(...), (...)> & { authentication?: ... };
                      }
                      | {
                          pricing_option_id: string;
                          applies_to_output_format_ids?: {
                              agent_url: ...;
                              id: ...;
                              width?: ...;
                              height?: ...;
                              duration_ms?: ...;
                              pixel_ratio?: ...;
                          }[];
                          applies_to_output_capability_ids?: string[];
                          model: "flat_fee";
                          amount: number;
                          period: "monthly"
                          | "campaign"
                          | "quarterly"
                          | "annual";
                          currency: string;
                          ext?: Omit<(...), (...)> & { authentication?: ... };
                      }
                      | {
                          pricing_option_id: string;
                          applies_to_output_format_ids?: {
                              agent_url: ...;
                              id: ...;
                              width?: ...;
                              height?: ...;
                              duration_ms?: ...;
                              pixel_ratio?: ...;
                          }[];
                          applies_to_output_capability_ids?: string[];
                          model: "per_unit";
                          unit: string;
                          unit_price: number;
                          currency: string;
                          ext?: Omit<(...), (...)> & { authentication?: ... };
                      }
                      | {
                          pricing_option_id: string;
                          applies_to_output_format_ids?: {
                              agent_url: ...;
                              id: ...;
                              width?: ...;
                              height?: ...;
                              duration_ms?: ...;
                              pixel_ratio?: ...;
                          }[];
                          applies_to_output_capability_ids?: string[];
                          model: "custom";
                          description: string;
                          metadata: { summary_for_operator?: string };
                          currency?: string;
                          ext?: Omit<(...), (...)> & { authentication?: ... };
                      }
                  )[];
                  purge?: { kind: "soft"; at: string; reason_code: CreativeEventReasonCode };
                  webhook_activity?: {
                      idempotency_key: string;
                      notification_id?: string;
                      subscriber_id?: string;
                      fired_at: string;
                      completed_at?: string | null;
                      notification_type: NotificationType;
                      sequence_number?: number;
                      attempt: number;
                      status: "failed" | "pending" | "success" | "timeout" | "connection_error";
                      url: string;
                      http_status_code?: number | null;
                      response_time_ms?: number | null;
                      payload_size_bytes?: number;
                      error_message?: string | null;
                      ext?: Omit<Omit<(...), (...)>, "authentication"> & {
                          authentication?: unknown;
                      };
                  }[];
              }
              | {
                  creative_id: string;
                  account?: {
                      account_id: string;
                      name: string;
                      advertiser?: string;
                      billing_proxy?: string;
                      status: AccountStatus;
                      brand?: {
                          domain: string;
                          brand_id?: string;
                          countries?: string[];
                          industries?: string[];
                          data_subject_contestation?: {
                              url?: (...)
                              | (...);
                              email?: (...) | (...);
                              languages?: (...) | (...);
                          };
                          brand_kit_override?: {
                              logo?: (...)
                              | (...);
                              colors?: (...) | (...);
                              voice?: (...) | (...);
                              tagline?: (...) | (...);
                          };
                      };
                      operator?: string;
                      operator_unit?: { id: string; name?: string };
                      revision?: number;
                      identity_change?:
                          | {
                              status: "pending_approval";
                              requested_operator_identity: {
                                  operator: string;
                                  operator_unit?: { id: ...; name?: ... };
                              };
                              requested_at?: string;
                          }
                          | {
                              status: "rejected";
                              requested_operator_identity: {
                                  operator: string;
                                  operator_unit?: { id: ...; name?: ... };
                              };
                              requested_at?: string;
                              reason: string;
                          };
                      currency?: string;
                      timezone?: string;
                      billing?: BillingParty;
                      billing_entity?: Omit<
                          {
                              legal_name: string;
                              vat_id?: string;
                              tax_id?: string;
                              registration_number?: string;
                              address?: {
                                  street: ...;
                                  city: ...;
                                  postal_code: ...;
                                  region?: ...;
                                  country: ...;
                              };
                              contacts?: (...)[];
                              bank?: {
                                  account_holder: ...;
                                  iban?: ...;
                                  bic?: ...;
                                  routing_number?: ...;
                                  account_number?: ...;
                              };
                              ext?: (...) & (...);
                          },
                          "bank",
                      >;
                      destination_billing_entity?: Omit<Omit<{}, "bank">, "authentication"> & {
                          authentication?: unknown;
                      };
                      rate_card?: string;
                      payment_terms?: PaymentTerms;
                      credit_limit?: { amount: number; currency: string };
                      setup?: { url?: string; message: string; expires_at?: string };
                      account_scope?: AccountScope;
                      governance_agents?: { url: string }[];
                      reporting_bucket?: {
                          protocol: CloudStorageProtocol;
                          bucket: string;
                          prefix?: string;
                          region?: string;
                          format?: "jsonl" | "csv" | "parquet" | "avro" | "orc";
                          compression?: "none" | "gzip";
                          file_retention_days: number;
                          setup_instructions?: string;
                      };
                      sandbox?: boolean;
                      notification_configs?: | never[]
                      | (
                          Omit<
                              {
                                  subscriber_id: ...;
                                  url: ...;
                                  event_types: ...;
                                  product_payload_view?: ...;
                                  authentication?: ...;
                                  active?: ...;
                                  ext?: ...;
                              },
                              "authentication",
                          > & { authentication?: (...)
                          | (...) }
                      )[];
                      webhook_activity?: {
                          idempotency_key: string;
                          notification_id?: string;
                          subscriber_id?: string;
                          fired_at: string;
                          completed_at?: string | null;
                          notification_type: NotificationType;
                          sequence_number?: number;
                          attempt: number;
                          status:
                              | "failed"
                              | "pending"
                              | "success"
                              | "timeout"
                              | "connection_error";
                          url: string;
                          http_status_code?: number
                          | null;
                          response_time_ms?: number | null;
                          payload_size_bytes?: number;
                          error_message?: string | null;
                          ext?: (...) & (...);
                      }[];
                      ext?: Omit<Omit<{ [key: ...]: ... }, "bank">, "authentication"> & {
                          authentication?: unknown;
                      };
                  };
                  name: string;
                  format_kind: CanonicalFormatKind;
                  format_option_ref?: | {
                      scope: "publisher";
                      publisher_domain: string;
                      format_option_id: string;
                  }
                  | {
                      scope: "product";
                      format_option_id: string;
                      publisher_domain?: undefined;
                  };
                  status: CreativeStatus;
                  created_date: string;
                  updated_date: string;
                  assets?: Omit<
                      Omit<
                          {
                              [key: string]: | {
                                  asset_type: ...;
                                  url: ...;
                                  width: ...;
                                  height: ...;
                                  file_size_bytes?: ...;
                                  pixel_ratio?: ...;
                                  format?: ...;
                                  alt_text?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  url: ...;
                                  width: ...;
                                  height: ...;
                                  duration_ms?: ...;
                                  file_size_bytes?: ...;
                                  container_format?: ...;
                                  video_codec?: ...;
                                  video_bitrate_kbps?: ...;
                                  frame_rate?: ...;
                                  frame_rate_type?: ...;
                                  scan_type?: ...;
                                  color_space?: ...;
                                  hdr_format?: ...;
                                  chroma_subsampling?: ...;
                                  video_bit_depth?: ...;
                                  gop_interval_seconds?: ...;
                                  gop_type?: ...;
                                  moov_atom_position?: ...;
                                  has_audio?: ...;
                                  audio_codec?: ...;
                                  audio_sampling_rate_hz?: ...;
                                  audio_channels?: ...;
                                  audio_bit_depth?: ...;
                                  audio_bitrate_kbps?: ...;
                                  audio_loudness_lufs?: ...;
                                  audio_true_peak_dbfs?: ...;
                                  captions_url?: ...;
                                  transcript_url?: ...;
                                  audio_description_url?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  url: ...;
                                  duration_ms?: ...;
                                  file_size_bytes?: ...;
                                  container_format?: ...;
                                  codec?: ...;
                                  sampling_rate_hz?: ...;
                                  channels?: ...;
                                  bit_depth?: ...;
                                  bitrate_kbps?: ...;
                                  loudness_lufs?: ...;
                                  true_peak_dbfs?: ...;
                                  transcript_url?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  vast_version?: ...;
                                  vpaid_enabled?: ...;
                                  duration_ms?: ...;
                                  tracking_events?: ...;
                                  captions_url?: ...;
                                  audio_description_url?: ...;
                                  provenance?: ...;
                                  delivery_type: ...;
                                  url: ...;
                              }
                              | {
                                  asset_type: ...;
                                  vast_version?: ...;
                                  vpaid_enabled?: ...;
                                  duration_ms?: ...;
                                  tracking_events?: ...;
                                  captions_url?: ...;
                                  audio_description_url?: ...;
                                  provenance?: ...;
                                  delivery_type: ...;
                                  content: ...;
                              }
                              | { asset_type: ...; content: ...; language?: ...; provenance?: ... }
                              | {
                                  asset_type: ...;
                                  url: ...;
                                  url_type?: ...;
                                  description?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  content: ...;
                                  version?: ...;
                                  accessibility?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  content: ...;
                                  module_type?: ...;
                                  accessibility?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  url: ...;
                                  max_file_size_kb?: ...;
                                  entry_point?: ...;
                                  allowed_inner_extensions?: ...;
                                  backup_image_url?: ...;
                                  digest?: ...;
                                  accessibility?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  url: ...;
                                  method?: ...;
                                  timeout_ms?: ...;
                                  supported_macros?: ...;
                                  required_macros?: ...;
                                  response_type: ...;
                                  security: ...;
                                  provenance?: ...;
                              }
                              | { asset_type: ...; content: ...; media?: ...; provenance?: ... }
                              | {
                                  asset_type: ...;
                                  daast_version?: ...;
                                  duration_ms?: ...;
                                  tracking_events?: ...;
                                  companion_ads?: ...;
                                  transcript_url?: ...;
                                  provenance?: ...;
                                  delivery_type: ...;
                                  url: ...;
                              }
                              | {
                                  asset_type: ...;
                                  daast_version?: ...;
                                  duration_ms?: ...;
                                  tracking_events?: ...;
                                  companion_ads?: ...;
                                  transcript_url?: ...;
                                  provenance?: ...;
                                  delivery_type: ...;
                                  content: ...;
                              }
                              | {
                                  asset_type: ...;
                                  content: ...;
                                  language?: ...;
                                  markdown_flavor?: ...;
                                  allow_raw_html?: ...;
                              }
                              | {
                                  name: ...;
                                  objective?: ...;
                                  tone?: ...;
                                  audience?: ...;
                                  territory?: ...;
                                  messaging?: ...;
                                  reference_assets?: ...;
                                  compliance?: ...;
                                  asset_type: ...;
                              }
                              | {
                                  asset_type: ...;
                                  catalog_id?: ...;
                                  name?: ...;
                                  type: ...;
                                  url?: ...;
                                  feed_format?: ...;
                                  update_frequency?: ...;
                                  items?: ...;
                                  ids?: ...;
                                  gtins?: ...;
                                  tags?: ...;
                                  category?: ...;
                                  query?: ...;
                                  conversion_events?: ...;
                                  content_id_type?: ...;
                                  feed_field_mappings?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  post_url?: ...;
                                  platform?: ...;
                                  platform_post_id?: ...;
                                  identity_ref?: ...;
                                  published_at?: ...;
                                  reference_authorization?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  media: ...;
                                  headline?: ...;
                                  description?: ...;
                                  cta?: ...;
                                  landing_page_url?: ...;
                                  platform_extensions?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  event: ...;
                                  method?: ...;
                                  url: ...;
                                  custom_event_name?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  vast_event: ...;
                                  url: ...;
                                  offset?: ...;
                                  target?: ...;
                                  provenance?: ...;
                              }
                              | {
                                  asset_type: ...;
                                  daast_event: ...;
                                  url: ...;
                                  offset?: ...;
                                  target?: ...;
                                  provenance?: ...;
                              }
                              | (...)[];
                          },
                          "bank",
                      >,
                      "authentication",
                  > & { authentication?: unknown };
                  localization?: {
                      default_locale_variant_id: string;
                      unmatched_locale_action: "serve_default" | "do_not_serve";
                      locale_matching: "rfc4647_lookup";
                      locale_fallbacks?: (
                          | { language_range: string; locale_variant_id: string }
                          | { language_range: string; locale_variant_id: string }
                      )[];
                      variants: (
                          | {
                              locale_variant_id: string;
                              locale: string;
                              role: "source";
                              assets: Omit<(...), (...)> & { authentication?: ... };
                          }
                          | {
                              locale_variant_id: string;
                              locale: string;
                              role: "target";
                              assets: Omit<(...), (...)> & { authentication?: ... };
                          }
                      )[];
                  };
                  localization_unavailable?: {
                      errors: {
                          code: string;
                          message: string;
                          field?: string;
                          suggestion?: string;
                          retry_after?: number;
                          issues?: {
                              pointer: ...;
                              message: ...;
                              keyword: ...;
                              schemaPath?: ...;
                              schema_id?: ...;
                              discriminator?: ...;
                          }[];
                          details?: Omit<(...), (...)> & { authentication?: ... };
                          recovery?: "transient" | "correctable" | "terminal";
                          source?: "producer" | "sdk";
                          sdk_id?: string;
                      }[];
                      retryable: boolean;
                  };
                  tags?: string[];
                  rights?: {
                      rights_id: string;
                      rights_agent: { url: string; id: string };
                      rights_holder?: {
                          domain: string;
                          brand_id?: string;
                          countries?: (...)[];
                          industries?: (...)[];
                          data_subject_contestation?: { url?: ...; email?: ...; languages?: ... };
                          brand_kit_override?: {
                              logo?: ...;
                              colors?: ...;
                              voice?: ...;
                              tagline?: ...;
                          };
                      };
                      valid_from?: string;
                      valid_until?: string;
                      uses: RightUse[];
                      countries?: string[];
                      excluded_countries?: string[];
                      impression_cap?: number;
                      right_type?: RightType;
                      approval_status?: "rejected"
                      | "approved"
                      | "pending";
                      grant_status?: "active" | "paused" | "revoked";
                      restrictions?: string[];
                      disclosure?: Omit<Omit<(...), (...)>, "authentication"> & {
                          authentication?: unknown;
                      };
                      creative_approval_required?: boolean;
                      verification_url?: string;
                      content_digest?: string;
                      attestation_refs?: | {
                          issuer: { type: ...; brand: ...; ext?: ... };
                          claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                          subject: {
                              type: ...;
                              resource_type: ...;
                              namespace: ...;
                              id: ...;
                              content_digest?: ...;
                              ext?: ...;
                          };
                          locator?: (...)
                          | (...)
                          | (...);
                          embedded_credential?: (...) | (...);
                          content_digest?: (...) | (...);
                          credential_version?: (...) | (...);
                          validity_hint?: (...) | (...);
                          verify_agent?: (...) | (...);
                          ext?: (...) | (...);
                      }[]
                      | {
                          issuer: { type: ...; brand: ...; ext?: ... };
                          claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                          subject: {
                              type: ...;
                              resource_type: ...;
                              namespace: ...;
                              id: ...;
                              content_digest?: ...;
                              ext?: ...;
                          };
                          locator?: (...)
                          | (...)
                          | (...);
                          embedded_credential?: (...) | (...);
                          content_digest?: (...) | (...);
                          credential_version?: (...) | (...);
                          validity_hint?: (...) | (...);
                          verify_agent?: (...) | (...);
                          ext?: (...) | (...);
                      }[]
                      | {
                          issuer: { type: ...; brand: ...; ext?: ... };
                          claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                          subject: {
                              type: ...;
                              resource_type: ...;
                              namespace: ...;
                              id: ...;
                              content_digest?: ...;
                              ext?: ...;
                          };
                          locator?: (...)
                          | (...)
                          | (...);
                          embedded_credential?: (...) | (...);
                          content_digest?: (...) | (...);
                          credential_version?: (...) | (...);
                          validity_hint?: (...) | (...);
                          verify_agent?: (...) | (...);
                          ext?: (...) | (...);
                      }[]
                      | {
                          issuer: { type: ...; brand: ...; ext?: ... };
                          claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                          subject: {
                              type: ...;
                              resource_type: ...;
                              namespace: ...;
                              id: ...;
                              content_digest?: ...;
                              ext?: ...;
                          };
                          locator?: (...)
                          | (...)
                          | (...);
                          embedded_credential?: (...) | (...);
                          content_digest?: (...) | (...);
                          credential_version?: (...) | (...);
                          validity_hint?: (...) | (...);
                          verify_agent?: (...) | (...);
                          ext?: (...) | (...);
                      }[];
                      ext?: Omit<Omit<(...), (...)>, "authentication"> & {
                          authentication?: unknown;
                      };
                  }[];
                  rights_attestation_evaluations?: {
                      rights_id: string;
                      content_digest: string;
                      reference: {
                          issuer: {
                              type: "brand";
                              brand: {
                                  domain: string;
                                  brand_id?: (...)
                                  | (...);
                                  countries?: (...) | (...);
                                  industries?: (...) | (...);
                                  data_subject_contestation?: (...) | (...);
                                  brand_kit_override?: (...) | (...);
                              };
                              ext?: (...) & (...);
                          };
                          claim_type: "https://adcontextprotocol.org/claims/rights/grant";
                          subject: {
                              type: "resource";
                              resource_type: "https://adcontextprotocol.org/claims/subjects/rights-grant";
                              namespace: string;
                              id: string;
                              content_digest?: string;
                              ext?: (...) & (...);
                          };
                          locator?: | {
                              type: "credential_uri";
                              credential_uri: string;
                              ext?: (...)
                              | (...);
                          }
                          | {
                              type: "issuer_credential_id";
                              credential_id: string;
                              resolver_id: string;
                              ext?: (...)
                              | (...);
                          };
                          embedded_credential?: {
                              format: string;
                              value: (...)
                              | (...);
                              ext?: (...) | (...);
                          };
                          content_digest?: string;
                          credential_version?: string;
                          validity_hint?: {
                              not_before?: (...)
                              | (...);
                              expires_at?: (...) | (...);
                          };
                          verify_agent?: { agent_url: string };
                          ext?: Omit<(...), (...)> & { authentication?: ... };
                      };
                      evaluation: {
                          reference_digest: string;
                          credential_digest?: string;
                          proof_format?: string;
                          outcome: | "verified"
                          | "expired"
                          | "revoked"
                          | "not_found"
                          | "invalid"
                          | "unsupported"
                          | "unverifiable"
                          | "untrusted_issuer"
                          | "untrusted_resolver"
                          | "subject_mismatch"
                          | "digest_mismatch"
                          | "resolution_failed";
                          evaluated_at: string;
                          evaluated_by: string;
                          verifier_agent_url?: string;
                          reason_codes?: string[];
                          confidence?: number;
                          revocation_checked_at?: string;
                          valid_until?: string;
                          action_binding: {
                              action_type: "https://adcontextprotocol.org/actions/rights-grant-evaluation";
                          };
                          ext?: Omit<(...), (...)> & { authentication?: ... };
                      };
                      ext?: Omit<Omit<(...), (...)>, "authentication"> & {
                          authentication?: unknown;
                      };
                  }[];
                  concept_id?: string;
                  concept_name?: string;
                  variables?: {
                      variable_id: string;
                      name: string;
                      variable_type: | "number"
                      | "boolean"
                      | "image"
                      | "video"
                      | "audio"
                      | "text"
                      | "url"
                      | "date"
                      | "color";
                      default_value?: string;
                      required?: boolean;
                  }[];
                  assignments?: {
                      assignment_count: number;
                      returned_assignment_count?: number;
                      matching_assignment_count?: number;
                      assignments_truncated?: boolean;
                      assigned_packages?: {
                          indicator_types_evaluated?: (...)[];
                          indicators?: (...)[];
                      }[];
                  };
                  snapshot?: {
                      as_of: string;
                      staleness_seconds: number;
                      impressions: number;
                      last_served?: string;
                  };
                  snapshot_unavailable_reason?: SnapshotUnavailableReason;
                  items?: (
                      | {
                          asset_kind: "media";
                          asset_type: string;
                          asset_id: string;
                          content_uri: string;
                      }
                      | {
                          asset_kind: "text";
                          asset_type: string;
                          asset_id: string;
                          content: string
                          | string[];
                      }
                  )[];
                  pricing_options?: (
                      | {
                          pricing_option_id: string;
                          applies_to_output_format_ids?: {
                              agent_url: ...;
                              id: ...;
                              width?: ...;
                              height?: ...;
                              duration_ms?: ...;
                              pixel_ratio?: ...;
                          }[];
                          applies_to_output_capability_ids?: string[];
                          model: "cpm";
                          cpm: number;
                          currency: string;
                          ext?: Omit<(...), (...)> & { authentication?: ... };
                      }
                      | {
                          pricing_option_id: string;
                          applies_to_output_format_ids?: {
                              agent_url: ...;
                              id: ...;
                              width?: ...;
                              height?: ...;
                              duration_ms?: ...;
                              pixel_ratio?: ...;
                          }[];
                          applies_to_output_capability_ids?: string[];
                          model: "percent_of_media";
                          percent: number;
                          max_cpm?: number;
                          currency: string;
                          ext?: Omit<(...), (...)> & { authentication?: ... };
                      }
                      | {
                          pricing_option_id: string;
                          applies_to_output_format_ids?: {
                              agent_url: ...;
                              id: ...;
                              width?: ...;
                              height?: ...;
                              duration_ms?: ...;
                              pixel_ratio?: ...;
                          }[];
                          applies_to_output_capability_ids?: string[];
                          model: "flat_fee";
                          amount: number;
                          period: "monthly"
                          | "campaign"
                          | "quarterly"
                          | "annual";
                          currency: string;
                          ext?: Omit<(...), (...)> & { authentication?: ... };
                      }
                      | {
                          pricing_option_id: string;
                          applies_to_output_format_ids?: {
                              agent_url: ...;
                              id: ...;
                              width?: ...;
                              height?: ...;
                              duration_ms?: ...;
                              pixel_ratio?: ...;
                          }[];
                          applies_to_output_capability_ids?: string[];
                          model: "per_unit";
                          unit: string;
                          unit_price: number;
                          currency: string;
                          ext?: Omit<(...), (...)> & { authentication?: ... };
                      }
                      | {
                          pricing_option_id: string;
                          applies_to_output_format_ids?: {
                              agent_url: ...;
                              id: ...;
                              width?: ...;
                              height?: ...;
                              duration_ms?: ...;
                              pixel_ratio?: ...;
                          }[];
                          applies_to_output_capability_ids?: string[];
                          model: "custom";
                          description: string;
                          metadata: { summary_for_operator?: string };
                          currency?: string;
                          ext?: Omit<(...), (...)> & { authentication?: ... };
                      }
                  )[];
                  purge?: { kind: "soft"; at: string; reason_code: CreativeEventReasonCode };
                  webhook_activity?: {
                      idempotency_key: string;
                      notification_id?: string;
                      subscriber_id?: string;
                      fired_at: string;
                      completed_at?: string | null;
                      notification_type: NotificationType;
                      sequence_number?: number;
                      attempt: number;
                      status: "failed" | "pending" | "success" | "timeout" | "connection_error";
                      url: string;
                      http_status_code?: number | null;
                      response_time_ms?: number | null;
                      payload_size_bytes?: number;
                      error_message?: string | null;
                      ext?: Omit<Omit<(...), (...)>, "authentication"> & {
                          authentication?: unknown;
                      };
                  }[];
              }
          )[]

          Array of creative assets matching the query

        • Optionalformat_summary?: Omit<Omit<{ [key: string]: number | undefined }, "bank">, "authentication"> & {
              authentication?: unknown;
          }

          Breakdown of creatives by canonical format kind. Keys SHOULD be format_kind values; an implementation may append a stable option suffix when separate product or publisher options must be distinguished.

        • Optionalstatus_summary?: {
              processing?: number;
              approved?: number;
              pending_review?: number;
              rejected?: number;
              archived?: number;
          }

          Breakdown of creatives by status

          • Optionalprocessing?: number

            Number of creatives being processed

            0

          • Optionalapproved?: number

            Number of approved creatives

            0

          • Optionalpending_review?: number

            Number of creatives pending review

            0

          • Optionalrejected?: number

            Number of rejected creatives

            0

          • Optionalarchived?: number

            Number of archived creatives

            0

        • Optionalerrors?: {
              code: string;
              message: string;
              field?: string;
              suggestion?: string;
              retry_after?: number;
              issues?: {
                  pointer: string;
                  message: string;
                  keyword: string;
                  schemaPath?: string;
                  schema_id?: string;
                  discriminator?: {
                      property_name: string;
                      value: (...) | (...) | (...) | (...) | (...);
                  }[];
              }[];
              details?: Omit<Omit<{}, "bank">, "authentication"> & {
                  authentication?: unknown;
              };
              recovery?: "transient"
              | "correctable"
              | "terminal";
              source?: "producer" | "sdk";
              sdk_id?: string;
          }[]

          Task-specific errors (e.g., invalid filters, account not found)

        • Optionalsandbox?: boolean

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

        • Optionalext?: Omit<Omit<{ [key: string]: unknown }, "bank">, "authentication"> & {
              authentication?: unknown;
          }
      • Optionalsummary: string

      Returns McpToolResponse

      v6: createAdcpServerFromPlatform constructs wire responses from typed platform returns. Direct use is for v5 raw-handler adopters mid-migration only.