Variable GetProductsResponseSchemaConst
GetProductsResponseSchema: ZodObject<
{
products: ZodArray<
ZodObject<
{
product_id: ZodString;
name: ZodString;
description: ZodString;
publisher_properties: ZodArray<
ZodUnion<
readonly [
ZodObject<
{
publisher_domain: ZodString;
selection_type: ZodLiteral<(...)>;
},
$loose,
>,
ZodObject<
{
publisher_domain: ZodString;
selection_type: ZodLiteral<(...)>;
property_ids: ZodArray<(...)>;
},
$loose,
>,
ZodObject<
{
publisher_domain: ZodString;
selection_type: ZodLiteral<(...)>;
property_tags: ZodArray<(...)>;
},
$loose,
>,
],
>,
>;
channels: ZodOptional<
ZodArray<
ZodUnion<
readonly [
ZodLiteral<"display">,
ZodLiteral<"olv">,
ZodLiteral<"social">,
ZodLiteral<"search">,
ZodLiteral<"ctv">,
ZodLiteral<"linear_tv">,
ZodLiteral<"radio">,
ZodLiteral<"streaming_audio">,
ZodLiteral<"podcast">,
ZodLiteral<"dooh">,
ZodLiteral<"ooh">,
ZodLiteral<"print">,
ZodLiteral<"cinema">,
ZodLiteral<"email">,
ZodLiteral<"gaming">,
ZodLiteral<"retail_media">,
ZodLiteral<"influencer">,
ZodLiteral<"affiliate">,
ZodLiteral<"product_placement">,
ZodLiteral<"sponsored_intelligence">,
],
>,
>,
>;
format_ids: ZodArray<
ZodObject<
{
agent_url: ZodString;
id: ZodString;
width: ZodOptional<ZodNumber>;
height: ZodOptional<ZodNumber>;
duration_ms: ZodOptional<ZodNumber>;
},
$loose,
>,
>;
placements: ZodOptional<
ZodArray<
ZodObject<
{
placement_id: ZodString;
name: ZodString;
description: ZodOptional<ZodString>;
tags: ZodOptional<ZodArray<(...)>>;
format_ids: ZodOptional<ZodArray<(...)>>;
},
$loose,
>,
>,
>;
delivery_type: ZodUnion<
readonly [ZodLiteral<"guaranteed">, ZodLiteral<"non_guaranteed">],
>;
exclusivity: ZodOptional<
ZodUnion<
readonly [
ZodLiteral<"none">,
ZodLiteral<"category">,
ZodLiteral<"exclusive">,
],
>,
>;
pricing_options: ZodArray<
ZodUnion<
readonly [
ZodObject<
{
pricing_option_id: ZodString;
pricing_model: ZodLiteral<(...)>;
currency: ZodString;
fixed_price: ZodOptional<(...)>;
floor_price: ZodOptional<(...)>;
max_bid: ZodOptional<(...)>;
price_guidance: ZodOptional<(...)>;
min_spend_per_package: ZodOptional<(...)>;
price_breakdown: ZodOptional<(...)>;
eligible_adjustments: ZodOptional<(...)>;
},
$loose,
>,
ZodObject<
{
pricing_option_id: ZodString;
pricing_model: ZodLiteral<(...)>;
currency: ZodString;
fixed_price: ZodOptional<(...)>;
floor_price: ZodOptional<(...)>;
max_bid: ZodOptional<(...)>;
price_guidance: ZodOptional<(...)>;
min_spend_per_package: ZodOptional<(...)>;
price_breakdown: ZodOptional<(...)>;
eligible_adjustments: ZodOptional<(...)>;
},
$loose,
>,
ZodObject<
{
pricing_option_id: ZodString;
pricing_model: ZodLiteral<(...)>;
currency: ZodString;
fixed_price: ZodOptional<(...)>;
floor_price: ZodOptional<(...)>;
max_bid: ZodOptional<(...)>;
price_guidance: ZodOptional<(...)>;
min_spend_per_package: ZodOptional<(...)>;
price_breakdown: ZodOptional<(...)>;
eligible_adjustments: ZodOptional<(...)>;
},
$loose,
>,
ZodObject<
{
pricing_option_id: ZodString;
pricing_model: ZodLiteral<(...)>;
currency: ZodString;
fixed_price: ZodOptional<(...)>;
floor_price: ZodOptional<(...)>;
max_bid: ZodOptional<(...)>;
price_guidance: ZodOptional<(...)>;
min_spend_per_package: ZodOptional<(...)>;
price_breakdown: ZodOptional<(...)>;
eligible_adjustments: ZodOptional<(...)>;
},
$loose,
>,
ZodObject<
{
pricing_option_id: ZodString;
pricing_model: ZodLiteral<(...)>;
currency: ZodString;
fixed_price: ZodOptional<(...)>;
floor_price: ZodOptional<(...)>;
max_bid: ZodOptional<(...)>;
price_guidance: ZodOptional<(...)>;
parameters: ZodObject<(...), (...)>;
min_spend_per_package: ZodOptional<(...)>;
price_breakdown: ZodOptional<(...)>;
eligible_adjustments: ZodOptional<(...)>;
},
$loose,
>,
ZodObject<
{
pricing_option_id: ZodString;
pricing_model: ZodLiteral<(...)>;
currency: ZodString;
fixed_price: ZodOptional<(...)>;
floor_price: ZodOptional<(...)>;
price_guidance: ZodOptional<(...)>;
parameters: ZodObject<(...), (...)>;
min_spend_per_package: ZodOptional<(...)>;
price_breakdown: ZodOptional<(...)>;
eligible_adjustments: ZodOptional<(...)>;
},
$loose,
>,
ZodObject<
{
pricing_option_id: ZodString;
pricing_model: ZodLiteral<(...)>;
event_type: ZodUnion<(...)>;
custom_event_name: ZodOptional<(...)>;
event_source_id: ZodOptional<(...)>;
currency: ZodString;
fixed_price: ZodNumber;
min_spend_per_package: ZodOptional<(...)>;
price_breakdown: ZodOptional<(...)>;
eligible_adjustments: ZodOptional<(...)>;
},
$loose,
>,
ZodObject<
{
pricing_option_id: ZodString;
pricing_model: ZodLiteral<(...)>;
currency: ZodString;
fixed_price: ZodOptional<(...)>;
floor_price: ZodOptional<(...)>;
price_guidance: ZodOptional<(...)>;
parameters: ZodOptional<(...)>;
min_spend_per_package: ZodOptional<(...)>;
price_breakdown: ZodOptional<(...)>;
eligible_adjustments: ZodOptional<(...)>;
},
$loose,
>,
ZodObject<
{
pricing_option_id: ZodString;
pricing_model: ZodLiteral<(...)>;
currency: ZodString;
fixed_price: ZodOptional<(...)>;
floor_price: ZodOptional<(...)>;
price_guidance: ZodOptional<(...)>;
parameters: ZodObject<(...), (...)>;
min_spend_per_package: ZodOptional<(...)>;
price_breakdown: ZodOptional<(...)>;
eligible_adjustments: ZodOptional<(...)>;
},
$loose,
>,
],
>,
>;
forecast: ZodOptional<
ZodObject<
{
points: ZodArray<
ZodObject<{ label: ...; budget: ...; metrics: ... }, $loose>,
>;
forecast_range_unit: ZodOptional<
ZodUnion<
readonly [
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
],
>,
>;
method: ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>;
currency: ZodString;
demographic_system: ZodOptional<
ZodUnion<readonly [(...), (...), (...), (...), (...), (...)]>,
>;
demographic: ZodOptional<ZodString>;
measurement_source: ZodOptional<ZodString>;
reach_unit: ZodOptional<
ZodUnion<readonly [(...), (...), (...), (...), (...), (...)]>,
>;
generated_at: ZodOptional<ZodISODateTime>;
valid_until: ZodOptional<ZodISODateTime>;
ext: ZodOptional<ZodObject<{}, $loose>>;
},
$loose,
>,
>;
outcome_measurement: ZodOptional<
ZodObject<
{
type: ZodString;
attribution: ZodString;
window: ZodOptional<ZodObject<{ interval: ...; unit: ... }, $loose>>;
reporting: ZodString;
},
$loose,
>,
>;
delivery_measurement: ZodOptional<
ZodObject<
{ provider: ZodString; notes: ZodOptional<ZodString> },
$loose,
>,
>;
measurement_terms: ZodOptional<
ZodObject<
{
billing_measurement: ZodOptional<
ZodObject<
{
vendor: ...;
max_variance_percent: ...;
measurement_window: ...;
},
$loose,
>,
>;
makegood_policy: ZodOptional<
ZodObject<{ available_remedies: ... }, $loose>,
>;
},
$loose,
>,
>;
performance_standards: ZodOptional<
ZodArray<
ZodObject<
{
metric: ZodUnion<readonly [(...), (...), (...), (...), (...)]>;
threshold: ZodNumber;
standard: ZodOptional<ZodUnion<(...)>>;
vendor: ZodObject<
{
domain: ...;
brand_id: ...;
industries: ...;
data_subject_contestation: ...;
},
$loose,
>;
},
$loose,
>,
>,
>;
cancellation_policy: ZodOptional<
ZodObject<
{
notice_period: ZodObject<
{ interval: ZodNumber; unit: ZodUnion<(...)> },
$loose,
>;
cancellation_fee: ZodObject<
{
type: ZodUnion<(...)>;
rate: ZodOptional<(...)>;
amount: ZodOptional<(...)>;
},
$loose,
>;
},
$loose,
>,
>;
reporting_capabilities: ZodObject<
{
available_reporting_frequencies: ZodArray<
ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>,
>;
expected_delay_minutes: ZodNumber;
timezone: ZodString;
supports_webhooks: ZodBoolean;
available_metrics: ZodArray<
ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>,
>;
supports_creative_breakdown: ZodOptional<ZodBoolean>;
supports_keyword_breakdown: ZodOptional<ZodBoolean>;
supports_geo_breakdown: ZodOptional<
ZodObject<
{
country: ZodOptional<(...)>;
region: ZodOptional<(...)>;
metro: ZodOptional<(...)>;
postal_area: ZodOptional<(...)>;
},
$loose,
>,
>;
supports_device_type_breakdown: ZodOptional<ZodBoolean>;
supports_device_platform_breakdown: ZodOptional<ZodBoolean>;
supports_audience_breakdown: ZodOptional<ZodBoolean>;
supports_placement_breakdown: ZodOptional<ZodBoolean>;
date_range_support: ZodUnion<
readonly [ZodLiteral<"date_range">, ZodLiteral<"lifetime_only">],
>;
measurement_windows: ZodOptional<
ZodArray<
ZodObject<
{
window_id: ...;
description: ...;
duration_days: ...;
expected_availability_days: ...;
is_guarantee_basis: ...;
},
$loose,
>,
>,
>;
},
$loose,
>;
creative_policy: ZodOptional<
ZodObject<
{
co_branding: ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>;
landing_page: ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>;
templates_available: ZodBoolean;
provenance_required: ZodOptional<ZodBoolean>;
},
$loose,
>,
>;
is_custom: ZodOptional<ZodBoolean>;
property_targeting_allowed: ZodOptional<ZodBoolean>;
data_provider_signals: ZodOptional<
ZodArray<
ZodUnion<
readonly [
ZodObject<
{ data_provider_domain: ...; selection_type: ... },
$loose,
>,
ZodObject<
{
data_provider_domain: ...;
selection_type: ...;
signal_ids: ...;
},
$loose,
>,
ZodObject<
{
data_provider_domain: ...;
selection_type: ...;
signal_tags: ...;
},
$loose,
>,
],
>,
>,
>;
signal_targeting_allowed: ZodOptional<ZodBoolean>;
catalog_types: ZodOptional<
ZodArray<
ZodUnion<
readonly [
ZodLiteral<"offering">,
ZodLiteral<"product">,
ZodLiteral<"inventory">,
ZodLiteral<"store">,
ZodLiteral<"promotion">,
ZodLiteral<"hotel">,
ZodLiteral<"flight">,
ZodLiteral<"job">,
ZodLiteral<"vehicle">,
ZodLiteral<"real_estate">,
ZodLiteral<"education">,
ZodLiteral<"destination">,
ZodLiteral<"app">,
],
>,
>,
>;
metric_optimization: ZodOptional<
ZodObject<
{
supported_metrics: ZodArray<
ZodUnion<
readonly [
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
(...),
],
>,
>;
supported_reach_units: ZodOptional<ZodArray<ZodUnion<(...)>>>;
supported_view_durations: ZodOptional<ZodArray<ZodNumber>>;
supported_targets: ZodOptional<ZodArray<ZodUnion<(...)>>>;
},
$loose,
>,
>;
max_optimization_goals: ZodOptional<ZodNumber>;
measurement_readiness: ZodOptional<
ZodObject<
{
status: ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>;
required_event_types: ZodOptional<ZodArray<ZodUnion<(...)>>>;
missing_event_types: ZodOptional<ZodArray<ZodUnion<(...)>>>;
issues: ZodOptional<ZodArray<ZodObject<(...), (...)>>>;
notes: ZodOptional<ZodString>;
},
$loose,
>,
>;
conversion_tracking: ZodOptional<
ZodObject<
{
action_sources: ZodOptional<ZodArray<ZodUnion<(...)>>>;
supported_targets: ZodOptional<ZodArray<ZodUnion<(...)>>>;
platform_managed: ZodOptional<ZodBoolean>;
},
$loose,
>,
>;
catalog_match: ZodOptional<
ZodObject<
{
matched_gtins: ZodOptional<ZodArray<ZodString>>;
matched_ids: ZodOptional<ZodArray<ZodString>>;
matched_count: ZodOptional<ZodNumber>;
submitted_count: ZodNumber;
},
$loose,
>,
>;
brief_relevance: ZodOptional<ZodString>;
expires_at: ZodOptional<ZodISODateTime>;
product_card: ZodOptional<
ZodObject<
{
format_id: ZodObject<
{
agent_url: ZodString;
id: ZodString;
width: ZodOptional<(...)>;
height: ZodOptional<(...)>;
duration_ms: ZodOptional<(...)>;
},
$loose,
>;
manifest: ZodObject<{}, $loose>;
},
$loose,
>,
>;
product_card_detailed: ZodOptional<
ZodObject<
{
format_id: ZodObject<
{
agent_url: ZodString;
id: ZodString;
width: ZodOptional<(...)>;
height: ZodOptional<(...)>;
duration_ms: ZodOptional<(...)>;
},
$loose,
>;
manifest: ZodObject<{}, $loose>;
},
$loose,
>,
>;
collections: ZodOptional<
ZodArray<
ZodObject<
{
publisher_domain: ZodString;
collection_ids: ZodArray<ZodString>;
},
$loose,
>,
>,
>;
collection_targeting_allowed: ZodOptional<ZodBoolean>;
installments: ZodOptional<
ZodArray<
ZodObject<
{
installment_id: ZodString;
collection_id: ZodOptional<ZodString>;
name: ZodOptional<ZodString>;
season: ZodOptional<ZodString>;
installment_number: ZodOptional<ZodString>;
scheduled_at: ZodOptional<ZodISODateTime>;
status: ZodOptional<ZodUnion<(...)>>;
duration_seconds: ZodOptional<ZodNumber>;
flexible_end: ZodOptional<ZodBoolean>;
valid_until: ZodOptional<ZodISODateTime>;
content_rating: ZodOptional<ZodObject<(...), (...)>>;
topics: ZodOptional<ZodArray<(...)>>;
special: ZodOptional<ZodObject<(...), (...)>>;
guest_talent: ZodOptional<ZodArray<(...)>>;
ad_inventory: ZodOptional<ZodObject<(...), (...)>>;
deadlines: ZodOptional<ZodObject<(...), (...)>>;
derivative_of: ZodOptional<ZodObject<(...), (...)>>;
ext: ZodOptional<ZodObject<(...), (...)>>;
},
$loose,
>,
>,
>;
enforced_policies: ZodOptional<ZodArray<ZodString>>;
trusted_match: ZodOptional<
ZodObject<
{
context_match: ZodBoolean;
identity_match: ZodOptional<ZodBoolean>;
response_types: ZodOptional<ZodArray<ZodUnion<(...)>>>;
dynamic_brands: ZodOptional<ZodBoolean>;
providers: ZodOptional<ZodArray<ZodObject<(...), (...)>>>;
},
$loose,
>,
>;
material_submission: ZodOptional<
ZodObject<
{
url: ZodOptional<ZodString>;
email: ZodOptional<ZodEmail>;
instructions: ZodOptional<ZodString>;
ext: ZodOptional<ZodObject<{}, $loose>>;
},
$loose,
>,
>;
ext: ZodOptional<ZodObject<{}, $loose>>;
},
$loose,
>,
>;
proposals: ZodOptional<
ZodArray<
ZodObject<
{
proposal_id: ZodString;
name: ZodString;
description: ZodOptional<ZodString>;
allocations: ZodArray<
ZodObject<
{
product_id: ZodString;
allocation_percentage: ZodNumber;
pricing_option_id: ZodOptional<ZodString>;
rationale: ZodOptional<ZodString>;
sequence: ZodOptional<ZodNumber>;
tags: ZodOptional<ZodArray<(...)>>;
start_time: ZodOptional<ZodISODateTime>;
end_time: ZodOptional<ZodISODateTime>;
daypart_targets: ZodOptional<ZodArray<(...)>>;
forecast: ZodOptional<ZodObject<(...), (...)>>;
ext: ZodOptional<ZodObject<(...), (...)>>;
},
$loose,
>,
>;
proposal_status: ZodOptional<
ZodUnion<readonly [ZodLiteral<"draft">, ZodLiteral<"committed">]>,
>;
expires_at: ZodOptional<ZodISODateTime>;
insertion_order: ZodOptional<
ZodObject<
{
io_id: ZodString;
terms: ZodOptional<ZodObject<(...), (...)>>;
terms_url: ZodOptional<ZodString>;
signing_url: ZodOptional<ZodString>;
requires_signature: ZodBoolean;
},
$loose,
>,
>;
total_budget_guidance: ZodOptional<
ZodObject<
{
min: ZodOptional<ZodNumber>;
recommended: ZodOptional<ZodNumber>;
max: ZodOptional<ZodNumber>;
currency: ZodOptional<ZodString>;
},
$loose,
>,
>;
brief_alignment: ZodOptional<ZodString>;
forecast: ZodOptional<
ZodObject<
{
points: ZodArray<ZodObject<(...), (...)>>;
forecast_range_unit: ZodOptional<ZodUnion<(...)>>;
method: ZodUnion<readonly [(...), (...), (...)]>;
currency: ZodString;
demographic_system: ZodOptional<ZodUnion<(...)>>;
demographic: ZodOptional<ZodString>;
measurement_source: ZodOptional<ZodString>;
reach_unit: ZodOptional<ZodUnion<(...)>>;
generated_at: ZodOptional<ZodISODateTime>;
valid_until: ZodOptional<ZodISODateTime>;
ext: ZodOptional<ZodObject<(...), (...)>>;
},
$loose,
>,
>;
ext: ZodOptional<ZodObject<{}, $loose>>;
},
$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,
>,
>,
>;
property_list_applied: ZodOptional<ZodBoolean>;
catalog_applied: ZodOptional<ZodBoolean>;
refinement_applied: ZodOptional<
ZodArray<
ZodUnion<
readonly [
ZodObject<
{
scope: ZodLiteral<"request">;
status: ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>;
notes: ZodOptional<ZodString>;
},
$loose,
>,
ZodObject<
{
scope: ZodLiteral<"product">;
product_id: ZodString;
status: ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>;
notes: ZodOptional<ZodString>;
},
$loose,
>,
ZodObject<
{
scope: ZodLiteral<"proposal">;
proposal_id: ZodString;
status: ZodUnion<
readonly [
ZodLiteral<(...)>,
ZodLiteral<(...)>,
ZodLiteral<(...)>,
],
>;
notes: ZodOptional<ZodString>;
},
$loose,
>,
],
>,
>,
>;
incomplete: ZodOptional<
ZodArray<
ZodObject<
{
scope: ZodUnion<
readonly [
ZodLiteral<"products">,
ZodLiteral<"pricing">,
ZodLiteral<"forecast">,
ZodLiteral<"proposals">,
],
>;
description: ZodString;
estimated_wait: ZodOptional<
ZodObject<
{
interval: ZodNumber;
unit: ZodUnion<readonly [(...), (...), (...), (...), (...)]>;
},
$loose,
>,
>;
},
$loose,
>,
>,
>;
pagination: ZodOptional<
ZodObject<
{
has_more: ZodBoolean;
cursor: ZodOptional<ZodString>;
total_count: ZodOptional<ZodNumber>;
},
$loose,
>,
>;
sandbox: ZodOptional<ZodBoolean>;
context: ZodOptional<ZodObject<{}, $loose>>;
ext: ZodOptional<ZodObject<{}, $loose>>;
},
$loose,
> = ...