Variable AdCPAsyncResponseDataSchemaConst
AdCPAsyncResponseDataSchema: ZodUnion<
readonly [
ZodObject<
{
products: ZodArray<
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
ZodObject<
{
product_id: ZodString;
name: ZodString;
description: ZodString;
publisher_properties: ZodArray<
ZodUnion<readonly [(...), (...), (...)]>,
>;
format_ids: ZodArray<
ZodIntersection<
ZodRecord<(...), (...)>,
ZodObject<(...), (...)>,
>,
>;
placements: ZodOptional<ZodNullable<ZodArray<(...)>>>;
delivery_type: ZodUnion<
readonly [ZodLiteral<(...)>, ZodLiteral<(...)>],
>;
pricing_options: ZodArray<
ZodUnion<
readonly [(...), (...), (...), (...), (...), (...), (...)],
>,
>;
estimated_exposures: ZodOptional<ZodNullable<ZodNumber>>;
measurement: ZodOptional<ZodNullable<ZodIntersection<(...), (...)>>>;
delivery_measurement: ZodObject<
{ provider: ZodString; notes: ZodOptional<(...)> },
$strip,
>;
reporting_capabilities: ZodOptional<
ZodNullable<ZodIntersection<(...), (...)>>,
>;
creative_policy: ZodOptional<
ZodNullable<ZodIntersection<(...), (...)>>,
>;
is_custom: ZodOptional<ZodNullable<ZodBoolean>>;
property_targeting_allowed: ZodOptional<ZodNullable<ZodBoolean>>;
brief_relevance: ZodOptional<ZodNullable<ZodString>>;
expires_at: ZodOptional<ZodNullable<ZodString>>;
product_card: ZodOptional<
ZodNullable<ZodIntersection<(...), (...)>>,
>;
product_card_detailed: ZodOptional<
ZodNullable<ZodIntersection<(...), (...)>>,
>;
ext: ZodOptional<ZodNullable<ZodRecord<(...), (...)>>>;
},
$strip,
>,
>,
>;
proposals: ZodOptional<
ZodNullable<
ZodArray<
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
ZodObject<
{
proposal_id: ZodString;
name: ZodString;
description: ZodOptional<(...)>;
allocations: ZodArray<(...)>;
expires_at: ZodOptional<(...)>;
total_budget_guidance: ZodOptional<(...)>;
brief_alignment: ZodOptional<(...)>;
ext: ZodOptional<(...)>;
},
$strip,
>,
>,
>,
>,
>;
errors: ZodOptional<
ZodNullable<
ZodArray<
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
ZodObject<
{
code: ZodString;
message: ZodString;
field: ZodOptional<(...)>;
suggestion: ZodOptional<(...)>;
retry_after: ZodOptional<(...)>;
details: ZodOptional<(...)>;
},
$strip,
>,
>,
>,
>,
>;
property_list_applied: ZodOptional<ZodNullable<ZodBoolean>>;
context: ZodOptional<
ZodNullable<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
>,
>;
},
$strip,
>,
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
ZodObject<
{
percentage: ZodOptional<ZodNullable<ZodNumber>>;
current_step: ZodOptional<ZodNullable<ZodString>>;
total_steps: ZodOptional<ZodNullable<ZodNumber>>;
step_number: ZodOptional<ZodNullable<ZodNumber>>;
context: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
},
$strip,
>,
>,
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
ZodObject<
{
reason: ZodOptional<
ZodNullable<
ZodUnion<
readonly [
ZodLiteral<"CLARIFICATION_NEEDED">,
ZodLiteral<"BUDGET_REQUIRED">,
],
>,
>,
>;
partial_results: ZodOptional<
ZodNullable<
ZodArray<
ZodIntersection<
ZodRecord<ZodString, ZodUnion<(...)>>,
ZodObject<
{
product_id: ...;
name: ...;
description: ...;
publisher_properties: ...;
format_ids: ...;
placements: ...;
delivery_type: ...;
pricing_options: ...;
estimated_exposures: ...;
measurement: ...;
delivery_measurement: ...;
reporting_capabilities: ...;
creative_policy: ...;
is_custom: ...;
property_targeting_allowed: ...;
brief_relevance: ...;
expires_at: ...;
product_card: ...;
product_card_detailed: ...;
ext: ...;
},
$strip,
>,
>,
>,
>,
>;
suggestions: ZodOptional<ZodNullable<ZodArray<ZodString>>>;
context: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
},
$strip,
>,
>,
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
ZodObject<
{
estimated_completion: ZodOptional<ZodNullable<ZodString>>;
context: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
},
$strip,
>,
>,
ZodUnion<
readonly [
ZodObject<
{
media_buy_id: ZodString;
buyer_ref: ZodString;
account: ZodOptional<
ZodNullable<
ZodObject<
{
account_id: ZodString;
name: ZodString;
advertiser: ZodOptional<(...)>;
billing_proxy: ZodOptional<(...)>;
status: ZodUnion<(...)>;
rate_card: ZodOptional<(...)>;
payment_terms: ZodOptional<(...)>;
credit_limit: ZodOptional<(...)>;
ext: ZodOptional<(...)>;
},
$strip,
>,
>,
>;
creative_deadline: ZodOptional<ZodNullable<ZodString>>;
packages: ZodArray<
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
ZodObject<
{
package_id: ZodString;
buyer_ref: ZodOptional<(...)>;
product_id: ZodOptional<(...)>;
budget: ZodOptional<(...)>;
pacing: ZodOptional<(...)>;
pricing_option_id: ZodOptional<(...)>;
bid_price: ZodOptional<(...)>;
impressions: ZodOptional<(...)>;
targeting_overlay: ZodOptional<(...)>;
creative_assignments: ZodOptional<(...)>;
format_ids_to_provide: ZodOptional<(...)>;
paused: ZodOptional<(...)>;
ext: ZodOptional<(...)>;
},
$strip,
>,
>,
>;
context: ZodOptional<
ZodNullable<
ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
>,
>;
},
$strip,
>,
ZodObject<
{
errors: ZodArray<
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
ZodObject<
{
code: ZodString;
message: ZodString;
field: ZodOptional<(...)>;
suggestion: ZodOptional<(...)>;
retry_after: ZodOptional<(...)>;
details: ZodOptional<(...)>;
},
$strip,
>,
>,
>;
context: ZodOptional<
ZodNullable<
ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
>,
>;
},
$strip,
>,
],
>,
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
ZodObject<
{
percentage: ZodOptional<ZodNullable<ZodNumber>>;
current_step: ZodOptional<ZodNullable<ZodString>>;
total_steps: ZodOptional<ZodNullable<ZodNumber>>;
step_number: ZodOptional<ZodNullable<ZodNumber>>;
context: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
},
$strip,
>,
>,
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
ZodObject<
{
reason: ZodOptional<
ZodNullable<
ZodUnion<
readonly [
ZodLiteral<"APPROVAL_REQUIRED">,
ZodLiteral<"BUDGET_EXCEEDS_LIMIT">,
],
>,
>,
>;
errors: ZodOptional<
ZodNullable<
ZodArray<
ZodIntersection<
ZodRecord<ZodString, ZodUnion<(...)>>,
ZodObject<
{
code: ...;
message: ...;
field: ...;
suggestion: ...;
retry_after: ...;
details: ...;
},
$strip,
>,
>,
>,
>,
>;
context: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
},
$strip,
>,
>,
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
ZodObject<
{
context: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
},
$strip,
>,
>,
ZodUnion<
readonly [
ZodObject<
{
media_buy_id: ZodString;
buyer_ref: ZodString;
implementation_date: ZodNullable<ZodOptional<ZodNullable<ZodString>>>;
affected_packages: ZodOptional<
ZodNullable<
ZodArray<
ZodIntersection<
ZodRecord<(...), (...)>,
ZodObject<(...), (...)>,
>,
>,
>,
>;
context: ZodOptional<
ZodNullable<
ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
>,
>;
},
$strip,
>,
ZodObject<
{
errors: ZodArray<
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
ZodObject<
{
code: ZodString;
message: ZodString;
field: ZodOptional<(...)>;
suggestion: ZodOptional<(...)>;
retry_after: ZodOptional<(...)>;
details: ZodOptional<(...)>;
},
$strip,
>,
>,
>;
context: ZodOptional<
ZodNullable<
ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
>,
>;
},
$strip,
>,
],
>,
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
ZodObject<
{
percentage: ZodOptional<ZodNullable<ZodNumber>>;
current_step: ZodOptional<ZodNullable<ZodString>>;
total_steps: ZodOptional<ZodNullable<ZodNumber>>;
step_number: ZodOptional<ZodNullable<ZodNumber>>;
context: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
},
$strip,
>,
>,
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
ZodObject<
{
reason: ZodOptional<
ZodNullable<
ZodUnion<
readonly [
ZodLiteral<"APPROVAL_REQUIRED">,
ZodLiteral<"CHANGE_CONFIRMATION">,
],
>,
>,
>;
context: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
},
$strip,
>,
>,
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
ZodObject<
{
context: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
},
$strip,
>,
>,
ZodUnion<
readonly [
ZodObject<
{
dry_run: ZodOptional<ZodNullable<ZodBoolean>>;
creatives: ZodArray<
ZodObject<
{
creative_id: ZodString;
account: ZodOptional<ZodNullable<(...)>>;
action: ZodUnion<readonly [(...), (...), (...), (...), (...)]>;
platform_id: ZodOptional<ZodNullable<(...)>>;
changes: ZodOptional<ZodNullable<(...)>>;
errors: ZodOptional<ZodNullable<(...)>>;
warnings: ZodOptional<ZodNullable<(...)>>;
preview_url: ZodOptional<ZodNullable<(...)>>;
expires_at: ZodOptional<ZodNullable<(...)>>;
assigned_to: ZodOptional<ZodNullable<(...)>>;
assignment_errors: ZodOptional<ZodNullable<(...)>>;
},
$strip,
>,
>;
context: ZodOptional<
ZodNullable<
ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
>,
>;
},
$strip,
>,
ZodObject<
{
errors: ZodArray<
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
ZodObject<
{
code: ZodString;
message: ZodString;
field: ZodOptional<(...)>;
suggestion: ZodOptional<(...)>;
retry_after: ZodOptional<(...)>;
details: ZodOptional<(...)>;
},
$strip,
>,
>,
>;
context: ZodOptional<
ZodNullable<
ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<ZodString, ZodUnion<readonly [(...), (...)]>>,
>,
>;
},
$strip,
>,
],
>,
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
ZodObject<
{
percentage: ZodOptional<ZodNullable<ZodNumber>>;
current_step: ZodOptional<ZodNullable<ZodString>>;
total_steps: ZodOptional<ZodNullable<ZodNumber>>;
step_number: ZodOptional<ZodNullable<ZodNumber>>;
creatives_processed: ZodOptional<ZodNullable<ZodNumber>>;
creatives_total: ZodOptional<ZodNullable<ZodNumber>>;
context: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
},
$strip,
>,
>,
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
ZodObject<
{
reason: ZodOptional<
ZodNullable<
ZodUnion<
readonly [
ZodLiteral<"APPROVAL_REQUIRED">,
ZodLiteral<"ASSET_CONFIRMATION">,
ZodLiteral<"FORMAT_CLARIFICATION">,
],
>,
>,
>;
context: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
},
$strip,
>,
>,
ZodIntersection<
ZodRecord<ZodString, ZodUnion<readonly [ZodUnknown, ZodUndefined]>>,
ZodObject<
{
context: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
ext: ZodOptional<
ZodNullable<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodUnknown, ZodUndefined]>,
>,
>,
>;
},
$strip,
>,
>,
],
> = ...