@trillboards/api-client 3.7.28 → 3.7.30
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.
- package/dist/{chunk-O6HWQPH5.mjs → chunk-H7ILSF33.mjs} +2 -2
- package/dist/{chunk-O6HWQPH5.mjs.map → chunk-H7ILSF33.mjs.map} +1 -1
- package/dist/generated.d.mts +158 -18
- package/dist/generated.d.ts +158 -18
- package/dist/generated.js.map +1 -1
- package/dist/generated.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/generated.d.mts
CHANGED
|
@@ -16991,7 +16991,7 @@ type DeviceSummary = {
|
|
|
16991
16991
|
device_id?: string;
|
|
16992
16992
|
/** Saved mutable partner category, independent of advertising classification. Legacy devices without a saved declaration retain their previous numeric-derived label until explicitly updated. */
|
|
16993
16993
|
device_type?: string;
|
|
16994
|
-
/**
|
|
16994
|
+
/** Pixel width and height, physical width and height in inches, orientation, and pixels per inch. The pixel dimensions are returned as a pair when known. */
|
|
16995
16995
|
display?: Record<string, unknown>;
|
|
16996
16996
|
/** Static, unsigned player URL `https://screen.trillboards.com?fp=<fingerprint>`. It never expires or rotates, and is `null` until a screen is linked. */
|
|
16997
16997
|
embed_url?: string;
|
|
@@ -18055,6 +18055,8 @@ type EarnerScreens = {
|
|
|
18055
18055
|
taggify_screen_id?: string | null;
|
|
18056
18056
|
taxonomy_migrated_at?: string | null;
|
|
18057
18057
|
taxonomy_spec_version?: string | null;
|
|
18058
|
+
/** screen_venue_taxonomy owns taxonomy after JSONB drop; replaceScreenVenueTaxonomy and screenGenerationQueue write it. venue_business_name and venue_street_address store declared installation evidenc... */
|
|
18059
|
+
venue_business_name?: string | null;
|
|
18058
18060
|
venue_category?: string | null;
|
|
18059
18061
|
venue_child?: string | null;
|
|
18060
18062
|
venue_child_id?: string | null;
|
|
@@ -18063,6 +18065,7 @@ type EarnerScreens = {
|
|
|
18063
18065
|
venue_grandchild?: string | null;
|
|
18064
18066
|
venue_parent?: string | null;
|
|
18065
18067
|
venue_state?: string | null;
|
|
18068
|
+
venue_street_address?: string | null;
|
|
18066
18069
|
venue_subcategory?: string | null;
|
|
18067
18070
|
verified_connection_sources: number;
|
|
18068
18071
|
/** Player detach clears bit1 and increments verified_player_binding_epoch to fence old contexts, including same-device re-pair. Outages and replacement retain evidence; native cache invalidation propa... */
|
|
@@ -19949,7 +19952,7 @@ type PartnerRegistrationDisplaySettings = {
|
|
|
19949
19952
|
content_fit?: ContentFitSettings;
|
|
19950
19953
|
};
|
|
19951
19954
|
type PartnerRequirement = {
|
|
19952
|
-
/** Stable machine code, e.g. location_unresolvable, location_awaiting_device_gps, enrichment_failed, display_size_missing. */
|
|
19955
|
+
/** Stable machine code, e.g. location_unresolvable, location_awaiting_device_gps, venue_unconfirmed, enrichment_failed, display_size_missing. */
|
|
19953
19956
|
code?: string;
|
|
19954
19957
|
/** Built mechanically as `https://api.trillboards.com/docs/monetization-requirements#<code>`, so the anchor always matches `code`. A bare `docs.` subdomain is deliberately NOT used — it resolves to an unrelated portal SPA rather than documentation — and a CI guard blocks reintroducing it. */
|
|
19955
19958
|
doc_url?: string;
|
|
@@ -29938,10 +29941,8 @@ interface exportPartnerAdsByDayOperation {
|
|
|
29938
29941
|
campaign_type?: string;
|
|
29939
29942
|
completion_rate?: number;
|
|
29940
29943
|
date?: string;
|
|
29941
|
-
gross_revenue_cents?: number;
|
|
29942
29944
|
plays_completed?: number;
|
|
29943
|
-
publisher_revenue_cents?: number;
|
|
29944
|
-
publisher_share_rate?: number;
|
|
29945
|
+
publisher_revenue_cents?: number | null;
|
|
29945
29946
|
screen_name?: string;
|
|
29946
29947
|
}>;
|
|
29947
29948
|
status?: boolean;
|
|
@@ -30096,7 +30097,7 @@ interface getProximitySummaryOperation {
|
|
|
30096
30097
|
};
|
|
30097
30098
|
}
|
|
30098
30099
|
/**
|
|
30099
|
-
*
|
|
30100
|
+
* Credited programmatic earnings by day
|
|
30100
30101
|
* GET /v1/partner/analytics/revenue-attention-correlation
|
|
30101
30102
|
*/
|
|
30102
30103
|
interface getRevenueAttentionCorrelationOperation {
|
|
@@ -30111,8 +30112,17 @@ interface getRevenueAttentionCorrelationOperation {
|
|
|
30111
30112
|
headers?: Record<string, unknown>;
|
|
30112
30113
|
response: {
|
|
30113
30114
|
data?: {
|
|
30114
|
-
|
|
30115
|
-
|
|
30115
|
+
avgCPM?: number;
|
|
30116
|
+
highAttentionCPM?: number | null;
|
|
30117
|
+
lowAttentionCPM?: number | null;
|
|
30118
|
+
multiplier?: number | null;
|
|
30119
|
+
totalImpressions?: number;
|
|
30120
|
+
totalRevenue?: number;
|
|
30121
|
+
trend?: Array<{
|
|
30122
|
+
date?: string;
|
|
30123
|
+
impressions?: number;
|
|
30124
|
+
revenue?: number;
|
|
30125
|
+
}>;
|
|
30116
30126
|
};
|
|
30117
30127
|
status?: boolean;
|
|
30118
30128
|
};
|
|
@@ -31748,8 +31758,14 @@ interface registerDeviceOperation {
|
|
|
31748
31758
|
venue?: {
|
|
31749
31759
|
business_name?: string;
|
|
31750
31760
|
category?: "retail" | "restaurant" | "bar" | "cafe" | "hotel" | "office" | "gym" | "hospital" | "school" | "mall" | "airport" | "gas_station" | "convenience_store" | "laundromat" | "salon" | "auto_shop" | "other";
|
|
31761
|
+
/** OpenOOH child ID. */
|
|
31762
|
+
child_id?: number;
|
|
31751
31763
|
context_notes?: string;
|
|
31752
31764
|
environment_type?: "indoor" | "outdoor" | "semi_outdoor" | "transit";
|
|
31765
|
+
/** OpenOOH grandchild ID. Its parent and child are resolved when omitted. */
|
|
31766
|
+
grandchild_id?: number;
|
|
31767
|
+
/** OpenOOH parent ID. Must match a supplied child or grandchild. */
|
|
31768
|
+
parent_id?: number;
|
|
31753
31769
|
placement_type?: "digital_signage" | "point_of_sale" | "waiting_area" | "window_display" | "kiosk" | "other";
|
|
31754
31770
|
/** Free text subcategory (may be auto-enriched by AI) */
|
|
31755
31771
|
subcategory?: string;
|
|
@@ -31891,10 +31907,16 @@ interface updateDeviceOperation {
|
|
|
31891
31907
|
business_name?: string;
|
|
31892
31908
|
/** Granular venue type on WRITE (child-level slug). On READ this returns the resolved OpenOOH PARENT (e.g. "hotel" write -> "entertainment" read); the child slug rides `venue.subcategory` and the numeric child id rides `venue.openooh_venue_type_id`. */
|
|
31893
31909
|
category?: "retail" | "restaurant" | "bar" | "cafe" | "hotel" | "office" | "gym" | "hospital" | "school" | "mall" | "airport" | "gas_station" | "convenience_store" | "laundromat" | "salon" | "auto_shop" | "other";
|
|
31910
|
+
/** OpenOOH child ID. */
|
|
31911
|
+
child_id?: number;
|
|
31894
31912
|
context_notes?: string;
|
|
31895
31913
|
environment_type?: "indoor" | "outdoor" | "semi_outdoor" | "transit";
|
|
31914
|
+
/** OpenOOH grandchild ID. Its parent and child are resolved when omitted. */
|
|
31915
|
+
grandchild_id?: number;
|
|
31896
31916
|
/** Response-only. Canonical OpenOOH child id to reconcile the declared venue type against (e.g. 807 for hotels). */
|
|
31897
31917
|
openooh_venue_type_id?: number;
|
|
31918
|
+
/** OpenOOH parent ID. Must match a supplied child or grandchild. */
|
|
31919
|
+
parent_id?: number;
|
|
31898
31920
|
placement_type?: "digital_signage" | "point_of_sale" | "waiting_area" | "window_display" | "kiosk" | "other";
|
|
31899
31921
|
/** OpenOOH child slug (e.g. "hotels"). Free text on write; resolved on read. */
|
|
31900
31922
|
subcategory?: string;
|
|
@@ -32255,41 +32277,109 @@ interface registerDeviceV2Operation {
|
|
|
32255
32277
|
readonly path: "/v1/partner/devices";
|
|
32256
32278
|
readonly method: "POST";
|
|
32257
32279
|
request: {
|
|
32258
|
-
|
|
32280
|
+
description?: string;
|
|
32281
|
+
device_class?: "camera";
|
|
32282
|
+
/** Your device label for fleet management. */
|
|
32283
|
+
device_type?: "tv" | "tablet" | "display" | "kiosk" | "other" | "mobile" | "connected_tv" | "digital_signage" | "vending_machine";
|
|
32284
|
+
/** Actual physical or pixel dimensions. In inches mode, you can also send the real pixel width and height together. */
|
|
32259
32285
|
display?: {
|
|
32260
|
-
|
|
32286
|
+
height?: number;
|
|
32261
32287
|
height_in: number;
|
|
32262
32288
|
mode: "inches";
|
|
32263
|
-
|
|
32289
|
+
orientation?: "landscape" | "portrait" | "mixed" | "unknown";
|
|
32290
|
+
width?: number;
|
|
32264
32291
|
width_in: number;
|
|
32265
32292
|
} | {
|
|
32266
32293
|
height: number;
|
|
32267
32294
|
mode: "pixels_with_ppi";
|
|
32295
|
+
orientation?: "landscape" | "portrait" | "mixed" | "unknown";
|
|
32268
32296
|
ppi: number;
|
|
32269
32297
|
width: number;
|
|
32270
32298
|
} | {
|
|
32271
32299
|
height: number;
|
|
32272
32300
|
mode: "pixels_only";
|
|
32301
|
+
orientation?: "landscape" | "portrait" | "mixed" | "unknown";
|
|
32273
32302
|
width: number;
|
|
32274
32303
|
};
|
|
32304
|
+
display_settings?: {
|
|
32305
|
+
content_fit?: {
|
|
32306
|
+
advertisements?: "fit" | "fill";
|
|
32307
|
+
default_streams?: "fit" | "fill";
|
|
32308
|
+
self_promo?: "fit" | "fill";
|
|
32309
|
+
};
|
|
32310
|
+
};
|
|
32275
32311
|
/** Your stable per-device identifier (e.g. "REC00005"). */
|
|
32276
32312
|
external_id: string;
|
|
32277
|
-
/**
|
|
32313
|
+
/** Actual hardware and operating system details. */
|
|
32278
32314
|
hardware?: {
|
|
32315
|
+
hwv?: string;
|
|
32279
32316
|
make?: string;
|
|
32280
32317
|
model?: string;
|
|
32281
32318
|
os?: "Android" | "iOS" | "Tizen" | "WebOS" | "Linux" | "FireOS" | "Other";
|
|
32282
32319
|
osv?: string;
|
|
32283
32320
|
};
|
|
32284
|
-
/**
|
|
32321
|
+
/** Actual installation address and coordinates. You may provide both. If providing coordinates, send both latitude and longitude. */
|
|
32285
32322
|
location?: {
|
|
32286
|
-
|
|
32287
|
-
|
|
32288
|
-
|
|
32289
|
-
|
|
32323
|
+
address?: string;
|
|
32324
|
+
city?: string;
|
|
32325
|
+
/** ISO 3166-1 alpha-2 or alpha-3. */
|
|
32326
|
+
country?: string;
|
|
32327
|
+
lat?: number;
|
|
32328
|
+
lng?: number;
|
|
32329
|
+
state?: string;
|
|
32330
|
+
timezone?: string;
|
|
32331
|
+
/** Alternate input for the actual host business name. */
|
|
32332
|
+
venue_name?: string;
|
|
32333
|
+
/** Legacy alias for a venue slug. */
|
|
32334
|
+
venue_type?: string;
|
|
32335
|
+
zip?: string;
|
|
32336
|
+
};
|
|
32337
|
+
mobile_settings?: {
|
|
32338
|
+
distance_threshold_meters?: number;
|
|
32339
|
+
enabled?: boolean;
|
|
32340
|
+
update_interval_seconds?: number;
|
|
32341
|
+
vehicle_type?: "taxi" | "rideshare" | "delivery" | "bus" | "food_truck" | "other";
|
|
32290
32342
|
};
|
|
32343
|
+
mobility_type?: "static" | "mobile" | "semi_mobile";
|
|
32344
|
+
/** Device display name. Use venue.business_name for the actual host. */
|
|
32345
|
+
name?: string;
|
|
32346
|
+
/** Schedule for the physical display. For a daily window, include both start_time and end_time in local time. */
|
|
32347
|
+
operating_hours?: {
|
|
32348
|
+
active_from?: string;
|
|
32349
|
+
active_until?: string;
|
|
32350
|
+
end_time?: string;
|
|
32351
|
+
mode: "always_on" | "daily_window";
|
|
32352
|
+
start_time?: string;
|
|
32353
|
+
timezone: string;
|
|
32354
|
+
};
|
|
32355
|
+
/** An HTTP or HTTPS photo of this actual installation. */
|
|
32356
|
+
photo_url?: string;
|
|
32357
|
+
photos?: Array<{
|
|
32358
|
+
type?: string;
|
|
32359
|
+
url: string;
|
|
32360
|
+
}>;
|
|
32361
|
+
placement?: {
|
|
32362
|
+
height_from_floor_ft?: number;
|
|
32363
|
+
mounting_type?: "wall" | "ceiling" | "tabletop" | "window" | "stand" | "freestanding" | "floor_stand" | "counter" | "pole" | "vehicle" | "other" | "unknown";
|
|
32364
|
+
orientation?: "landscape" | "portrait" | "mixed" | "unknown";
|
|
32365
|
+
viewing_distance_ft?: number;
|
|
32366
|
+
};
|
|
32367
|
+
sensing_only?: boolean;
|
|
32291
32368
|
/** The device's real WebView User-Agent. Must include a Build fingerprint and be unique per device. */
|
|
32292
32369
|
ua: string;
|
|
32370
|
+
/** The actual place where the audience sees the screen. Send category and subcategory slugs or the corresponding OpenOOH 1.2 IDs. If both forms are sent, they must describe the same venue. */
|
|
32371
|
+
venue?: {
|
|
32372
|
+
/** The host business, such as the hotel containing the ATM. */
|
|
32373
|
+
business_name?: string;
|
|
32374
|
+
category?: string;
|
|
32375
|
+
child_id?: number;
|
|
32376
|
+
context_notes?: string;
|
|
32377
|
+
environment_type?: "indoor" | "outdoor" | "transit" | "mixed";
|
|
32378
|
+
grandchild_id?: number;
|
|
32379
|
+
parent_id?: number;
|
|
32380
|
+
placement_type?: string;
|
|
32381
|
+
subcategory?: string;
|
|
32382
|
+
};
|
|
32293
32383
|
};
|
|
32294
32384
|
requestRequired?: true;
|
|
32295
32385
|
params: Record<string, unknown>;
|
|
@@ -32299,6 +32389,14 @@ interface registerDeviceV2Operation {
|
|
|
32299
32389
|
data?: {
|
|
32300
32390
|
device_id?: string;
|
|
32301
32391
|
diagnostics_url?: string;
|
|
32392
|
+
display?: {
|
|
32393
|
+
height?: number | null;
|
|
32394
|
+
height_in?: number | null;
|
|
32395
|
+
orientation?: string;
|
|
32396
|
+
ppi?: number | null;
|
|
32397
|
+
width?: number | null;
|
|
32398
|
+
width_in?: number | null;
|
|
32399
|
+
};
|
|
32302
32400
|
/** Paste into an iframe to start serving. */
|
|
32303
32401
|
embed_url?: string;
|
|
32304
32402
|
/** Server-derived canonical device identity. */
|
|
@@ -32311,6 +32409,38 @@ interface registerDeviceV2Operation {
|
|
|
32311
32409
|
os?: string | null;
|
|
32312
32410
|
osv?: string | null;
|
|
32313
32411
|
};
|
|
32412
|
+
location?: {
|
|
32413
|
+
address?: string | null;
|
|
32414
|
+
city?: string | null;
|
|
32415
|
+
country?: string | null;
|
|
32416
|
+
lat?: number | null;
|
|
32417
|
+
lng?: number | null;
|
|
32418
|
+
state?: string | null;
|
|
32419
|
+
timezone?: string | null;
|
|
32420
|
+
venue_name?: string | null;
|
|
32421
|
+
venue_type?: string | null;
|
|
32422
|
+
zip?: string | null;
|
|
32423
|
+
};
|
|
32424
|
+
location_capability?: PartnerLocationCapability;
|
|
32425
|
+
/** Readiness of the registered inventory data. */
|
|
32426
|
+
monetization_status?: "ready" | "limited" | "blocked";
|
|
32427
|
+
operating_hours?: Record<string, unknown> | null;
|
|
32428
|
+
requirements?: PartnerMonetizationRequirements;
|
|
32429
|
+
/** Server ID of the linked screen. */
|
|
32430
|
+
screen_id?: string;
|
|
32431
|
+
venue?: {
|
|
32432
|
+
business_name?: string | null;
|
|
32433
|
+
category?: string | null;
|
|
32434
|
+
child_id?: number | null;
|
|
32435
|
+
environment_type?: string | null;
|
|
32436
|
+
grandchild?: string | null;
|
|
32437
|
+
grandchild_id?: number | null;
|
|
32438
|
+
openooh_venue_type_id?: number | null;
|
|
32439
|
+
parent_id?: number | null;
|
|
32440
|
+
placement_type?: string | null;
|
|
32441
|
+
source?: string | null;
|
|
32442
|
+
subcategory?: string | null;
|
|
32443
|
+
};
|
|
32314
32444
|
};
|
|
32315
32445
|
success?: boolean;
|
|
32316
32446
|
};
|
|
@@ -32335,7 +32465,17 @@ interface registerDevicesBatchOperation {
|
|
|
32335
32465
|
location?: Record<string, unknown>;
|
|
32336
32466
|
name?: string;
|
|
32337
32467
|
placement?: Record<string, unknown>;
|
|
32338
|
-
venue?:
|
|
32468
|
+
venue?: {
|
|
32469
|
+
business_name?: string;
|
|
32470
|
+
category?: string;
|
|
32471
|
+
child_id?: number;
|
|
32472
|
+
context_notes?: string;
|
|
32473
|
+
environment_type?: string;
|
|
32474
|
+
grandchild_id?: number;
|
|
32475
|
+
parent_id?: number;
|
|
32476
|
+
placement_type?: string;
|
|
32477
|
+
subcategory?: string;
|
|
32478
|
+
};
|
|
32339
32479
|
}>;
|
|
32340
32480
|
};
|
|
32341
32481
|
requestRequired?: true;
|
package/dist/generated.d.ts
CHANGED
|
@@ -16991,7 +16991,7 @@ type DeviceSummary = {
|
|
|
16991
16991
|
device_id?: string;
|
|
16992
16992
|
/** Saved mutable partner category, independent of advertising classification. Legacy devices without a saved declaration retain their previous numeric-derived label until explicitly updated. */
|
|
16993
16993
|
device_type?: string;
|
|
16994
|
-
/**
|
|
16994
|
+
/** Pixel width and height, physical width and height in inches, orientation, and pixels per inch. The pixel dimensions are returned as a pair when known. */
|
|
16995
16995
|
display?: Record<string, unknown>;
|
|
16996
16996
|
/** Static, unsigned player URL `https://screen.trillboards.com?fp=<fingerprint>`. It never expires or rotates, and is `null` until a screen is linked. */
|
|
16997
16997
|
embed_url?: string;
|
|
@@ -18055,6 +18055,8 @@ type EarnerScreens = {
|
|
|
18055
18055
|
taggify_screen_id?: string | null;
|
|
18056
18056
|
taxonomy_migrated_at?: string | null;
|
|
18057
18057
|
taxonomy_spec_version?: string | null;
|
|
18058
|
+
/** screen_venue_taxonomy owns taxonomy after JSONB drop; replaceScreenVenueTaxonomy and screenGenerationQueue write it. venue_business_name and venue_street_address store declared installation evidenc... */
|
|
18059
|
+
venue_business_name?: string | null;
|
|
18058
18060
|
venue_category?: string | null;
|
|
18059
18061
|
venue_child?: string | null;
|
|
18060
18062
|
venue_child_id?: string | null;
|
|
@@ -18063,6 +18065,7 @@ type EarnerScreens = {
|
|
|
18063
18065
|
venue_grandchild?: string | null;
|
|
18064
18066
|
venue_parent?: string | null;
|
|
18065
18067
|
venue_state?: string | null;
|
|
18068
|
+
venue_street_address?: string | null;
|
|
18066
18069
|
venue_subcategory?: string | null;
|
|
18067
18070
|
verified_connection_sources: number;
|
|
18068
18071
|
/** Player detach clears bit1 and increments verified_player_binding_epoch to fence old contexts, including same-device re-pair. Outages and replacement retain evidence; native cache invalidation propa... */
|
|
@@ -19949,7 +19952,7 @@ type PartnerRegistrationDisplaySettings = {
|
|
|
19949
19952
|
content_fit?: ContentFitSettings;
|
|
19950
19953
|
};
|
|
19951
19954
|
type PartnerRequirement = {
|
|
19952
|
-
/** Stable machine code, e.g. location_unresolvable, location_awaiting_device_gps, enrichment_failed, display_size_missing. */
|
|
19955
|
+
/** Stable machine code, e.g. location_unresolvable, location_awaiting_device_gps, venue_unconfirmed, enrichment_failed, display_size_missing. */
|
|
19953
19956
|
code?: string;
|
|
19954
19957
|
/** Built mechanically as `https://api.trillboards.com/docs/monetization-requirements#<code>`, so the anchor always matches `code`. A bare `docs.` subdomain is deliberately NOT used — it resolves to an unrelated portal SPA rather than documentation — and a CI guard blocks reintroducing it. */
|
|
19955
19958
|
doc_url?: string;
|
|
@@ -29938,10 +29941,8 @@ interface exportPartnerAdsByDayOperation {
|
|
|
29938
29941
|
campaign_type?: string;
|
|
29939
29942
|
completion_rate?: number;
|
|
29940
29943
|
date?: string;
|
|
29941
|
-
gross_revenue_cents?: number;
|
|
29942
29944
|
plays_completed?: number;
|
|
29943
|
-
publisher_revenue_cents?: number;
|
|
29944
|
-
publisher_share_rate?: number;
|
|
29945
|
+
publisher_revenue_cents?: number | null;
|
|
29945
29946
|
screen_name?: string;
|
|
29946
29947
|
}>;
|
|
29947
29948
|
status?: boolean;
|
|
@@ -30096,7 +30097,7 @@ interface getProximitySummaryOperation {
|
|
|
30096
30097
|
};
|
|
30097
30098
|
}
|
|
30098
30099
|
/**
|
|
30099
|
-
*
|
|
30100
|
+
* Credited programmatic earnings by day
|
|
30100
30101
|
* GET /v1/partner/analytics/revenue-attention-correlation
|
|
30101
30102
|
*/
|
|
30102
30103
|
interface getRevenueAttentionCorrelationOperation {
|
|
@@ -30111,8 +30112,17 @@ interface getRevenueAttentionCorrelationOperation {
|
|
|
30111
30112
|
headers?: Record<string, unknown>;
|
|
30112
30113
|
response: {
|
|
30113
30114
|
data?: {
|
|
30114
|
-
|
|
30115
|
-
|
|
30115
|
+
avgCPM?: number;
|
|
30116
|
+
highAttentionCPM?: number | null;
|
|
30117
|
+
lowAttentionCPM?: number | null;
|
|
30118
|
+
multiplier?: number | null;
|
|
30119
|
+
totalImpressions?: number;
|
|
30120
|
+
totalRevenue?: number;
|
|
30121
|
+
trend?: Array<{
|
|
30122
|
+
date?: string;
|
|
30123
|
+
impressions?: number;
|
|
30124
|
+
revenue?: number;
|
|
30125
|
+
}>;
|
|
30116
30126
|
};
|
|
30117
30127
|
status?: boolean;
|
|
30118
30128
|
};
|
|
@@ -31748,8 +31758,14 @@ interface registerDeviceOperation {
|
|
|
31748
31758
|
venue?: {
|
|
31749
31759
|
business_name?: string;
|
|
31750
31760
|
category?: "retail" | "restaurant" | "bar" | "cafe" | "hotel" | "office" | "gym" | "hospital" | "school" | "mall" | "airport" | "gas_station" | "convenience_store" | "laundromat" | "salon" | "auto_shop" | "other";
|
|
31761
|
+
/** OpenOOH child ID. */
|
|
31762
|
+
child_id?: number;
|
|
31751
31763
|
context_notes?: string;
|
|
31752
31764
|
environment_type?: "indoor" | "outdoor" | "semi_outdoor" | "transit";
|
|
31765
|
+
/** OpenOOH grandchild ID. Its parent and child are resolved when omitted. */
|
|
31766
|
+
grandchild_id?: number;
|
|
31767
|
+
/** OpenOOH parent ID. Must match a supplied child or grandchild. */
|
|
31768
|
+
parent_id?: number;
|
|
31753
31769
|
placement_type?: "digital_signage" | "point_of_sale" | "waiting_area" | "window_display" | "kiosk" | "other";
|
|
31754
31770
|
/** Free text subcategory (may be auto-enriched by AI) */
|
|
31755
31771
|
subcategory?: string;
|
|
@@ -31891,10 +31907,16 @@ interface updateDeviceOperation {
|
|
|
31891
31907
|
business_name?: string;
|
|
31892
31908
|
/** Granular venue type on WRITE (child-level slug). On READ this returns the resolved OpenOOH PARENT (e.g. "hotel" write -> "entertainment" read); the child slug rides `venue.subcategory` and the numeric child id rides `venue.openooh_venue_type_id`. */
|
|
31893
31909
|
category?: "retail" | "restaurant" | "bar" | "cafe" | "hotel" | "office" | "gym" | "hospital" | "school" | "mall" | "airport" | "gas_station" | "convenience_store" | "laundromat" | "salon" | "auto_shop" | "other";
|
|
31910
|
+
/** OpenOOH child ID. */
|
|
31911
|
+
child_id?: number;
|
|
31894
31912
|
context_notes?: string;
|
|
31895
31913
|
environment_type?: "indoor" | "outdoor" | "semi_outdoor" | "transit";
|
|
31914
|
+
/** OpenOOH grandchild ID. Its parent and child are resolved when omitted. */
|
|
31915
|
+
grandchild_id?: number;
|
|
31896
31916
|
/** Response-only. Canonical OpenOOH child id to reconcile the declared venue type against (e.g. 807 for hotels). */
|
|
31897
31917
|
openooh_venue_type_id?: number;
|
|
31918
|
+
/** OpenOOH parent ID. Must match a supplied child or grandchild. */
|
|
31919
|
+
parent_id?: number;
|
|
31898
31920
|
placement_type?: "digital_signage" | "point_of_sale" | "waiting_area" | "window_display" | "kiosk" | "other";
|
|
31899
31921
|
/** OpenOOH child slug (e.g. "hotels"). Free text on write; resolved on read. */
|
|
31900
31922
|
subcategory?: string;
|
|
@@ -32255,41 +32277,109 @@ interface registerDeviceV2Operation {
|
|
|
32255
32277
|
readonly path: "/v1/partner/devices";
|
|
32256
32278
|
readonly method: "POST";
|
|
32257
32279
|
request: {
|
|
32258
|
-
|
|
32280
|
+
description?: string;
|
|
32281
|
+
device_class?: "camera";
|
|
32282
|
+
/** Your device label for fleet management. */
|
|
32283
|
+
device_type?: "tv" | "tablet" | "display" | "kiosk" | "other" | "mobile" | "connected_tv" | "digital_signage" | "vending_machine";
|
|
32284
|
+
/** Actual physical or pixel dimensions. In inches mode, you can also send the real pixel width and height together. */
|
|
32259
32285
|
display?: {
|
|
32260
|
-
|
|
32286
|
+
height?: number;
|
|
32261
32287
|
height_in: number;
|
|
32262
32288
|
mode: "inches";
|
|
32263
|
-
|
|
32289
|
+
orientation?: "landscape" | "portrait" | "mixed" | "unknown";
|
|
32290
|
+
width?: number;
|
|
32264
32291
|
width_in: number;
|
|
32265
32292
|
} | {
|
|
32266
32293
|
height: number;
|
|
32267
32294
|
mode: "pixels_with_ppi";
|
|
32295
|
+
orientation?: "landscape" | "portrait" | "mixed" | "unknown";
|
|
32268
32296
|
ppi: number;
|
|
32269
32297
|
width: number;
|
|
32270
32298
|
} | {
|
|
32271
32299
|
height: number;
|
|
32272
32300
|
mode: "pixels_only";
|
|
32301
|
+
orientation?: "landscape" | "portrait" | "mixed" | "unknown";
|
|
32273
32302
|
width: number;
|
|
32274
32303
|
};
|
|
32304
|
+
display_settings?: {
|
|
32305
|
+
content_fit?: {
|
|
32306
|
+
advertisements?: "fit" | "fill";
|
|
32307
|
+
default_streams?: "fit" | "fill";
|
|
32308
|
+
self_promo?: "fit" | "fill";
|
|
32309
|
+
};
|
|
32310
|
+
};
|
|
32275
32311
|
/** Your stable per-device identifier (e.g. "REC00005"). */
|
|
32276
32312
|
external_id: string;
|
|
32277
|
-
/**
|
|
32313
|
+
/** Actual hardware and operating system details. */
|
|
32278
32314
|
hardware?: {
|
|
32315
|
+
hwv?: string;
|
|
32279
32316
|
make?: string;
|
|
32280
32317
|
model?: string;
|
|
32281
32318
|
os?: "Android" | "iOS" | "Tizen" | "WebOS" | "Linux" | "FireOS" | "Other";
|
|
32282
32319
|
osv?: string;
|
|
32283
32320
|
};
|
|
32284
|
-
/**
|
|
32321
|
+
/** Actual installation address and coordinates. You may provide both. If providing coordinates, send both latitude and longitude. */
|
|
32285
32322
|
location?: {
|
|
32286
|
-
|
|
32287
|
-
|
|
32288
|
-
|
|
32289
|
-
|
|
32323
|
+
address?: string;
|
|
32324
|
+
city?: string;
|
|
32325
|
+
/** ISO 3166-1 alpha-2 or alpha-3. */
|
|
32326
|
+
country?: string;
|
|
32327
|
+
lat?: number;
|
|
32328
|
+
lng?: number;
|
|
32329
|
+
state?: string;
|
|
32330
|
+
timezone?: string;
|
|
32331
|
+
/** Alternate input for the actual host business name. */
|
|
32332
|
+
venue_name?: string;
|
|
32333
|
+
/** Legacy alias for a venue slug. */
|
|
32334
|
+
venue_type?: string;
|
|
32335
|
+
zip?: string;
|
|
32336
|
+
};
|
|
32337
|
+
mobile_settings?: {
|
|
32338
|
+
distance_threshold_meters?: number;
|
|
32339
|
+
enabled?: boolean;
|
|
32340
|
+
update_interval_seconds?: number;
|
|
32341
|
+
vehicle_type?: "taxi" | "rideshare" | "delivery" | "bus" | "food_truck" | "other";
|
|
32290
32342
|
};
|
|
32343
|
+
mobility_type?: "static" | "mobile" | "semi_mobile";
|
|
32344
|
+
/** Device display name. Use venue.business_name for the actual host. */
|
|
32345
|
+
name?: string;
|
|
32346
|
+
/** Schedule for the physical display. For a daily window, include both start_time and end_time in local time. */
|
|
32347
|
+
operating_hours?: {
|
|
32348
|
+
active_from?: string;
|
|
32349
|
+
active_until?: string;
|
|
32350
|
+
end_time?: string;
|
|
32351
|
+
mode: "always_on" | "daily_window";
|
|
32352
|
+
start_time?: string;
|
|
32353
|
+
timezone: string;
|
|
32354
|
+
};
|
|
32355
|
+
/** An HTTP or HTTPS photo of this actual installation. */
|
|
32356
|
+
photo_url?: string;
|
|
32357
|
+
photos?: Array<{
|
|
32358
|
+
type?: string;
|
|
32359
|
+
url: string;
|
|
32360
|
+
}>;
|
|
32361
|
+
placement?: {
|
|
32362
|
+
height_from_floor_ft?: number;
|
|
32363
|
+
mounting_type?: "wall" | "ceiling" | "tabletop" | "window" | "stand" | "freestanding" | "floor_stand" | "counter" | "pole" | "vehicle" | "other" | "unknown";
|
|
32364
|
+
orientation?: "landscape" | "portrait" | "mixed" | "unknown";
|
|
32365
|
+
viewing_distance_ft?: number;
|
|
32366
|
+
};
|
|
32367
|
+
sensing_only?: boolean;
|
|
32291
32368
|
/** The device's real WebView User-Agent. Must include a Build fingerprint and be unique per device. */
|
|
32292
32369
|
ua: string;
|
|
32370
|
+
/** The actual place where the audience sees the screen. Send category and subcategory slugs or the corresponding OpenOOH 1.2 IDs. If both forms are sent, they must describe the same venue. */
|
|
32371
|
+
venue?: {
|
|
32372
|
+
/** The host business, such as the hotel containing the ATM. */
|
|
32373
|
+
business_name?: string;
|
|
32374
|
+
category?: string;
|
|
32375
|
+
child_id?: number;
|
|
32376
|
+
context_notes?: string;
|
|
32377
|
+
environment_type?: "indoor" | "outdoor" | "transit" | "mixed";
|
|
32378
|
+
grandchild_id?: number;
|
|
32379
|
+
parent_id?: number;
|
|
32380
|
+
placement_type?: string;
|
|
32381
|
+
subcategory?: string;
|
|
32382
|
+
};
|
|
32293
32383
|
};
|
|
32294
32384
|
requestRequired?: true;
|
|
32295
32385
|
params: Record<string, unknown>;
|
|
@@ -32299,6 +32389,14 @@ interface registerDeviceV2Operation {
|
|
|
32299
32389
|
data?: {
|
|
32300
32390
|
device_id?: string;
|
|
32301
32391
|
diagnostics_url?: string;
|
|
32392
|
+
display?: {
|
|
32393
|
+
height?: number | null;
|
|
32394
|
+
height_in?: number | null;
|
|
32395
|
+
orientation?: string;
|
|
32396
|
+
ppi?: number | null;
|
|
32397
|
+
width?: number | null;
|
|
32398
|
+
width_in?: number | null;
|
|
32399
|
+
};
|
|
32302
32400
|
/** Paste into an iframe to start serving. */
|
|
32303
32401
|
embed_url?: string;
|
|
32304
32402
|
/** Server-derived canonical device identity. */
|
|
@@ -32311,6 +32409,38 @@ interface registerDeviceV2Operation {
|
|
|
32311
32409
|
os?: string | null;
|
|
32312
32410
|
osv?: string | null;
|
|
32313
32411
|
};
|
|
32412
|
+
location?: {
|
|
32413
|
+
address?: string | null;
|
|
32414
|
+
city?: string | null;
|
|
32415
|
+
country?: string | null;
|
|
32416
|
+
lat?: number | null;
|
|
32417
|
+
lng?: number | null;
|
|
32418
|
+
state?: string | null;
|
|
32419
|
+
timezone?: string | null;
|
|
32420
|
+
venue_name?: string | null;
|
|
32421
|
+
venue_type?: string | null;
|
|
32422
|
+
zip?: string | null;
|
|
32423
|
+
};
|
|
32424
|
+
location_capability?: PartnerLocationCapability;
|
|
32425
|
+
/** Readiness of the registered inventory data. */
|
|
32426
|
+
monetization_status?: "ready" | "limited" | "blocked";
|
|
32427
|
+
operating_hours?: Record<string, unknown> | null;
|
|
32428
|
+
requirements?: PartnerMonetizationRequirements;
|
|
32429
|
+
/** Server ID of the linked screen. */
|
|
32430
|
+
screen_id?: string;
|
|
32431
|
+
venue?: {
|
|
32432
|
+
business_name?: string | null;
|
|
32433
|
+
category?: string | null;
|
|
32434
|
+
child_id?: number | null;
|
|
32435
|
+
environment_type?: string | null;
|
|
32436
|
+
grandchild?: string | null;
|
|
32437
|
+
grandchild_id?: number | null;
|
|
32438
|
+
openooh_venue_type_id?: number | null;
|
|
32439
|
+
parent_id?: number | null;
|
|
32440
|
+
placement_type?: string | null;
|
|
32441
|
+
source?: string | null;
|
|
32442
|
+
subcategory?: string | null;
|
|
32443
|
+
};
|
|
32314
32444
|
};
|
|
32315
32445
|
success?: boolean;
|
|
32316
32446
|
};
|
|
@@ -32335,7 +32465,17 @@ interface registerDevicesBatchOperation {
|
|
|
32335
32465
|
location?: Record<string, unknown>;
|
|
32336
32466
|
name?: string;
|
|
32337
32467
|
placement?: Record<string, unknown>;
|
|
32338
|
-
venue?:
|
|
32468
|
+
venue?: {
|
|
32469
|
+
business_name?: string;
|
|
32470
|
+
category?: string;
|
|
32471
|
+
child_id?: number;
|
|
32472
|
+
context_notes?: string;
|
|
32473
|
+
environment_type?: string;
|
|
32474
|
+
grandchild_id?: number;
|
|
32475
|
+
parent_id?: number;
|
|
32476
|
+
placement_type?: string;
|
|
32477
|
+
subcategory?: string;
|
|
32478
|
+
};
|
|
32339
32479
|
}>;
|
|
32340
32480
|
};
|
|
32341
32481
|
requestRequired?: true;
|