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

    Variable ListCreativesResponseSchemaConst

    ListCreativesResponseSchema: ZodObject<
        {
            query_summary: ZodObject<
                {
                    total_matching: ZodNumber;
                    returned: ZodNumber;
                    filters_applied: ZodOptional<ZodArray<ZodString>>;
                    sort_applied: ZodOptional<
                        ZodObject<
                            {
                                field: ZodOptional<ZodString>;
                                direction: ZodOptional<
                                    ZodUnion<readonly [ZodLiteral<(...)>, ZodLiteral<(...)>]>,
                                >;
                            },
                            $loose,
                        >,
                    >;
                },
                $loose,
            >;
            pagination: ZodObject<
                {
                    has_more: ZodBoolean;
                    cursor: ZodOptional<ZodString>;
                    total_count: ZodOptional<ZodNumber>;
                },
                $loose,
            >;
            creatives: ZodArray<
                ZodObject<
                    {
                        creative_id: ZodString;
                        account: ZodOptional<
                            ZodObject<
                                {
                                    account_id: ZodString;
                                    name: ZodString;
                                    advertiser: ZodOptional<ZodString>;
                                    billing_proxy: ZodOptional<ZodString>;
                                    status: ZodUnion<
                                        readonly [
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                        ],
                                    >;
                                    brand: ZodOptional<
                                        ZodObject<
                                            {
                                                domain: ...;
                                                brand_id: ...;
                                                industries: ...;
                                                data_subject_contestation: ...;
                                            },
                                            $loose,
                                        >,
                                    >;
                                    operator: ZodOptional<ZodString>;
                                    billing: ZodOptional<ZodUnion<readonly [(...), (...), (...)]>>;
                                    billing_entity: ZodOptional<
                                        ZodObject<
                                            {
                                                legal_name: ...;
                                                vat_id: ...;
                                                tax_id: ...;
                                                registration_number: ...;
                                                address: ...;
                                                contacts: ...;
                                                bank: ...;
                                                ext: ...;
                                            },
                                            $loose,
                                        >,
                                    >;
                                    rate_card: ZodOptional<ZodString>;
                                    payment_terms: ZodOptional<
                                        ZodUnion<readonly [(...), (...), (...), (...), (...), (...)]>,
                                    >;
                                    credit_limit: ZodOptional<
                                        ZodObject<{ amount: ...; currency: ... }, $loose>,
                                    >;
                                    setup: ZodOptional<
                                        ZodObject<{ url: ...; message: ...; expires_at: ... }, $loose>,
                                    >;
                                    account_scope: ZodOptional<
                                        ZodUnion<readonly [(...), (...), (...), (...)]>,
                                    >;
                                    governance_agents: ZodOptional<ZodArray<ZodObject<(...), (...)>>>;
                                    reporting_bucket: ZodOptional<
                                        ZodObject<
                                            {
                                                protocol: ...;
                                                bucket: ...;
                                                prefix: ...;
                                                region: ...;
                                                format: ...;
                                                compression: ...;
                                                file_retention_days: ...;
                                                setup_instructions: ...;
                                            },
                                            $loose,
                                        >,
                                    >;
                                    sandbox: ZodOptional<ZodBoolean>;
                                    ext: ZodOptional<ZodObject<{}, $loose>>;
                                },
                                $loose,
                            >,
                        >;
                        name: ZodString;
                        format_id: ZodObject<
                            {
                                agent_url: ZodString;
                                id: ZodString;
                                width: ZodOptional<ZodNumber>;
                                height: ZodOptional<ZodNumber>;
                                duration_ms: ZodOptional<ZodNumber>;
                            },
                            $loose,
                        >;
                        status: ZodUnion<
                            readonly [
                                ZodLiteral<"processing">,
                                ZodLiteral<"pending_review">,
                                ZodLiteral<"approved">,
                                ZodLiteral<"rejected">,
                                ZodLiteral<"archived">,
                            ],
                        >;
                        created_date: ZodISODateTime;
                        updated_date: ZodISODateTime;
                        assets: ZodOptional<
                            ZodRecord<
                                ZodString,
                                ZodUnion<
                                    readonly [
                                        ZodObject<
                                            {
                                                asset_type: ...;
                                                url: ...;
                                                width: ...;
                                                height: ...;
                                                format: ...;
                                                alt_text: ...;
                                                provenance: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<
                                            {
                                                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: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<
                                            {
                                                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: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodIntersection<ZodObject<(...), (...)>, ZodUnion<(...)>>,
                                        ZodObject<
                                            {
                                                asset_type: ...;
                                                content: ...;
                                                language: ...;
                                                provenance: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<
                                            {
                                                asset_type: ...;
                                                url: ...;
                                                url_type: ...;
                                                description: ...;
                                                provenance: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<
                                            {
                                                asset_type: ...;
                                                content: ...;
                                                version: ...;
                                                accessibility: ...;
                                                provenance: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<
                                            {
                                                asset_type: ...;
                                                content: ...;
                                                module_type: ...;
                                                accessibility: ...;
                                                provenance: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<
                                            {
                                                asset_type: ...;
                                                url: ...;
                                                method: ...;
                                                timeout_ms: ...;
                                                supported_macros: ...;
                                                required_macros: ...;
                                                response_type: ...;
                                                security: ...;
                                                provenance: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<
                                            { asset_type: ...; content: ...; media: ...; provenance: ... },
                                            $loose,
                                        >,
                                        ZodIntersection<ZodObject<(...), (...)>, ZodUnion<(...)>>,
                                        ZodObject<
                                            {
                                                asset_type: ...;
                                                content: ...;
                                                language: ...;
                                                markdown_flavor: ...;
                                                allow_raw_html: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<
                                            {
                                                name: ...;
                                                objective: ...;
                                                tone: ...;
                                                audience: ...;
                                                territory: ...;
                                                messaging: ...;
                                                reference_assets: ...;
                                                compliance: ...;
                                                asset_type: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<
                                            {
                                                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: ...;
                                            },
                                            $loose,
                                        >,
                                    ],
                                >,
                            >,
                        >;
                        tags: ZodOptional<ZodArray<ZodString>>;
                        concept_id: ZodOptional<ZodString>;
                        concept_name: ZodOptional<ZodString>;
                        variables: ZodOptional<
                            ZodArray<
                                ZodObject<
                                    {
                                        variable_id: ZodString;
                                        name: ZodString;
                                        variable_type: ZodUnion<
                                            readonly [
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                            ],
                                        >;
                                        default_value: ZodOptional<ZodString>;
                                        required: ZodOptional<ZodBoolean>;
                                    },
                                    $loose,
                                >,
                            >,
                        >;
                        assignments: ZodOptional<
                            ZodObject<
                                {
                                    assignment_count: ZodNumber;
                                    assigned_packages: ZodOptional<ZodArray<ZodObject<(...), (...)>>>;
                                },
                                $loose,
                            >,
                        >;
                        snapshot: ZodOptional<
                            ZodObject<
                                {
                                    as_of: ZodISODateTime;
                                    staleness_seconds: ZodNumber;
                                    impressions: ZodNumber;
                                    last_served: ZodOptional<ZodISODateTime>;
                                },
                                $loose,
                            >,
                        >;
                        snapshot_unavailable_reason: ZodOptional<
                            ZodUnion<
                                readonly [
                                    ZodLiteral<"SNAPSHOT_UNSUPPORTED">,
                                    ZodLiteral<"SNAPSHOT_TEMPORARILY_UNAVAILABLE">,
                                    ZodLiteral<"SNAPSHOT_PERMISSION_DENIED">,
                                ],
                            >,
                        >;
                        items: ZodOptional<
                            ZodArray<
                                ZodUnion<
                                    readonly [
                                        ZodObject<
                                            {
                                                asset_kind: ...;
                                                asset_type: ...;
                                                asset_id: ...;
                                                content_uri: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<
                                            {
                                                asset_kind: ...;
                                                asset_type: ...;
                                                asset_id: ...;
                                                content: ...;
                                            },
                                            $loose,
                                        >,
                                    ],
                                >,
                            >,
                        >;
                        pricing_options: ZodOptional<
                            ZodArray<
                                ZodIntersection<
                                    ZodObject<{ pricing_option_id: ZodString }, $loose>,
                                    ZodUnion<
                                        readonly [
                                            ZodObject<(...), (...)>,
                                            ZodObject<(...), (...)>,
                                            ZodObject<(...), (...)>,
                                            ZodObject<(...), (...)>,
                                            ZodObject<(...), (...)>,
                                        ],
                                    >,
                                >,
                            >,
                        >;
                    },
                    $loose,
                >,
            >;
            format_summary: ZodOptional<ZodRecord<ZodString, ZodNumber>>;
            status_summary: ZodOptional<
                ZodObject<
                    {
                        processing: ZodOptional<ZodNumber>;
                        approved: ZodOptional<ZodNumber>;
                        pending_review: ZodOptional<ZodNumber>;
                        rejected: ZodOptional<ZodNumber>;
                        archived: ZodOptional<ZodNumber>;
                    },
                    $loose,
                >,
            >;
            errors: ZodOptional<
                ZodArray<
                    ZodObject<
                        {
                            code: ZodString;
                            message: ZodString;
                            field: ZodOptional<ZodString>;
                            suggestion: ZodOptional<ZodString>;
                            retry_after: ZodOptional<ZodNumber>;
                            issues: ZodOptional<
                                ZodArray<
                                    ZodObject<
                                        {
                                            pointer: ZodString;
                                            message: ZodString;
                                            keyword: ZodString;
                                            schemaPath: ZodOptional<(...)>;
                                        },
                                        $loose,
                                    >,
                                >,
                            >;
                            details: ZodOptional<ZodObject<{}, $loose>>;
                            recovery: ZodOptional<
                                ZodUnion<
                                    readonly [
                                        ZodLiteral<"transient">,
                                        ZodLiteral<"correctable">,
                                        ZodLiteral<"terminal">,
                                    ],
                                >,
                            >;
                        },
                        $loose,
                    >,
                >,
            >;
            sandbox: ZodOptional<ZodBoolean>;
            context: ZodOptional<ZodObject<{}, $loose>>;
            ext: ZodOptional<ZodObject<{}, $loose>>;
        },
        $loose,
    > = ...