Variable CreateMediaBuyRequestSchemaConst
CreateMediaBuyRequestSchema: ZodObject<
{
idempotency_key: ZodOptional<ZodNullable<ZodString>>;
plan_id: ZodOptional<ZodNullable<ZodString>>;
account: ZodUnion<
readonly [
ZodObject<{ account_id: ZodString }, $loose>,
ZodObject<
{
brand: ZodObject<
{
domain: ZodString;
brand_id: ZodOptional<ZodNullable<ZodString>>;
},
$loose,
>;
operator: ZodString;
sandbox: ZodOptional<ZodNullable<ZodBoolean>>;
},
$loose,
>,
],
>;
proposal_id: ZodOptional<ZodNullable<ZodString>>;
total_budget: ZodOptional<
ZodNullable<
ZodObject<{ amount: ZodNumber; currency: ZodString }, $loose>,
>,
>;
packages: ZodOptional<
ZodNullable<
ZodArray<
ZodObject<
{
product_id: ZodString;
format_ids: ZodOptional<
ZodNullable<ZodArray<ZodObject<(...), (...)>>>,
>;
budget: ZodNumber;
pacing: ZodOptional<
ZodNullable<ZodUnion<readonly [(...), (...), (...)]>>,
>;
pricing_option_id: ZodString;
bid_price: ZodOptional<ZodNullable<ZodNumber>>;
impressions: ZodOptional<ZodNullable<ZodNumber>>;
start_time: ZodOptional<ZodNullable<ZodString>>;
end_time: ZodOptional<ZodNullable<ZodString>>;
paused: ZodOptional<ZodNullable<ZodBoolean>>;
catalogs: ZodOptional<ZodNullable<ZodArray<ZodObject<(...), (...)>>>>;
optimization_goals: ZodOptional<
ZodNullable<ZodArray<ZodUnion<(...)>>>,
>;
targeting_overlay: ZodOptional<
ZodNullable<
ZodObject<
{
geo_countries: ...;
geo_countries_exclude: ...;
geo_regions: ...;
geo_regions_exclude: ...;
geo_metros: ...;
geo_metros_exclude: ...;
geo_postal_areas: ...;
geo_postal_areas_exclude: ...;
daypart_targets: ...;
axe_include_segment: ...;
axe_exclude_segment: ...;
audience_include: ...;
audience_exclude: ...;
frequency_cap: ...;
property_list: ...;
age_restriction: ...;
device_platform: ...;
device_type: ...;
device_type_exclude: ...;
store_catchments: ...;
geo_proximity: ...;
language: ...;
keyword_targets: ...;
negative_keywords: ...;
},
$loose,
>,
>,
>;
creative_assignments: ZodOptional<
ZodNullable<ZodArray<ZodObject<(...), (...)>>>,
>;
creatives: ZodOptional<
ZodNullable<ZodArray<ZodObject<(...), (...)>>>,
>;
context: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
ext: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
},
$loose,
>,
>,
>,
>;
brand: ZodObject<
{ domain: ZodString; brand_id: ZodOptional<ZodNullable<ZodString>> },
$loose,
>;
invoice_recipient: ZodOptional<
ZodNullable<
ZodObject<
{
legal_name: ZodString;
vat_id: ZodOptional<ZodNullable<ZodString>>;
tax_id: ZodOptional<ZodNullable<ZodString>>;
registration_number: ZodOptional<ZodNullable<ZodString>>;
address: ZodOptional<
ZodNullable<
ZodObject<
{
street: ZodString;
city: ZodString;
postal_code: ZodString;
region: ZodOptional<(...)>;
country: ZodString;
},
$loose,
>,
>,
>;
contacts: ZodOptional<
ZodNullable<
ZodArray<
ZodObject<
{ role: ...; name: ...; email: ...; phone: ... },
$loose,
>,
>,
>,
>;
bank: ZodOptional<
ZodNullable<
ZodObject<
{
account_holder: ZodString;
iban: ZodOptional<(...)>;
bic: ZodOptional<(...)>;
routing_number: ZodOptional<(...)>;
account_number: ZodOptional<(...)>;
},
$loose,
>,
>,
>;
ext: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
},
$loose,
>,
>,
>;
io_acceptance: ZodOptional<
ZodNullable<
ZodObject<
{
io_id: ZodString;
accepted_at: ZodString;
signatory: ZodString;
signature_id: ZodOptional<ZodNullable<ZodString>>;
},
$loose,
>,
>,
>;
po_number: ZodOptional<ZodNullable<ZodString>>;
start_time: ZodUnion<readonly [ZodLiteral<"asap">, ZodString]>;
end_time: ZodString;
push_notification_config: ZodOptional<
ZodNullable<
ZodObject<
{
url: ZodString;
token: ZodOptional<ZodNullable<ZodString>>;
authentication: ZodObject<
{
schemes: ZodArray<ZodUnion<readonly [(...), (...)]>>;
credentials: ZodString;
},
$loose,
>;
},
$loose,
>,
>,
>;
reporting_webhook: ZodOptional<
ZodNullable<
ZodObject<
{
url: ZodString;
token: ZodOptional<ZodNullable<ZodString>>;
authentication: ZodObject<
{
schemes: ZodArray<ZodUnion<readonly [(...), (...)]>>;
credentials: ZodString;
},
$loose,
>;
reporting_frequency: ZodUnion<
readonly [
ZodLiteral<"hourly">,
ZodLiteral<"daily">,
ZodLiteral<"monthly">,
],
>;
requested_metrics: ZodOptional<
ZodNullable<
ZodArray<
ZodUnion<
readonly [
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
],
>,
>,
>,
>;
},
$loose,
>,
>,
>;
artifact_webhook: ZodOptional<
ZodNullable<
ZodObject<
{
url: ZodString;
token: ZodOptional<ZodNullable<ZodString>>;
authentication: ZodObject<
{
schemes: ZodArray<ZodUnion<readonly [(...), (...)]>>;
credentials: ZodString;
},
$loose,
>;
delivery_mode: ZodUnion<
readonly [ZodLiteral<"realtime">, ZodLiteral<"batched">],
>;
batch_frequency: ZodOptional<
ZodNullable<
ZodUnion<readonly [ZodLiteral<(...)>, ZodLiteral<(...)>]>,
>,
>;
sampling_rate: ZodOptional<ZodNullable<ZodNumber>>;
},
$loose,
>,
>,
>;
context: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
ext: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
},
$loose,
> = ...