@adcp/client 4.5.0 → 4.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4242,7 +4242,7 @@ export interface GetMediaBuysResponse {
4242
4242
  /**
4243
4243
  * Total budget amount across all packages, denominated in media_buy.currency
4244
4244
  */
4245
- total_budget: number;
4245
+ total_budget?: number;
4246
4246
  /**
4247
4247
  * ISO 8601 flight start time for this media buy (earliest package start_time). Avoids requiring buyers to compute min(packages[].start_time).
4248
4248
  */
@@ -4315,7 +4315,7 @@ export interface GetMediaBuysResponse {
4315
4315
  * Creative identifier
4316
4316
  */
4317
4317
  creative_id: string;
4318
- approval_status: CreativeApprovalStatus;
4318
+ approval_status?: CreativeApprovalStatus;
4319
4319
  /**
4320
4320
  * Human-readable explanation of why the creative was rejected. Present only when approval_status is 'rejected'.
4321
4321
  */
@@ -4545,7 +4545,7 @@ export interface GetMediaBuyDeliveryResponse {
4545
4545
  /**
4546
4546
  * ISO 4217 currency code
4547
4547
  */
4548
- currency: string;
4548
+ currency?: string;
4549
4549
  attribution_window?: AttributionWindow;
4550
4550
  /**
4551
4551
  * Combined metrics across all returned media buys. Only included in API responses (get_media_buy_delivery), not in webhook notifications.
@@ -4643,15 +4643,15 @@ export interface GetMediaBuyDeliveryResponse {
4643
4643
  * Delivery pace (1.0 = on track, <1.0 = behind, >1.0 = ahead)
4644
4644
  */
4645
4645
  pacing_index?: number;
4646
- pricing_model: PricingModel;
4646
+ pricing_model?: PricingModel;
4647
4647
  /**
4648
4648
  * The pricing rate for this package in the specified currency. For fixed-rate pricing, this is the agreed rate (e.g., CPM rate of 12.50 means $12.50 per 1,000 impressions). For auction-based pricing, this represents the effective rate based on actual delivery.
4649
4649
  */
4650
- rate: number;
4650
+ rate?: number;
4651
4651
  /**
4652
4652
  * ISO 4217 currency code (e.g., USD, EUR, GBP) for this package's pricing. Indicates the currency in which the rate and spend values are denominated. Different packages can use different currencies when supported by the publisher.
4653
4653
  */
4654
- currency: string;
4654
+ currency?: string;
4655
4655
  /**
4656
4656
  * System-reported operational state of this package. Reflects actual delivery state independent of buyer pause control.
4657
4657
  */
@@ -4667,7 +4667,7 @@ export interface GetMediaBuyDeliveryResponse {
4667
4667
  /**
4668
4668
  * Catalog item identifier (e.g., SKU, GTIN, job_id, offering_id)
4669
4669
  */
4670
- content_id: string;
4670
+ content_id?: string;
4671
4671
  content_id_type?: ContentIDType;
4672
4672
  })[];
4673
4673
  /**
@@ -4690,17 +4690,17 @@ export interface GetMediaBuyDeliveryResponse {
4690
4690
  /**
4691
4691
  * The targeted keyword
4692
4692
  */
4693
- keyword: string;
4693
+ keyword?: string;
4694
4694
  /**
4695
4695
  * Match type for this keyword
4696
4696
  */
4697
- match_type: 'broad' | 'phrase' | 'exact';
4697
+ match_type?: 'broad' | 'phrase' | 'exact';
4698
4698
  })[];
4699
4699
  /**
4700
4700
  * Delivery by geographic area within this package. Available when the buyer requests geo breakdown via reporting_dimensions and the seller supports it. Each dimension's rows are independent slices that should sum to the package total.
4701
4701
  */
4702
4702
  by_geo?: (DeliveryMetrics & {
4703
- geo_level: GeographicTargetingLevel;
4703
+ geo_level?: GeographicTargetingLevel;
4704
4704
  /**
4705
4705
  * Classification system for metro or postal_area levels (e.g., 'nielsen_dma', 'us_zip'). Present when geo_level is 'metro' or 'postal_area'.
4706
4706
  */
@@ -4708,7 +4708,7 @@ export interface GetMediaBuyDeliveryResponse {
4708
4708
  /**
4709
4709
  * Geographic code within the level and system. Country: ISO 3166-1 alpha-2 ('US'). Region: ISO 3166-2 with country prefix ('US-CA'). Metro/postal: system-specific code ('501', '10001').
4710
4710
  */
4711
- geo_code: string;
4711
+ geo_code?: string;
4712
4712
  /**
4713
4713
  * Human-readable geographic name (e.g., 'United States', 'California', 'New York DMA')
4714
4714
  */
@@ -4722,7 +4722,7 @@ export interface GetMediaBuyDeliveryResponse {
4722
4722
  * Delivery by device form factor within this package. Available when the buyer requests device_type breakdown via reporting_dimensions and the seller supports it.
4723
4723
  */
4724
4724
  by_device_type?: (DeliveryMetrics & {
4725
- device_type: DeviceType;
4725
+ device_type?: DeviceType;
4726
4726
  })[];
4727
4727
  /**
4728
4728
  * Whether by_device_type was truncated. Sellers MUST return this flag whenever by_device_type is present (false means the list is complete).
@@ -4732,7 +4732,7 @@ export interface GetMediaBuyDeliveryResponse {
4732
4732
  * Delivery by operating system within this package. Available when the buyer requests device_platform breakdown via reporting_dimensions and the seller supports it. Useful for CTV campaigns where tvOS vs Roku OS vs Fire OS matters.
4733
4733
  */
4734
4734
  by_device_platform?: (DeliveryMetrics & {
4735
- device_platform: DevicePlatform;
4735
+ device_platform?: DevicePlatform;
4736
4736
  })[];
4737
4737
  /**
4738
4738
  * Whether by_device_platform was truncated. Sellers MUST return this flag whenever by_device_platform is present (false means the list is complete).
@@ -4745,8 +4745,8 @@ export interface GetMediaBuyDeliveryResponse {
4745
4745
  /**
4746
4746
  * Audience segment identifier. For 'synced' source, matches audience_id from sync_audiences. For other sources, seller-defined.
4747
4747
  */
4748
- audience_id: string;
4749
- audience_source: AudienceSource;
4748
+ audience_id?: string;
4749
+ audience_source?: AudienceSource;
4750
4750
  /**
4751
4751
  * Human-readable audience segment name
4752
4752
  */
@@ -4763,7 +4763,7 @@ export interface GetMediaBuyDeliveryResponse {
4763
4763
  /**
4764
4764
  * Placement identifier from the product's placements array
4765
4765
  */
4766
- placement_id: string;
4766
+ placement_id?: string;
4767
4767
  /**
4768
4768
  * Human-readable placement name
4769
4769
  */