@trillboards/api-client 3.4.3 → 3.4.5

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.
@@ -17171,8 +17171,8 @@ type PartnerNetworkConfig = {
17171
17171
  ad_delivery?: {
17172
17172
  /** `/ads` response cache lifetime. Zero requires a fresh response for every request. */
17173
17173
  cache_max_age_seconds?: number;
17174
- /** Delegates resettable advertising identity to the native Google IMA SDK; the API never fabricates one. Set null to restore the platform default identity path. */
17175
- identity_mode?: "ima_sdk" | null;
17174
+ /** Use ima_sdk for native IMA advertising identity, or server_vast for a custom direct-VAST player. Direct players must declare actual muted state on each /ads request; Google requests omit unknown app/store and advertising identity. Set null to restore the platform default. Neither mode changes pacing. */
17175
+ identity_mode?: "ima_sdk" | "server_vast" | null;
17176
17176
  /** Fleet-wide hourly ad cap returned in `settings.max_ads_per_hour`. */
17177
17177
  max_ads_per_hour?: number;
17178
17178
  /** Requests non-personalized demand when true. Never provide an advertising identifier unless the OS legitimately exposes it. */
@@ -17181,6 +17181,8 @@ type PartnerNetworkConfig = {
17181
17181
  request_interval_seconds?: number;
17182
17182
  /** Controls whether a scheduled self-promo/house slot may lead the VAST waterfall. `scheduled_primary` preserves the bounded house cadence; `fallback_only` keeps self-promo behind paid programmatic demand; `disabled` removes the self-promo/house creative from your screens entirely — it is served on neither `ads[]` nor the VAST waterfall, and no new house creative is generated for your screens. Paid-direct guarantees always retain priority and are never affected. Set null to restore `scheduled_primary`. */
17183
17183
  self_promo_priority_mode?: "scheduled_primary" | "fallback_only" | "disabled" | null;
17184
+ /** Use the player's native or signed-observed app identity and verified supply mappings. Omit an unknown app instead of falling back to a generic Trillboards app. This changes app metadata only; SDK/advertising-ID delegation and pacing keep their existing settings. Direct server_vast players always use this policy. */
17185
+ use_player_app_identity?: boolean;
17184
17186
  };
17185
17187
  /** White-label presentation for your buyer-facing advertiser portal. These values are read and written directly against the branding your portal renders — a GET returns what a buyer currently sees, and a write takes effect on their next page load. Omitted entirely if no white-label portal is linked to your partner account; writing branding in that state returns `409` `white_label_distributor_not_linked` rather than accepting values that would render nowhere. Contact Trillboards to have one linked. */
17186
17188
  branding?: {
@@ -17248,7 +17250,7 @@ type PartnerReconciliationReports = {
17248
17250
  created_at: string;
17249
17251
  /** Wave 2 B added demand_partner_id INT + variant_id INT FKs. Legacy partner_key TEXT kept as wire-format alternate-key. Backfill via follow-up Wave 2 B-backfill PR. */
17250
17252
  demand_partner_id?: number | null;
17251
- /** VidVerto synced daily via vidvertoRevenueSync before programmatic earnings aggregation. */
17253
+ /** VidVerto and Adipolo sync daily (vidvertoRevenueSync, adipoloRevenueSync) before programmatic earnings aggregation; Adipolo CSV upload/backfill is only a manual recovery path. */
17252
17254
  id?: number | null;
17253
17255
  imported_by?: string | null;
17254
17256
  /** NUMERIC(8,4). */
@@ -17260,7 +17262,7 @@ type PartnerReconciliationReports = {
17260
17262
  /** NUMERIC(14,6). */
17261
17263
  our_revenue?: number | null;
17262
17264
  provider_name: string;
17263
- /** Adipolo publisher revenue requires a completed vast_requests lifecycle plus latest screens_live source='owned'. ID shape/event alone is insufficient; shared, external, and unjoined bundles are excl... */
17265
+ /** google_gam360 partner_api raw_data holds rows (appBundle per row), completion_rows and settlement_partition {dimension, version google_app_v1, digest}. Parts are recomputed from rows; a digest mism... */
17264
17266
  raw_data?: Record<string, unknown> | null;
17265
17267
  report_date: string;
17266
17268
  report_type: "partner_api" | "manual_upload" | "email_extract" | "dashboard_snapshot";
@@ -17271,6 +17273,7 @@ type PartnerReconciliationReports = {
17271
17273
  revenue_variance?: number | null;
17272
17274
  reviewed_at?: string | null;
17273
17275
  reviewed_by?: string | null;
17276
+ /** Parity: <=5% matched, >10% disputed (investigate events). Google is judged per app on completes: UTC impressions x Google's publisher-day completion rate vs PED. Receipt status is the apps' rollup;... */
17274
17277
  status: "pending" | "matched" | "flagged" | "disputed" | "resolved" | "accepted";
17275
17278
  /** NUMERIC(10,4). */
17276
17279
  their_ecpm?: number | null;
@@ -17171,8 +17171,8 @@ type PartnerNetworkConfig = {
17171
17171
  ad_delivery?: {
17172
17172
  /** `/ads` response cache lifetime. Zero requires a fresh response for every request. */
17173
17173
  cache_max_age_seconds?: number;
17174
- /** Delegates resettable advertising identity to the native Google IMA SDK; the API never fabricates one. Set null to restore the platform default identity path. */
17175
- identity_mode?: "ima_sdk" | null;
17174
+ /** Use ima_sdk for native IMA advertising identity, or server_vast for a custom direct-VAST player. Direct players must declare actual muted state on each /ads request; Google requests omit unknown app/store and advertising identity. Set null to restore the platform default. Neither mode changes pacing. */
17175
+ identity_mode?: "ima_sdk" | "server_vast" | null;
17176
17176
  /** Fleet-wide hourly ad cap returned in `settings.max_ads_per_hour`. */
17177
17177
  max_ads_per_hour?: number;
17178
17178
  /** Requests non-personalized demand when true. Never provide an advertising identifier unless the OS legitimately exposes it. */
@@ -17181,6 +17181,8 @@ type PartnerNetworkConfig = {
17181
17181
  request_interval_seconds?: number;
17182
17182
  /** Controls whether a scheduled self-promo/house slot may lead the VAST waterfall. `scheduled_primary` preserves the bounded house cadence; `fallback_only` keeps self-promo behind paid programmatic demand; `disabled` removes the self-promo/house creative from your screens entirely — it is served on neither `ads[]` nor the VAST waterfall, and no new house creative is generated for your screens. Paid-direct guarantees always retain priority and are never affected. Set null to restore `scheduled_primary`. */
17183
17183
  self_promo_priority_mode?: "scheduled_primary" | "fallback_only" | "disabled" | null;
17184
+ /** Use the player's native or signed-observed app identity and verified supply mappings. Omit an unknown app instead of falling back to a generic Trillboards app. This changes app metadata only; SDK/advertising-ID delegation and pacing keep their existing settings. Direct server_vast players always use this policy. */
17185
+ use_player_app_identity?: boolean;
17184
17186
  };
17185
17187
  /** White-label presentation for your buyer-facing advertiser portal. These values are read and written directly against the branding your portal renders — a GET returns what a buyer currently sees, and a write takes effect on their next page load. Omitted entirely if no white-label portal is linked to your partner account; writing branding in that state returns `409` `white_label_distributor_not_linked` rather than accepting values that would render nowhere. Contact Trillboards to have one linked. */
17186
17188
  branding?: {
@@ -17248,7 +17250,7 @@ type PartnerReconciliationReports = {
17248
17250
  created_at: string;
17249
17251
  /** Wave 2 B added demand_partner_id INT + variant_id INT FKs. Legacy partner_key TEXT kept as wire-format alternate-key. Backfill via follow-up Wave 2 B-backfill PR. */
17250
17252
  demand_partner_id?: number | null;
17251
- /** VidVerto synced daily via vidvertoRevenueSync before programmatic earnings aggregation. */
17253
+ /** VidVerto and Adipolo sync daily (vidvertoRevenueSync, adipoloRevenueSync) before programmatic earnings aggregation; Adipolo CSV upload/backfill is only a manual recovery path. */
17252
17254
  id?: number | null;
17253
17255
  imported_by?: string | null;
17254
17256
  /** NUMERIC(8,4). */
@@ -17260,7 +17262,7 @@ type PartnerReconciliationReports = {
17260
17262
  /** NUMERIC(14,6). */
17261
17263
  our_revenue?: number | null;
17262
17264
  provider_name: string;
17263
- /** Adipolo publisher revenue requires a completed vast_requests lifecycle plus latest screens_live source='owned'. ID shape/event alone is insufficient; shared, external, and unjoined bundles are excl... */
17265
+ /** google_gam360 partner_api raw_data holds rows (appBundle per row), completion_rows and settlement_partition {dimension, version google_app_v1, digest}. Parts are recomputed from rows; a digest mism... */
17264
17266
  raw_data?: Record<string, unknown> | null;
17265
17267
  report_date: string;
17266
17268
  report_type: "partner_api" | "manual_upload" | "email_extract" | "dashboard_snapshot";
@@ -17271,6 +17273,7 @@ type PartnerReconciliationReports = {
17271
17273
  revenue_variance?: number | null;
17272
17274
  reviewed_at?: string | null;
17273
17275
  reviewed_by?: string | null;
17276
+ /** Parity: <=5% matched, >10% disputed (investigate events). Google is judged per app on completes: UTC impressions x Google's publisher-day completion rate vs PED. Receipt status is the apps' rollup;... */
17274
17277
  status: "pending" | "matched" | "flagged" | "disputed" | "resolved" | "accepted";
17275
17278
  /** NUMERIC(10,4). */
17276
17279
  their_ecpm?: number | null;