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

    Variable CreateMediaBuyRequestSchemaConst

    CreateMediaBuyRequestSchema: ZodObject<
        {
            buyer_ref: ZodString;
            packages: ZodArray<
                ZodObject<
                    {
                        buyer_ref: ZodString;
                        product_id: ZodString;
                        format_ids: ZodOptional<
                            ZodNullable<
                                ZodTuple<
                                    [
                                        ZodObject<
                                            {
                                                agent_url: ...;
                                                id: ...;
                                                width: ...;
                                                height: ...;
                                                duration_ms: ...;
                                            },
                                            $strip,
                                        >,
                                    ],
                                    ZodObject<
                                        {
                                            agent_url: ZodString;
                                            id: ZodString;
                                            width: ZodOptional<(...)>;
                                            height: ZodOptional<(...)>;
                                            duration_ms: ZodOptional<(...)>;
                                        },
                                        $strip,
                                    >,
                                >,
                            >,
                        >;
                        budget: ZodNumber;
                        pacing: ZodOptional<
                            ZodNullable<
                                ZodUnion<
                                    readonly [
                                        ZodLiteral<"even">,
                                        ZodLiteral<"asap">,
                                        ZodLiteral<"front_loaded">,
                                    ],
                                >,
                            >,
                        >;
                        pricing_option_id: ZodString;
                        bid_price: ZodOptional<ZodNullable<ZodNumber>>;
                        targeting_overlay: ZodOptional<
                            ZodNullable<
                                ZodObject<
                                    {
                                        geo_country_any_of: ZodOptional<ZodNullable<(...)>>;
                                        geo_region_any_of: ZodOptional<ZodNullable<(...)>>;
                                        geo_metro_any_of: ZodOptional<ZodNullable<(...)>>;
                                        geo_postal_code_any_of: ZodOptional<ZodNullable<(...)>>;
                                        axe_include_segment: ZodOptional<ZodNullable<(...)>>;
                                        axe_exclude_segment: ZodOptional<ZodNullable<(...)>>;
                                        frequency_cap: ZodOptional<ZodNullable<(...)>>;
                                    },
                                    $strip,
                                >,
                            >,
                        >;
                        creative_ids: ZodOptional<ZodNullable<ZodArray<ZodString>>>;
                        creatives: ZodOptional<
                            ZodNullable<
                                ZodArray<
                                    ZodObject<
                                        {
                                            creative_id: ZodString;
                                            name: ZodString;
                                            format_id: ZodObject<(...), (...)>;
                                            assets: ZodRecord<(...), (...)>;
                                            inputs: ZodOptional<(...)>;
                                            tags: ZodOptional<(...)>;
                                            approved: ZodOptional<(...)>;
                                            weight: ZodOptional<(...)>;
                                            placement_ids: ZodOptional<(...)>;
                                        },
                                        $strip,
                                    >,
                                >,
                            >,
                        >;
                        ext: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
                    },
                    $strip,
                >,
            >;
            brand_manifest: ZodUnion<
                readonly [
                    ZodObject<
                        {
                            url: ZodOptional<ZodNullable<ZodString>>;
                            name: ZodString;
                            logos: ZodOptional<
                                ZodNullable<
                                    ZodArray<
                                        ZodObject<
                                            { url: ...; tags: ...; width: ...; height: ... },
                                            $strip,
                                        >,
                                    >,
                                >,
                            >;
                            colors: ZodOptional<
                                ZodNullable<
                                    ZodObject<
                                        {
                                            primary: ZodOptional<(...)>;
                                            secondary: ZodOptional<(...)>;
                                            accent: ZodOptional<(...)>;
                                            background: ZodOptional<(...)>;
                                            text: ZodOptional<(...)>;
                                        },
                                        $strip,
                                    >,
                                >,
                            >;
                            fonts: ZodOptional<
                                ZodNullable<
                                    ZodObject<
                                        {
                                            primary: ZodOptional<(...)>;
                                            secondary: ZodOptional<(...)>;
                                            font_urls: ZodOptional<(...)>;
                                        },
                                        $strip,
                                    >,
                                >,
                            >;
                            tone: ZodOptional<ZodNullable<ZodString>>;
                            tagline: ZodOptional<ZodNullable<ZodString>>;
                            assets: ZodOptional<
                                ZodNullable<
                                    ZodArray<
                                        ZodObject<
                                            {
                                                asset_id: ...;
                                                asset_type: ...;
                                                url: ...;
                                                tags: ...;
                                                name: ...;
                                                description: ...;
                                                width: ...;
                                                height: ...;
                                                duration_seconds: ...;
                                                file_size_bytes: ...;
                                                format: ...;
                                                metadata: ...;
                                            },
                                            $strip,
                                        >,
                                    >,
                                >,
                            >;
                            product_catalog: ZodOptional<
                                ZodNullable<
                                    ZodObject<
                                        {
                                            feed_url: ZodString;
                                            feed_format: ZodOptional<(...)>;
                                            categories: ZodOptional<(...)>;
                                            last_updated: ZodOptional<(...)>;
                                            update_frequency: ZodOptional<(...)>;
                                        },
                                        $strip,
                                    >,
                                >,
                            >;
                            disclaimers: ZodOptional<
                                ZodNullable<
                                    ZodArray<
                                        ZodObject<{ text: ...; context: ...; required: ... }, $strip>,
                                    >,
                                >,
                            >;
                            industry: ZodOptional<ZodNullable<ZodString>>;
                            target_audience: ZodOptional<ZodNullable<ZodString>>;
                            contact: ZodOptional<
                                ZodNullable<
                                    ZodObject<
                                        { email: ZodOptional<(...)>; phone: ZodOptional<(...)> },
                                        $strip,
                                    >,
                                >,
                            >;
                            metadata: ZodOptional<
                                ZodNullable<
                                    ZodObject<
                                        {
                                            created_date: ZodOptional<(...)>;
                                            updated_date: ZodOptional<(...)>;
                                            version: ZodOptional<(...)>;
                                        },
                                        $strip,
                                    >,
                                >,
                            >;
                        },
                        $strip,
                    >,
                    ZodString,
                ],
            >;
            po_number: ZodOptional<ZodNullable<ZodString>>;
            start_time: ZodUnion<readonly [ZodLiteral<"asap">, ZodString]>;
            end_time: ZodString;
            reporting_webhook: ZodOptional<
                ZodNullable<
                    ZodIntersection<
                        ZodObject<
                            {
                                url: ZodString;
                                token: ZodOptional<ZodNullable<ZodString>>;
                                authentication: ZodObject<
                                    { schemes: ZodTuple<[(...)], null>; credentials: ZodString },
                                    $strip,
                                >;
                            },
                            $strip,
                        >,
                        ZodObject<
                            {
                                reporting_frequency: ZodUnion<
                                    readonly [
                                        ZodLiteral<"hourly">,
                                        ZodLiteral<"daily">,
                                        ZodLiteral<"monthly">,
                                    ],
                                >;
                                requested_metrics: ZodOptional<
                                    ZodNullable<ZodArray<ZodUnion<(...)>>>,
                                >;
                            },
                            $strip,
                        >,
                    >,
                >,
            >;
            context: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
            ext: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
        },
        $strip,
    > = ...