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

    Variable MediaBuySchemaConst

    MediaBuySchema: ZodObject<
        {
            media_buy_id: ZodString;
            buyer_ref: ZodOptional<ZodNullable<ZodString>>;
            account: ZodOptional<
                ZodNullable<
                    ZodObject<
                        {
                            account_id: ZodString;
                            name: ZodString;
                            advertiser: ZodOptional<ZodNullable<ZodString>>;
                            billing_proxy: ZodOptional<ZodNullable<ZodString>>;
                            status: ZodUnion<
                                readonly [
                                    ZodLiteral<"active">,
                                    ZodLiteral<"suspended">,
                                    ZodLiteral<"closed">,
                                ],
                            >;
                            rate_card: ZodOptional<ZodNullable<ZodString>>;
                            payment_terms: ZodOptional<ZodNullable<ZodString>>;
                            credit_limit: ZodOptional<
                                ZodNullable<
                                    ZodObject<{ amount: ZodNumber; currency: ZodString }, $strip>,
                                >,
                            >;
                            ext: ZodOptional<
                                ZodNullable<
                                    ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
                                >,
                            >;
                        },
                        $strip,
                    >,
                >,
            >;
            status: ZodUnion<
                readonly [
                    ZodLiteral<"pending_activation">,
                    ZodLiteral<"active">,
                    ZodLiteral<"paused">,
                    ZodLiteral<"completed">,
                ],
            >;
            promoted_offering: ZodString;
            total_budget: ZodNumber;
            packages: ZodArray<
                ZodIntersection<
                    ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
                    ZodObject<
                        {
                            package_id: ZodString;
                            buyer_ref: ZodOptional<ZodNullable<ZodString>>;
                            product_id: ZodOptional<ZodNullable<ZodString>>;
                            budget: ZodOptional<ZodNullable<ZodNumber>>;
                            pacing: ZodOptional<
                                ZodNullable<
                                    ZodUnion<
                                        readonly [
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                        ],
                                    >,
                                >,
                            >;
                            pricing_option_id: ZodOptional<ZodNullable<ZodString>>;
                            bid_price: ZodOptional<ZodNullable<ZodNumber>>;
                            impressions: ZodOptional<ZodNullable<ZodNumber>>;
                            targeting_overlay: ZodOptional<
                                ZodNullable<
                                    ZodIntersection<
                                        ZodRecord<ZodString, ZodUnion<(...)>>,
                                        ZodObject<
                                            {
                                                geo_countries: ...;
                                                geo_regions: ...;
                                                geo_metros: ...;
                                                geo_postal_areas: ...;
                                                axe_include_segment: ...;
                                                axe_exclude_segment: ...;
                                                frequency_cap: ...;
                                                property_list: ...;
                                            },
                                            $strip,
                                        >,
                                    >,
                                >,
                            >;
                            creative_assignments: ZodOptional<
                                ZodNullable<
                                    ZodArray<
                                        ZodIntersection<
                                            ZodRecord<(...), (...)>,
                                            ZodObject<(...), (...)>,
                                        >,
                                    >,
                                >,
                            >;
                            format_ids_to_provide: ZodOptional<
                                ZodNullable<
                                    ZodArray<
                                        ZodIntersection<
                                            ZodRecord<(...), (...)>,
                                            ZodObject<(...), (...)>,
                                        >,
                                    >,
                                >,
                            >;
                            paused: ZodOptional<ZodNullable<ZodBoolean>>;
                            ext: ZodOptional<
                                ZodNullable<
                                    ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
                                >,
                            >;
                        },
                        $strip,
                    >,
                >,
            >;
            creative_deadline: ZodOptional<ZodNullable<ZodString>>;
            created_at: ZodOptional<ZodNullable<ZodString>>;
            updated_at: ZodOptional<ZodNullable<ZodString>>;
            ext: ZodOptional<
                ZodNullable<
                    ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
                >,
            >;
        },
        $strip,
    > = ...