@trillboards/api-client 3.2.20 → 3.2.22
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-ZXAHFSNU.mjs → chunk-YWK6T7PG.mjs} +2 -2
- package/dist/chunk-YWK6T7PG.mjs.map +1 -0
- package/dist/generated.d.mts +98 -10
- package/dist/generated.d.ts +98 -10
- 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 +1 -1
- package/dist/chunk-ZXAHFSNU.mjs.map +0 -1
package/dist/generated.d.mts
CHANGED
|
@@ -746,6 +746,8 @@ type DataApi_AdSightingRecord = {
|
|
|
746
746
|
cab_lat: number | null;
|
|
747
747
|
cab_lon: number | null;
|
|
748
748
|
capture_mode: string | null;
|
|
749
|
+
/** The resolved brand's IAB tier-1 category (brand_knowledge_graph.iab_category: its vote over the brand's reads), the code the history's category slice keys by (IAB8 is Food & Drink). Null where the brand has no vote or the record names no resolved brand. */
|
|
750
|
+
category: string | null;
|
|
749
751
|
confidence: number | null;
|
|
750
752
|
face_lat: number | null;
|
|
751
753
|
face_lon: number | null;
|
|
@@ -809,13 +811,13 @@ type DataApi_AdSightingRecord = {
|
|
|
809
811
|
type DataApi_AdSightingsHistoryResponse = {
|
|
810
812
|
data: {
|
|
811
813
|
next_cursor: string | null;
|
|
812
|
-
/** One row per month, market and brand (creative_brand_history): flights active and started, creatives launched and confirmed, board faces and points, share of voice over every ad flight in the market (by flights, by faces and by face-days, with its standard error), the market vacancy, face-days, the floor-priced media value and the attention on the brand's registered flights, each with the count it is taken over. */
|
|
814
|
+
/** One row per month (or week, or the window), market and brand (creative_brand_history), and per slice when the request names dimensions: flights active and started, creatives launched and confirmed, board faces and points, share of voice over every ad flight in the market or slice (by flights, by faces and by face-days, with its standard error), the market vacancy, face-days, the floor-priced media value and the attention on the brand's registered flights, each with the count it is taken over. A row carries the keys of the slices asked for. */
|
|
813
815
|
rows: Array<DataApi_CreativeBrandHistoryRow>;
|
|
814
816
|
};
|
|
815
817
|
meta: {
|
|
816
|
-
/** The markets
|
|
818
|
+
/** The markets, brand ids, dimensions and slice filters applied (null: not narrowed). */
|
|
817
819
|
filters: Record<string, unknown> | null;
|
|
818
|
-
/** market_month or
|
|
820
|
+
/** market_month, fleet_month, market_week, fleet_week, market_window or fleet_window. */
|
|
819
821
|
grain: string | null;
|
|
820
822
|
metric: "creative_brand_history";
|
|
821
823
|
product: "ad_sightings";
|
|
@@ -851,6 +853,8 @@ type DataApi_CreativeBrandHistoryRow = {
|
|
|
851
853
|
measure: string;
|
|
852
854
|
reason: string;
|
|
853
855
|
}>;
|
|
856
|
+
/** One of the brand's agencies of record as Winmo carries them, on an agency slice: a brand with several is on a row per agency. Null where none links (absent: no_agency_linked). */
|
|
857
|
+
agency?: string | null;
|
|
854
858
|
/** The brand's flights on registered faces that started in the period with a completion: the flights whose passes the attention columns sum, each once. Unit: flights. */
|
|
855
859
|
attention_flights: number;
|
|
856
860
|
/** The board passes past those flights (inside each read span, +/- 600 s). Unit: passes. Null when attention_flights is 0. */
|
|
@@ -869,14 +873,24 @@ type DataApi_CreativeBrandHistoryRow = {
|
|
|
869
873
|
brand_id: string | null;
|
|
870
874
|
/** Brand name. */
|
|
871
875
|
brand_label: string | null;
|
|
876
|
+
/** The brand's IAB tier-1 category on a category slice (its vote, stamped on the ledger). Null without one (absent: no_category). */
|
|
877
|
+
category?: string | null;
|
|
878
|
+
/** The Census CBSA (Metropolitan or Micropolitan Statistical Area, OMB's July 2023 delineation) of the faces the row counts, on a cbsa slice. Null outside every CBSA and outside the US (absent: no_cbsa). */
|
|
879
|
+
cbsa_code?: string | null;
|
|
880
|
+
/** The CBSA's title (Las Vegas-Henderson-North Las Vegas, NV). */
|
|
881
|
+
cbsa_name?: string | null;
|
|
872
882
|
/** The brand's creatives whose first flight in the market (the fleet, on a fleet grain) began in the period. Unit: creatives. */
|
|
873
883
|
creatives_launched: number;
|
|
874
884
|
/** Of creatives_launched, those whose first flight's earlier looks would have caught it: the completion's miss_before <= 0.05. Unit: creatives. */
|
|
875
885
|
creatives_launched_confirmed: number;
|
|
886
|
+
/** The face on a board slice: f:<board id>:<face index> (a registered face) or p:<point id> (an unregistered board point). */
|
|
887
|
+
face_key?: string | null;
|
|
876
888
|
/** The brand's flights overlapping the period: one creative's run on one registered face or unregistered board point. Unit: flights. */
|
|
877
889
|
flights_active: number;
|
|
878
890
|
/** Of those, the flights that began in the period. Unit: flights. */
|
|
879
891
|
flights_started: number;
|
|
892
|
+
/** static or digital on a format slice. Null where no read typed the face (absent: face_type_unknown). */
|
|
893
|
+
format?: string | null;
|
|
880
894
|
/** Eye-gaze legible seconds (gaze_fl) over those passes. Unit: seconds. Null when attention_flights is 0. */
|
|
881
895
|
gaze_legible_s: number | null;
|
|
882
896
|
/** Eye-gaze looked seconds (gaze_fl) over those passes. Unit: seconds. Null when attention_flights is 0. */
|
|
@@ -887,7 +901,7 @@ type DataApi_CreativeBrandHistoryRow = {
|
|
|
887
901
|
head_looked_s: number | null;
|
|
888
902
|
/** Every ad flight's face-days in the market and period: the face-day share's denominator. Unit: face_days. Null when market_ad_flights is 0. */
|
|
889
903
|
market_ad_face_days: number | null;
|
|
890
|
-
/** Every ad flight active in the market and period: registered faces and unregistered points, named or not. The share of voice denominator. Unit: flights. */
|
|
904
|
+
/** Every ad flight active in the market and period: registered faces and unregistered points, named or not. The share of voice denominator. Under slices, every ad flight of the row's slice: its period and geography cut by every slice the request names, and narrowed by every slice filter; every market_* count is the slice's. Unit: flights. */
|
|
891
905
|
market_ad_flights: number;
|
|
892
906
|
/** US DMA or CA CMA code. Null on a fleet row. */
|
|
893
907
|
market_code: string | null;
|
|
@@ -903,7 +917,7 @@ type DataApi_CreativeBrandHistoryRow = {
|
|
|
903
917
|
market_name: string | null;
|
|
904
918
|
/** Of the market's ad flights, those of a named brand: the named share's denominator, steady as label coverage grows. Unit: flights. */
|
|
905
919
|
market_named_flights: number;
|
|
906
|
-
/** Every still-reader sighting in the market and period: the vacancy denominator (creative_vacancy_rate's own count, rolled to the period). NULL where board_creative_sighting (400-day TTL) holds none of the period. Unit: sightings. Null when market_sightings is 0. */
|
|
920
|
+
/** Every still-reader sighting in the market and period: the vacancy denominator (creative_vacancy_rate's own count, rolled to the period). NULL where board_creative_sighting (400-day TTL) holds none of the period. Under slices, the vacancy is cut by where-it-ran slices only (a vacant face has no brand): each sighting placed by its read's face. Unit: sightings. Null when market_sightings is 0. */
|
|
907
921
|
market_sightings: number | null;
|
|
908
922
|
/** market_vacant_face_days / market_face_days: the market's vacancy in face-days, beside the sighting vacancy, never in place of it. Unit: share. market_vacant_face_days / market_face_days; null when market_face_days is 0. */
|
|
909
923
|
market_vacancy_face_day_share: number | null;
|
|
@@ -923,12 +937,18 @@ type DataApi_CreativeBrandHistoryRow = {
|
|
|
923
937
|
market_vacant_flights: number;
|
|
924
938
|
/** The market's drawn sightings weighted by 1 / inclusion_probability. Unit: sightings. Null when market_drawn_sightings is 0. */
|
|
925
939
|
market_weighted_sightings: number | null;
|
|
940
|
+
/** The faces' registry owner on a media_owner slice: a programmatic face's publisher, a permit layer's owner of record. Null on an unregistered board point (absent: no_registered_owner). */
|
|
941
|
+
media_owner?: string | null;
|
|
926
942
|
/** Floor-priced media value: floor CPM / 1000 x modelled daily impressions per face-day, each face-day split among the flights estimated on the face that day, never fewer than its interleave set nor, on a digital face, the creatives read on it in the period, over the brand's flights on faces with a floor and impressions as of the flight's first day. An asking price, never a cleared one. Unit: usd. Null when media_value_priced_faces is 0. */
|
|
927
943
|
media_value_floor_usd: number | null;
|
|
928
944
|
/** The faces the floor-priced value is priced on. Unit: board_faces. */
|
|
929
945
|
media_value_priced_faces: number;
|
|
930
946
|
/** The month (its first day, YYYY-MM-DD). */
|
|
931
947
|
month: string | null;
|
|
948
|
+
/** The brand's parent company on a parent slice: the brand graph id of the parent's Wikidata family. Null where the graph names none (absent: no_parent_named). */
|
|
949
|
+
parent_id?: string | null;
|
|
950
|
+
/** The parent company's name. */
|
|
951
|
+
parent_label?: string | null;
|
|
932
952
|
/** flights_active / market_named_flights: the brand's share of the named brands' flights in the market and period (creative_share_of_voice's named denominator, over flights on faces and points). NULL on the unnamed row. Unit: share. named_flights_active / market_named_flights; null when market_named_flights is 0. */
|
|
933
953
|
share_of_named_voice: number | null;
|
|
934
954
|
/** flights_active / market_ad_flights: the brand's share of every ad flight in the market and period, on registered faces AND unregistered points (creative_share_of_voice counts sightings on registered faces only). Unit: share. flights_active / market_ad_flights; null when market_ad_flights is 0. */
|
|
@@ -939,6 +959,10 @@ type DataApi_CreativeBrandHistoryRow = {
|
|
|
939
959
|
share_of_voice_face_days_se: number | null;
|
|
940
960
|
/** brand_face_share / market_face_share: the share of voice with a digital loop's flights weighted by their share of its reads. Never mixed into share_of_voice. Unit: share. brand_face_share / market_face_share; null when market_face_share is 0. */
|
|
941
961
|
share_of_voice_face_weighted: number | null;
|
|
962
|
+
/** The reader surface the face's held reads named most, on a surface slice: billboard, digital_board, bus_shelter or kiosk. Null where none named one (absent: no_reader_surface). */
|
|
963
|
+
surface?: string | null;
|
|
964
|
+
/** The ISO week on a week grain: its Monday, YYYY-MM-DD. */
|
|
965
|
+
week?: string | null;
|
|
942
966
|
};
|
|
943
967
|
type DataApi_DataProducts_AudienceRow = {
|
|
944
968
|
/** Interval upper bound. */
|
|
@@ -1801,8 +1825,12 @@ type DataApi_DataProducts_Geometry = {
|
|
|
1801
1825
|
type DataApi_DataProducts_MeasurementError = {
|
|
1802
1826
|
/** Machine-readable reason, e.g. invalid_bbox, board_not_found, not_entitled, quota, measurement_unavailable. */
|
|
1803
1827
|
code: string;
|
|
1828
|
+
/** Owner upload refusals (sheet_refused, sheet_empty, log_refused, ssp_venue_conflict, write_failed): the plan or load report the refusal is about, with rows read, refused lines and their reasons, unmatched and ambiguous faces, and for ssp_venue_conflict the `conflicts`. */
|
|
1829
|
+
data?: Record<string, unknown>;
|
|
1804
1830
|
/** What was refused and how to ask again. */
|
|
1805
1831
|
message: string;
|
|
1832
|
+
/** The scopes the key must hold (INSUFFICIENT_SCOPE on the owner upload routes, which need `measurement:write`). */
|
|
1833
|
+
required_scopes?: Array<string>;
|
|
1806
1834
|
status: false;
|
|
1807
1835
|
};
|
|
1808
1836
|
type DataApi_DataProducts_Method = {
|
|
@@ -6218,6 +6246,8 @@ interface listAdSightingsInPortalOperation {
|
|
|
6218
6246
|
brand?: Array<string> | null;
|
|
6219
6247
|
/** A resolved brand id, repeatable. Combined with `brand` as either-or. */
|
|
6220
6248
|
brand_id?: Array<string> | null;
|
|
6249
|
+
/** The brand's IAB tier-1 category (IAB1..IAB25), repeatable: the records whose resolved brand votes in it (brand_knowledge_graph.iab_category, the `category` field). */
|
|
6250
|
+
category?: Array<string> | null;
|
|
6221
6251
|
/** A sighted creative (the campaign artwork), repeatable. */
|
|
6222
6252
|
creative_id?: Array<string> | null;
|
|
6223
6253
|
/** The `next_cursor` of the previous page. */
|
|
@@ -6230,6 +6260,8 @@ interface listAdSightingsInPortalOperation {
|
|
|
6230
6260
|
limit?: number;
|
|
6231
6261
|
/** A market as COUNTRY:CODE (US DMA or CA CMA), repeatable. */
|
|
6232
6262
|
market?: Array<string> | null;
|
|
6263
|
+
/** A media owner, repeatable: the records matched to a face whose owner (`publisher_name`, the registry's) holds the name's letters and digits, any case and punctuation (Lamar finds LAMAR-PITTSBURGH and Lamar (Cincinnati)). */
|
|
6264
|
+
media_owner?: Array<string> | null;
|
|
6233
6265
|
/** The surface kind as read (billboard, storefront, bus_shelter, ...), repeatable. */
|
|
6234
6266
|
surface?: Array<string> | null;
|
|
6235
6267
|
/** End (exclusive). Default: now. The span is at most 400 days. */
|
|
@@ -6247,20 +6279,38 @@ interface listAdSightingHistoryInPortalOperation {
|
|
|
6247
6279
|
request: never;
|
|
6248
6280
|
params: Record<string, unknown>;
|
|
6249
6281
|
query: {
|
|
6282
|
+
/** Narrow to brands this agency holds as agency of record (Winmo), by name in any case, repeatable. */
|
|
6283
|
+
agency?: Array<string> | null;
|
|
6284
|
+
/** Narrow to faces by face key, repeatable for a set of boards: f:<board id>:<face index> (a registered face) or p:<point id> (an unregistered board point), the `face_key` a board slice answers with. */
|
|
6285
|
+
board?: Array<string> | null;
|
|
6250
6286
|
/** A brand by name, repeatable (competitors). Resolved to its brand id the way the brand search does. */
|
|
6251
6287
|
brand?: Array<string> | null;
|
|
6252
6288
|
/** A resolved brand id, repeatable. */
|
|
6253
6289
|
brand_id?: Array<string> | null;
|
|
6290
|
+
/** Narrow to brands of an IAB tier-1 category (IAB1..IAB25), repeatable. A slice filter narrows the denominators with the rows: the shares are within the categories named. */
|
|
6291
|
+
category?: Array<string> | null;
|
|
6292
|
+
/** Narrow to faces in a Census CBSA (5-digit code, OMB July 2023 delineation), repeatable. */
|
|
6293
|
+
cbsa?: Array<string> | null;
|
|
6254
6294
|
/** The `next_cursor` of the previous page. */
|
|
6255
6295
|
cursor?: string;
|
|
6296
|
+
/** A slice the rows are cut by, repeatable: category, parent, agency (what the brand is), media_owner, format, surface, board, cbsa (where it ran). Each row is a brand within its slice, and every share is over its slice: a slice recomputes every denominator, and every distinct count is counted within it. The market vacancy is cut by where-it-ran slices only. */
|
|
6297
|
+
dimension?: Array<string> | null;
|
|
6298
|
+
/** Narrow to static or digital faces, repeatable. */
|
|
6299
|
+
format?: Array<string> | null;
|
|
6256
6300
|
/** First month (YYYY-MM) or day. Default: 12 months before `to`. */
|
|
6257
6301
|
from?: string;
|
|
6258
|
-
/** market_month (default) or fleet_month. */
|
|
6259
|
-
grain?: "market_month" | "fleet_month";
|
|
6302
|
+
/** market_month (default) or fleet_month; market_week or fleet_week (ISO weeks from their Monday, each counted whole, every week the from..to span touches); market_window or fleet_window (the from..to span as one period). A fleet grain drops the market: with dimension=cbsa it is the CBSA geography. */
|
|
6303
|
+
grain?: "market_month" | "fleet_month" | "market_week" | "fleet_week" | "market_window" | "fleet_window";
|
|
6260
6304
|
/** Rows per page, 1..500 (default 100). The page limit is reserved; the rows returned are billed. */
|
|
6261
6305
|
limit?: number;
|
|
6262
6306
|
/** A market as COUNTRY:CODE, repeatable. */
|
|
6263
6307
|
market?: Array<string> | null;
|
|
6308
|
+
/** Narrow to faces whose registry owner holds the name's letters and digits, any case and punctuation (Lamar finds LAMAR-PITTSBURGH and Lamar (Cincinnati)), repeatable. */
|
|
6309
|
+
media_owner?: Array<string> | null;
|
|
6310
|
+
/** Narrow to brands whose parent company is in this brand graph id's family (the `parent_id` a parent slice answers with), repeatable. */
|
|
6311
|
+
parent?: Array<string> | null;
|
|
6312
|
+
/** Narrow to faces of a reader surface (billboard, digital_board, bus_shelter, kiosk), repeatable. */
|
|
6313
|
+
surface?: Array<string> | null;
|
|
6264
6314
|
/** Last month (YYYY-MM, inclusive) or day. Default: this month. */
|
|
6265
6315
|
to?: string;
|
|
6266
6316
|
};
|
|
@@ -6601,30 +6651,46 @@ interface getApprovedMetricOperation {
|
|
|
6601
6651
|
metric: "camera_people_per_screen_hour" | "camera_dwell_capped_ms" | "camera_head_pose_index" | "camera_gaze_pct" | "demographic_share" | "sensing_census" | "board_measured_impressions_per_spot" | "board_pass_audience" | "same_panel_index" | "radio_identifiers_per_person" | "creative_sightings" | "creative_share_of_voice" | "creative_street_presence" | "creative_vacancy_rate" | "creative_brand_history" | "seatbelt_compliance" | "seatbelt_unbuckled_ride_rate";
|
|
6602
6652
|
};
|
|
6603
6653
|
query: {
|
|
6654
|
+
/** Agency names, |-separated (or repeated): the brands one of them holds as agency of record (Winmo), any case. Taken by: creative_brand_history. */
|
|
6655
|
+
agencies?: string;
|
|
6604
6656
|
/** Board face id (board metrics). Taken by: board_measured_impressions_per_spot, board_pass_audience. */
|
|
6605
6657
|
board_id?: string;
|
|
6658
|
+
/** Face keys, |-separated (or repeated): f:<board id>:<face index> or p:<point id>. Taken by: creative_brand_history. */
|
|
6659
|
+
boards?: string;
|
|
6606
6660
|
/** Comma-separated resolved brand ids. Taken by: creative_brand_history. */
|
|
6607
6661
|
brands?: string;
|
|
6608
6662
|
/** Condition scope (board metrics): daypart, light, weather or speed. Taken by: board_measured_impressions_per_spot. */
|
|
6609
6663
|
by?: string;
|
|
6664
|
+
/** Comma-separated IAB tier-1 codes (IAB1..IAB25): the brands of those categories. A slice filter narrows the denominators with the rows. Taken by: creative_brand_history. */
|
|
6665
|
+
categories?: string;
|
|
6666
|
+
/** Comma-separated 5-digit Census CBSA codes (OMB July 2023 delineation). Taken by: creative_brand_history. */
|
|
6667
|
+
cbsas?: string;
|
|
6610
6668
|
/** One day (YYYY-MM-DD). Give day or window; neither is the last settled day. Taken by: camera_people_per_screen_hour, camera_dwell_capped_ms, camera_head_pose_index, camera_gaze_pct, demographic_share, sensing_census, same_panel_index, radio_identifiers_per_person, creative_sightings, creative_share_of_voice, creative_street_presence, creative_vacancy_rate, creative_brand_history, seatbelt_compliance, seatbelt_unbuckled_ride_rate. */
|
|
6611
6669
|
day?: string;
|
|
6612
6670
|
/** Daypart filter (board metrics). Taken by: board_measured_impressions_per_spot, board_pass_audience. */
|
|
6613
6671
|
daypart?: string;
|
|
6614
|
-
/** Comma-separated
|
|
6672
|
+
/** Comma-separated dimensions (dimension= is the one-value spelling): the audience dimensions of a demographics metric (default all), or the slices creative_brand_history cuts its rows by (category, parent, agency, media_owner, format, surface, board, cbsa; default none), every share over its slice. Taken by: demographic_share, creative_brand_history. */
|
|
6615
6673
|
dimensions?: string;
|
|
6674
|
+
/** Comma-separated face formats: static, digital. Taken by: creative_brand_history. */
|
|
6675
|
+
formats?: string;
|
|
6616
6676
|
/** Camera evidence grade: face_backed or person_backed. Taken by: camera_people_per_screen_hour, camera_dwell_capped_ms, camera_head_pose_index, camera_gaze_pct. */
|
|
6617
6677
|
grade?: string;
|
|
6618
6678
|
/** The answer grain (screen_hour, screen_day, fleet_day, market_day, market_month, ...): one of the metric's grains. Taken by: camera_people_per_screen_hour, camera_dwell_capped_ms, camera_head_pose_index, camera_gaze_pct, demographic_share, sensing_census, same_panel_index, radio_identifiers_per_person, creative_sightings, creative_share_of_voice, creative_street_presence, creative_vacancy_rate, creative_brand_history, seatbelt_compliance, seatbelt_unbuckled_ride_rate. */
|
|
6619
6679
|
grain?: string;
|
|
6620
6680
|
/** Comma-separated markets as COUNTRY:CODE (US DMA, CA CMA). Taken by: creative_sightings, creative_share_of_voice, creative_street_presence, creative_vacancy_rate, creative_brand_history, seatbelt_compliance, seatbelt_unbuckled_ride_rate. */
|
|
6621
6681
|
markets?: string;
|
|
6682
|
+
/** Media owner names, |-separated (or repeated): the faces whose registry owner holds a name's letters and digits, any case and punctuation. Taken by: creative_brand_history. */
|
|
6683
|
+
media_owners?: string;
|
|
6684
|
+
/** Comma-separated brand graph ids: the brands whose parent company is in one of those Wikidata families. Taken by: creative_brand_history. */
|
|
6685
|
+
parents?: string;
|
|
6622
6686
|
/** The population the shares are over. Taken by: sensing_census, same_panel_index. */
|
|
6623
6687
|
population?: string;
|
|
6624
6688
|
/** Comma-separated 24-hex screen ids, up to the metric's max_screens. Taken by: camera_people_per_screen_hour, camera_dwell_capped_ms, camera_head_pose_index, camera_gaze_pct, demographic_share, seatbelt_compliance, seatbelt_unbuckled_ride_rate. */
|
|
6625
6689
|
screens?: string;
|
|
6626
6690
|
/** Comma-separated statistics (mean, p50, ...), from the metric's allowed stats. Taken by: camera_people_per_screen_hour, camera_head_pose_index. */
|
|
6627
6691
|
stats?: string;
|
|
6692
|
+
/** Comma-separated reader surfaces: billboard, digital_board, bus_shelter, kiosk. Taken by: creative_brand_history. */
|
|
6693
|
+
surfaces?: string;
|
|
6628
6694
|
/** An inclusive span, YYYY-MM-DD..YYYY-MM-DD, up to the metric's max_window_days. Taken by: camera_people_per_screen_hour, camera_dwell_capped_ms, camera_head_pose_index, camera_gaze_pct, demographic_share, same_panel_index, radio_identifiers_per_person, creative_sightings, creative_share_of_voice, creative_street_presence, creative_vacancy_rate, creative_brand_history, seatbelt_compliance, seatbelt_unbuckled_ride_rate. */
|
|
6629
6695
|
window?: string;
|
|
6630
6696
|
/** Currency window end (board metrics). Taken by: board_measured_impressions_per_spot, board_pass_audience. */
|
|
@@ -6726,6 +6792,8 @@ interface dataApiAdSightingsOperation {
|
|
|
6726
6792
|
brand?: Array<string> | null;
|
|
6727
6793
|
/** A resolved brand id, repeatable. Combined with `brand` as either-or. */
|
|
6728
6794
|
brand_id?: Array<string> | null;
|
|
6795
|
+
/** The brand's IAB tier-1 category (IAB1..IAB25), repeatable: the records whose resolved brand votes in it (brand_knowledge_graph.iab_category, the `category` field). */
|
|
6796
|
+
category?: Array<string> | null;
|
|
6729
6797
|
/** A sighted creative (the campaign artwork), repeatable. */
|
|
6730
6798
|
creative_id?: Array<string> | null;
|
|
6731
6799
|
/** The `next_cursor` of the previous page. */
|
|
@@ -6738,6 +6806,8 @@ interface dataApiAdSightingsOperation {
|
|
|
6738
6806
|
limit?: number;
|
|
6739
6807
|
/** A market as COUNTRY:CODE (US DMA or CA CMA), repeatable. */
|
|
6740
6808
|
market?: Array<string> | null;
|
|
6809
|
+
/** A media owner, repeatable: the records matched to a face whose owner (`publisher_name`, the registry's) holds the name's letters and digits, any case and punctuation (Lamar finds LAMAR-PITTSBURGH and Lamar (Cincinnati)). */
|
|
6810
|
+
media_owner?: Array<string> | null;
|
|
6741
6811
|
/** The surface kind as read (billboard, storefront, bus_shelter, ...), repeatable. */
|
|
6742
6812
|
surface?: Array<string> | null;
|
|
6743
6813
|
/** End (exclusive). Default: now. The span is at most 400 days. */
|
|
@@ -6755,20 +6825,38 @@ interface dataApiAdSightingsHistoryOperation {
|
|
|
6755
6825
|
request: never;
|
|
6756
6826
|
params: Record<string, unknown>;
|
|
6757
6827
|
query: {
|
|
6828
|
+
/** Narrow to brands this agency holds as agency of record (Winmo), by name in any case, repeatable. */
|
|
6829
|
+
agency?: Array<string> | null;
|
|
6830
|
+
/** Narrow to faces by face key, repeatable for a set of boards: f:<board id>:<face index> (a registered face) or p:<point id> (an unregistered board point), the `face_key` a board slice answers with. */
|
|
6831
|
+
board?: Array<string> | null;
|
|
6758
6832
|
/** A brand by name, repeatable (competitors). Resolved to its brand id the way the brand search does. */
|
|
6759
6833
|
brand?: Array<string> | null;
|
|
6760
6834
|
/** A resolved brand id, repeatable. */
|
|
6761
6835
|
brand_id?: Array<string> | null;
|
|
6836
|
+
/** Narrow to brands of an IAB tier-1 category (IAB1..IAB25), repeatable. A slice filter narrows the denominators with the rows: the shares are within the categories named. */
|
|
6837
|
+
category?: Array<string> | null;
|
|
6838
|
+
/** Narrow to faces in a Census CBSA (5-digit code, OMB July 2023 delineation), repeatable. */
|
|
6839
|
+
cbsa?: Array<string> | null;
|
|
6762
6840
|
/** The `next_cursor` of the previous page. */
|
|
6763
6841
|
cursor?: string;
|
|
6842
|
+
/** A slice the rows are cut by, repeatable: category, parent, agency (what the brand is), media_owner, format, surface, board, cbsa (where it ran). Each row is a brand within its slice, and every share is over its slice: a slice recomputes every denominator, and every distinct count is counted within it. The market vacancy is cut by where-it-ran slices only. */
|
|
6843
|
+
dimension?: Array<string> | null;
|
|
6844
|
+
/** Narrow to static or digital faces, repeatable. */
|
|
6845
|
+
format?: Array<string> | null;
|
|
6764
6846
|
/** First month (YYYY-MM) or day. Default: 12 months before `to`. */
|
|
6765
6847
|
from?: string;
|
|
6766
|
-
/** market_month (default) or fleet_month. */
|
|
6767
|
-
grain?: "market_month" | "fleet_month";
|
|
6848
|
+
/** market_month (default) or fleet_month; market_week or fleet_week (ISO weeks from their Monday, each counted whole, every week the from..to span touches); market_window or fleet_window (the from..to span as one period). A fleet grain drops the market: with dimension=cbsa it is the CBSA geography. */
|
|
6849
|
+
grain?: "market_month" | "fleet_month" | "market_week" | "fleet_week" | "market_window" | "fleet_window";
|
|
6768
6850
|
/** Rows per page, 1..500 (default 100). The page limit is reserved; the rows returned are billed. */
|
|
6769
6851
|
limit?: number;
|
|
6770
6852
|
/** A market as COUNTRY:CODE, repeatable. */
|
|
6771
6853
|
market?: Array<string> | null;
|
|
6854
|
+
/** Narrow to faces whose registry owner holds the name's letters and digits, any case and punctuation (Lamar finds LAMAR-PITTSBURGH and Lamar (Cincinnati)), repeatable. */
|
|
6855
|
+
media_owner?: Array<string> | null;
|
|
6856
|
+
/** Narrow to brands whose parent company is in this brand graph id's family (the `parent_id` a parent slice answers with), repeatable. */
|
|
6857
|
+
parent?: Array<string> | null;
|
|
6858
|
+
/** Narrow to faces of a reader surface (billboard, digital_board, bus_shelter, kiosk), repeatable. */
|
|
6859
|
+
surface?: Array<string> | null;
|
|
6772
6860
|
/** Last month (YYYY-MM, inclusive) or day. Default: this month. */
|
|
6773
6861
|
to?: string;
|
|
6774
6862
|
};
|
package/dist/generated.d.ts
CHANGED
|
@@ -746,6 +746,8 @@ type DataApi_AdSightingRecord = {
|
|
|
746
746
|
cab_lat: number | null;
|
|
747
747
|
cab_lon: number | null;
|
|
748
748
|
capture_mode: string | null;
|
|
749
|
+
/** The resolved brand's IAB tier-1 category (brand_knowledge_graph.iab_category: its vote over the brand's reads), the code the history's category slice keys by (IAB8 is Food & Drink). Null where the brand has no vote or the record names no resolved brand. */
|
|
750
|
+
category: string | null;
|
|
749
751
|
confidence: number | null;
|
|
750
752
|
face_lat: number | null;
|
|
751
753
|
face_lon: number | null;
|
|
@@ -809,13 +811,13 @@ type DataApi_AdSightingRecord = {
|
|
|
809
811
|
type DataApi_AdSightingsHistoryResponse = {
|
|
810
812
|
data: {
|
|
811
813
|
next_cursor: string | null;
|
|
812
|
-
/** One row per month, market and brand (creative_brand_history): flights active and started, creatives launched and confirmed, board faces and points, share of voice over every ad flight in the market (by flights, by faces and by face-days, with its standard error), the market vacancy, face-days, the floor-priced media value and the attention on the brand's registered flights, each with the count it is taken over. */
|
|
814
|
+
/** One row per month (or week, or the window), market and brand (creative_brand_history), and per slice when the request names dimensions: flights active and started, creatives launched and confirmed, board faces and points, share of voice over every ad flight in the market or slice (by flights, by faces and by face-days, with its standard error), the market vacancy, face-days, the floor-priced media value and the attention on the brand's registered flights, each with the count it is taken over. A row carries the keys of the slices asked for. */
|
|
813
815
|
rows: Array<DataApi_CreativeBrandHistoryRow>;
|
|
814
816
|
};
|
|
815
817
|
meta: {
|
|
816
|
-
/** The markets
|
|
818
|
+
/** The markets, brand ids, dimensions and slice filters applied (null: not narrowed). */
|
|
817
819
|
filters: Record<string, unknown> | null;
|
|
818
|
-
/** market_month or
|
|
820
|
+
/** market_month, fleet_month, market_week, fleet_week, market_window or fleet_window. */
|
|
819
821
|
grain: string | null;
|
|
820
822
|
metric: "creative_brand_history";
|
|
821
823
|
product: "ad_sightings";
|
|
@@ -851,6 +853,8 @@ type DataApi_CreativeBrandHistoryRow = {
|
|
|
851
853
|
measure: string;
|
|
852
854
|
reason: string;
|
|
853
855
|
}>;
|
|
856
|
+
/** One of the brand's agencies of record as Winmo carries them, on an agency slice: a brand with several is on a row per agency. Null where none links (absent: no_agency_linked). */
|
|
857
|
+
agency?: string | null;
|
|
854
858
|
/** The brand's flights on registered faces that started in the period with a completion: the flights whose passes the attention columns sum, each once. Unit: flights. */
|
|
855
859
|
attention_flights: number;
|
|
856
860
|
/** The board passes past those flights (inside each read span, +/- 600 s). Unit: passes. Null when attention_flights is 0. */
|
|
@@ -869,14 +873,24 @@ type DataApi_CreativeBrandHistoryRow = {
|
|
|
869
873
|
brand_id: string | null;
|
|
870
874
|
/** Brand name. */
|
|
871
875
|
brand_label: string | null;
|
|
876
|
+
/** The brand's IAB tier-1 category on a category slice (its vote, stamped on the ledger). Null without one (absent: no_category). */
|
|
877
|
+
category?: string | null;
|
|
878
|
+
/** The Census CBSA (Metropolitan or Micropolitan Statistical Area, OMB's July 2023 delineation) of the faces the row counts, on a cbsa slice. Null outside every CBSA and outside the US (absent: no_cbsa). */
|
|
879
|
+
cbsa_code?: string | null;
|
|
880
|
+
/** The CBSA's title (Las Vegas-Henderson-North Las Vegas, NV). */
|
|
881
|
+
cbsa_name?: string | null;
|
|
872
882
|
/** The brand's creatives whose first flight in the market (the fleet, on a fleet grain) began in the period. Unit: creatives. */
|
|
873
883
|
creatives_launched: number;
|
|
874
884
|
/** Of creatives_launched, those whose first flight's earlier looks would have caught it: the completion's miss_before <= 0.05. Unit: creatives. */
|
|
875
885
|
creatives_launched_confirmed: number;
|
|
886
|
+
/** The face on a board slice: f:<board id>:<face index> (a registered face) or p:<point id> (an unregistered board point). */
|
|
887
|
+
face_key?: string | null;
|
|
876
888
|
/** The brand's flights overlapping the period: one creative's run on one registered face or unregistered board point. Unit: flights. */
|
|
877
889
|
flights_active: number;
|
|
878
890
|
/** Of those, the flights that began in the period. Unit: flights. */
|
|
879
891
|
flights_started: number;
|
|
892
|
+
/** static or digital on a format slice. Null where no read typed the face (absent: face_type_unknown). */
|
|
893
|
+
format?: string | null;
|
|
880
894
|
/** Eye-gaze legible seconds (gaze_fl) over those passes. Unit: seconds. Null when attention_flights is 0. */
|
|
881
895
|
gaze_legible_s: number | null;
|
|
882
896
|
/** Eye-gaze looked seconds (gaze_fl) over those passes. Unit: seconds. Null when attention_flights is 0. */
|
|
@@ -887,7 +901,7 @@ type DataApi_CreativeBrandHistoryRow = {
|
|
|
887
901
|
head_looked_s: number | null;
|
|
888
902
|
/** Every ad flight's face-days in the market and period: the face-day share's denominator. Unit: face_days. Null when market_ad_flights is 0. */
|
|
889
903
|
market_ad_face_days: number | null;
|
|
890
|
-
/** Every ad flight active in the market and period: registered faces and unregistered points, named or not. The share of voice denominator. Unit: flights. */
|
|
904
|
+
/** Every ad flight active in the market and period: registered faces and unregistered points, named or not. The share of voice denominator. Under slices, every ad flight of the row's slice: its period and geography cut by every slice the request names, and narrowed by every slice filter; every market_* count is the slice's. Unit: flights. */
|
|
891
905
|
market_ad_flights: number;
|
|
892
906
|
/** US DMA or CA CMA code. Null on a fleet row. */
|
|
893
907
|
market_code: string | null;
|
|
@@ -903,7 +917,7 @@ type DataApi_CreativeBrandHistoryRow = {
|
|
|
903
917
|
market_name: string | null;
|
|
904
918
|
/** Of the market's ad flights, those of a named brand: the named share's denominator, steady as label coverage grows. Unit: flights. */
|
|
905
919
|
market_named_flights: number;
|
|
906
|
-
/** Every still-reader sighting in the market and period: the vacancy denominator (creative_vacancy_rate's own count, rolled to the period). NULL where board_creative_sighting (400-day TTL) holds none of the period. Unit: sightings. Null when market_sightings is 0. */
|
|
920
|
+
/** Every still-reader sighting in the market and period: the vacancy denominator (creative_vacancy_rate's own count, rolled to the period). NULL where board_creative_sighting (400-day TTL) holds none of the period. Under slices, the vacancy is cut by where-it-ran slices only (a vacant face has no brand): each sighting placed by its read's face. Unit: sightings. Null when market_sightings is 0. */
|
|
907
921
|
market_sightings: number | null;
|
|
908
922
|
/** market_vacant_face_days / market_face_days: the market's vacancy in face-days, beside the sighting vacancy, never in place of it. Unit: share. market_vacant_face_days / market_face_days; null when market_face_days is 0. */
|
|
909
923
|
market_vacancy_face_day_share: number | null;
|
|
@@ -923,12 +937,18 @@ type DataApi_CreativeBrandHistoryRow = {
|
|
|
923
937
|
market_vacant_flights: number;
|
|
924
938
|
/** The market's drawn sightings weighted by 1 / inclusion_probability. Unit: sightings. Null when market_drawn_sightings is 0. */
|
|
925
939
|
market_weighted_sightings: number | null;
|
|
940
|
+
/** The faces' registry owner on a media_owner slice: a programmatic face's publisher, a permit layer's owner of record. Null on an unregistered board point (absent: no_registered_owner). */
|
|
941
|
+
media_owner?: string | null;
|
|
926
942
|
/** Floor-priced media value: floor CPM / 1000 x modelled daily impressions per face-day, each face-day split among the flights estimated on the face that day, never fewer than its interleave set nor, on a digital face, the creatives read on it in the period, over the brand's flights on faces with a floor and impressions as of the flight's first day. An asking price, never a cleared one. Unit: usd. Null when media_value_priced_faces is 0. */
|
|
927
943
|
media_value_floor_usd: number | null;
|
|
928
944
|
/** The faces the floor-priced value is priced on. Unit: board_faces. */
|
|
929
945
|
media_value_priced_faces: number;
|
|
930
946
|
/** The month (its first day, YYYY-MM-DD). */
|
|
931
947
|
month: string | null;
|
|
948
|
+
/** The brand's parent company on a parent slice: the brand graph id of the parent's Wikidata family. Null where the graph names none (absent: no_parent_named). */
|
|
949
|
+
parent_id?: string | null;
|
|
950
|
+
/** The parent company's name. */
|
|
951
|
+
parent_label?: string | null;
|
|
932
952
|
/** flights_active / market_named_flights: the brand's share of the named brands' flights in the market and period (creative_share_of_voice's named denominator, over flights on faces and points). NULL on the unnamed row. Unit: share. named_flights_active / market_named_flights; null when market_named_flights is 0. */
|
|
933
953
|
share_of_named_voice: number | null;
|
|
934
954
|
/** flights_active / market_ad_flights: the brand's share of every ad flight in the market and period, on registered faces AND unregistered points (creative_share_of_voice counts sightings on registered faces only). Unit: share. flights_active / market_ad_flights; null when market_ad_flights is 0. */
|
|
@@ -939,6 +959,10 @@ type DataApi_CreativeBrandHistoryRow = {
|
|
|
939
959
|
share_of_voice_face_days_se: number | null;
|
|
940
960
|
/** brand_face_share / market_face_share: the share of voice with a digital loop's flights weighted by their share of its reads. Never mixed into share_of_voice. Unit: share. brand_face_share / market_face_share; null when market_face_share is 0. */
|
|
941
961
|
share_of_voice_face_weighted: number | null;
|
|
962
|
+
/** The reader surface the face's held reads named most, on a surface slice: billboard, digital_board, bus_shelter or kiosk. Null where none named one (absent: no_reader_surface). */
|
|
963
|
+
surface?: string | null;
|
|
964
|
+
/** The ISO week on a week grain: its Monday, YYYY-MM-DD. */
|
|
965
|
+
week?: string | null;
|
|
942
966
|
};
|
|
943
967
|
type DataApi_DataProducts_AudienceRow = {
|
|
944
968
|
/** Interval upper bound. */
|
|
@@ -1801,8 +1825,12 @@ type DataApi_DataProducts_Geometry = {
|
|
|
1801
1825
|
type DataApi_DataProducts_MeasurementError = {
|
|
1802
1826
|
/** Machine-readable reason, e.g. invalid_bbox, board_not_found, not_entitled, quota, measurement_unavailable. */
|
|
1803
1827
|
code: string;
|
|
1828
|
+
/** Owner upload refusals (sheet_refused, sheet_empty, log_refused, ssp_venue_conflict, write_failed): the plan or load report the refusal is about, with rows read, refused lines and their reasons, unmatched and ambiguous faces, and for ssp_venue_conflict the `conflicts`. */
|
|
1829
|
+
data?: Record<string, unknown>;
|
|
1804
1830
|
/** What was refused and how to ask again. */
|
|
1805
1831
|
message: string;
|
|
1832
|
+
/** The scopes the key must hold (INSUFFICIENT_SCOPE on the owner upload routes, which need `measurement:write`). */
|
|
1833
|
+
required_scopes?: Array<string>;
|
|
1806
1834
|
status: false;
|
|
1807
1835
|
};
|
|
1808
1836
|
type DataApi_DataProducts_Method = {
|
|
@@ -6218,6 +6246,8 @@ interface listAdSightingsInPortalOperation {
|
|
|
6218
6246
|
brand?: Array<string> | null;
|
|
6219
6247
|
/** A resolved brand id, repeatable. Combined with `brand` as either-or. */
|
|
6220
6248
|
brand_id?: Array<string> | null;
|
|
6249
|
+
/** The brand's IAB tier-1 category (IAB1..IAB25), repeatable: the records whose resolved brand votes in it (brand_knowledge_graph.iab_category, the `category` field). */
|
|
6250
|
+
category?: Array<string> | null;
|
|
6221
6251
|
/** A sighted creative (the campaign artwork), repeatable. */
|
|
6222
6252
|
creative_id?: Array<string> | null;
|
|
6223
6253
|
/** The `next_cursor` of the previous page. */
|
|
@@ -6230,6 +6260,8 @@ interface listAdSightingsInPortalOperation {
|
|
|
6230
6260
|
limit?: number;
|
|
6231
6261
|
/** A market as COUNTRY:CODE (US DMA or CA CMA), repeatable. */
|
|
6232
6262
|
market?: Array<string> | null;
|
|
6263
|
+
/** A media owner, repeatable: the records matched to a face whose owner (`publisher_name`, the registry's) holds the name's letters and digits, any case and punctuation (Lamar finds LAMAR-PITTSBURGH and Lamar (Cincinnati)). */
|
|
6264
|
+
media_owner?: Array<string> | null;
|
|
6233
6265
|
/** The surface kind as read (billboard, storefront, bus_shelter, ...), repeatable. */
|
|
6234
6266
|
surface?: Array<string> | null;
|
|
6235
6267
|
/** End (exclusive). Default: now. The span is at most 400 days. */
|
|
@@ -6247,20 +6279,38 @@ interface listAdSightingHistoryInPortalOperation {
|
|
|
6247
6279
|
request: never;
|
|
6248
6280
|
params: Record<string, unknown>;
|
|
6249
6281
|
query: {
|
|
6282
|
+
/** Narrow to brands this agency holds as agency of record (Winmo), by name in any case, repeatable. */
|
|
6283
|
+
agency?: Array<string> | null;
|
|
6284
|
+
/** Narrow to faces by face key, repeatable for a set of boards: f:<board id>:<face index> (a registered face) or p:<point id> (an unregistered board point), the `face_key` a board slice answers with. */
|
|
6285
|
+
board?: Array<string> | null;
|
|
6250
6286
|
/** A brand by name, repeatable (competitors). Resolved to its brand id the way the brand search does. */
|
|
6251
6287
|
brand?: Array<string> | null;
|
|
6252
6288
|
/** A resolved brand id, repeatable. */
|
|
6253
6289
|
brand_id?: Array<string> | null;
|
|
6290
|
+
/** Narrow to brands of an IAB tier-1 category (IAB1..IAB25), repeatable. A slice filter narrows the denominators with the rows: the shares are within the categories named. */
|
|
6291
|
+
category?: Array<string> | null;
|
|
6292
|
+
/** Narrow to faces in a Census CBSA (5-digit code, OMB July 2023 delineation), repeatable. */
|
|
6293
|
+
cbsa?: Array<string> | null;
|
|
6254
6294
|
/** The `next_cursor` of the previous page. */
|
|
6255
6295
|
cursor?: string;
|
|
6296
|
+
/** A slice the rows are cut by, repeatable: category, parent, agency (what the brand is), media_owner, format, surface, board, cbsa (where it ran). Each row is a brand within its slice, and every share is over its slice: a slice recomputes every denominator, and every distinct count is counted within it. The market vacancy is cut by where-it-ran slices only. */
|
|
6297
|
+
dimension?: Array<string> | null;
|
|
6298
|
+
/** Narrow to static or digital faces, repeatable. */
|
|
6299
|
+
format?: Array<string> | null;
|
|
6256
6300
|
/** First month (YYYY-MM) or day. Default: 12 months before `to`. */
|
|
6257
6301
|
from?: string;
|
|
6258
|
-
/** market_month (default) or fleet_month. */
|
|
6259
|
-
grain?: "market_month" | "fleet_month";
|
|
6302
|
+
/** market_month (default) or fleet_month; market_week or fleet_week (ISO weeks from their Monday, each counted whole, every week the from..to span touches); market_window or fleet_window (the from..to span as one period). A fleet grain drops the market: with dimension=cbsa it is the CBSA geography. */
|
|
6303
|
+
grain?: "market_month" | "fleet_month" | "market_week" | "fleet_week" | "market_window" | "fleet_window";
|
|
6260
6304
|
/** Rows per page, 1..500 (default 100). The page limit is reserved; the rows returned are billed. */
|
|
6261
6305
|
limit?: number;
|
|
6262
6306
|
/** A market as COUNTRY:CODE, repeatable. */
|
|
6263
6307
|
market?: Array<string> | null;
|
|
6308
|
+
/** Narrow to faces whose registry owner holds the name's letters and digits, any case and punctuation (Lamar finds LAMAR-PITTSBURGH and Lamar (Cincinnati)), repeatable. */
|
|
6309
|
+
media_owner?: Array<string> | null;
|
|
6310
|
+
/** Narrow to brands whose parent company is in this brand graph id's family (the `parent_id` a parent slice answers with), repeatable. */
|
|
6311
|
+
parent?: Array<string> | null;
|
|
6312
|
+
/** Narrow to faces of a reader surface (billboard, digital_board, bus_shelter, kiosk), repeatable. */
|
|
6313
|
+
surface?: Array<string> | null;
|
|
6264
6314
|
/** Last month (YYYY-MM, inclusive) or day. Default: this month. */
|
|
6265
6315
|
to?: string;
|
|
6266
6316
|
};
|
|
@@ -6601,30 +6651,46 @@ interface getApprovedMetricOperation {
|
|
|
6601
6651
|
metric: "camera_people_per_screen_hour" | "camera_dwell_capped_ms" | "camera_head_pose_index" | "camera_gaze_pct" | "demographic_share" | "sensing_census" | "board_measured_impressions_per_spot" | "board_pass_audience" | "same_panel_index" | "radio_identifiers_per_person" | "creative_sightings" | "creative_share_of_voice" | "creative_street_presence" | "creative_vacancy_rate" | "creative_brand_history" | "seatbelt_compliance" | "seatbelt_unbuckled_ride_rate";
|
|
6602
6652
|
};
|
|
6603
6653
|
query: {
|
|
6654
|
+
/** Agency names, |-separated (or repeated): the brands one of them holds as agency of record (Winmo), any case. Taken by: creative_brand_history. */
|
|
6655
|
+
agencies?: string;
|
|
6604
6656
|
/** Board face id (board metrics). Taken by: board_measured_impressions_per_spot, board_pass_audience. */
|
|
6605
6657
|
board_id?: string;
|
|
6658
|
+
/** Face keys, |-separated (or repeated): f:<board id>:<face index> or p:<point id>. Taken by: creative_brand_history. */
|
|
6659
|
+
boards?: string;
|
|
6606
6660
|
/** Comma-separated resolved brand ids. Taken by: creative_brand_history. */
|
|
6607
6661
|
brands?: string;
|
|
6608
6662
|
/** Condition scope (board metrics): daypart, light, weather or speed. Taken by: board_measured_impressions_per_spot. */
|
|
6609
6663
|
by?: string;
|
|
6664
|
+
/** Comma-separated IAB tier-1 codes (IAB1..IAB25): the brands of those categories. A slice filter narrows the denominators with the rows. Taken by: creative_brand_history. */
|
|
6665
|
+
categories?: string;
|
|
6666
|
+
/** Comma-separated 5-digit Census CBSA codes (OMB July 2023 delineation). Taken by: creative_brand_history. */
|
|
6667
|
+
cbsas?: string;
|
|
6610
6668
|
/** One day (YYYY-MM-DD). Give day or window; neither is the last settled day. Taken by: camera_people_per_screen_hour, camera_dwell_capped_ms, camera_head_pose_index, camera_gaze_pct, demographic_share, sensing_census, same_panel_index, radio_identifiers_per_person, creative_sightings, creative_share_of_voice, creative_street_presence, creative_vacancy_rate, creative_brand_history, seatbelt_compliance, seatbelt_unbuckled_ride_rate. */
|
|
6611
6669
|
day?: string;
|
|
6612
6670
|
/** Daypart filter (board metrics). Taken by: board_measured_impressions_per_spot, board_pass_audience. */
|
|
6613
6671
|
daypart?: string;
|
|
6614
|
-
/** Comma-separated
|
|
6672
|
+
/** Comma-separated dimensions (dimension= is the one-value spelling): the audience dimensions of a demographics metric (default all), or the slices creative_brand_history cuts its rows by (category, parent, agency, media_owner, format, surface, board, cbsa; default none), every share over its slice. Taken by: demographic_share, creative_brand_history. */
|
|
6615
6673
|
dimensions?: string;
|
|
6674
|
+
/** Comma-separated face formats: static, digital. Taken by: creative_brand_history. */
|
|
6675
|
+
formats?: string;
|
|
6616
6676
|
/** Camera evidence grade: face_backed or person_backed. Taken by: camera_people_per_screen_hour, camera_dwell_capped_ms, camera_head_pose_index, camera_gaze_pct. */
|
|
6617
6677
|
grade?: string;
|
|
6618
6678
|
/** The answer grain (screen_hour, screen_day, fleet_day, market_day, market_month, ...): one of the metric's grains. Taken by: camera_people_per_screen_hour, camera_dwell_capped_ms, camera_head_pose_index, camera_gaze_pct, demographic_share, sensing_census, same_panel_index, radio_identifiers_per_person, creative_sightings, creative_share_of_voice, creative_street_presence, creative_vacancy_rate, creative_brand_history, seatbelt_compliance, seatbelt_unbuckled_ride_rate. */
|
|
6619
6679
|
grain?: string;
|
|
6620
6680
|
/** Comma-separated markets as COUNTRY:CODE (US DMA, CA CMA). Taken by: creative_sightings, creative_share_of_voice, creative_street_presence, creative_vacancy_rate, creative_brand_history, seatbelt_compliance, seatbelt_unbuckled_ride_rate. */
|
|
6621
6681
|
markets?: string;
|
|
6682
|
+
/** Media owner names, |-separated (or repeated): the faces whose registry owner holds a name's letters and digits, any case and punctuation. Taken by: creative_brand_history. */
|
|
6683
|
+
media_owners?: string;
|
|
6684
|
+
/** Comma-separated brand graph ids: the brands whose parent company is in one of those Wikidata families. Taken by: creative_brand_history. */
|
|
6685
|
+
parents?: string;
|
|
6622
6686
|
/** The population the shares are over. Taken by: sensing_census, same_panel_index. */
|
|
6623
6687
|
population?: string;
|
|
6624
6688
|
/** Comma-separated 24-hex screen ids, up to the metric's max_screens. Taken by: camera_people_per_screen_hour, camera_dwell_capped_ms, camera_head_pose_index, camera_gaze_pct, demographic_share, seatbelt_compliance, seatbelt_unbuckled_ride_rate. */
|
|
6625
6689
|
screens?: string;
|
|
6626
6690
|
/** Comma-separated statistics (mean, p50, ...), from the metric's allowed stats. Taken by: camera_people_per_screen_hour, camera_head_pose_index. */
|
|
6627
6691
|
stats?: string;
|
|
6692
|
+
/** Comma-separated reader surfaces: billboard, digital_board, bus_shelter, kiosk. Taken by: creative_brand_history. */
|
|
6693
|
+
surfaces?: string;
|
|
6628
6694
|
/** An inclusive span, YYYY-MM-DD..YYYY-MM-DD, up to the metric's max_window_days. Taken by: camera_people_per_screen_hour, camera_dwell_capped_ms, camera_head_pose_index, camera_gaze_pct, demographic_share, same_panel_index, radio_identifiers_per_person, creative_sightings, creative_share_of_voice, creative_street_presence, creative_vacancy_rate, creative_brand_history, seatbelt_compliance, seatbelt_unbuckled_ride_rate. */
|
|
6629
6695
|
window?: string;
|
|
6630
6696
|
/** Currency window end (board metrics). Taken by: board_measured_impressions_per_spot, board_pass_audience. */
|
|
@@ -6726,6 +6792,8 @@ interface dataApiAdSightingsOperation {
|
|
|
6726
6792
|
brand?: Array<string> | null;
|
|
6727
6793
|
/** A resolved brand id, repeatable. Combined with `brand` as either-or. */
|
|
6728
6794
|
brand_id?: Array<string> | null;
|
|
6795
|
+
/** The brand's IAB tier-1 category (IAB1..IAB25), repeatable: the records whose resolved brand votes in it (brand_knowledge_graph.iab_category, the `category` field). */
|
|
6796
|
+
category?: Array<string> | null;
|
|
6729
6797
|
/** A sighted creative (the campaign artwork), repeatable. */
|
|
6730
6798
|
creative_id?: Array<string> | null;
|
|
6731
6799
|
/** The `next_cursor` of the previous page. */
|
|
@@ -6738,6 +6806,8 @@ interface dataApiAdSightingsOperation {
|
|
|
6738
6806
|
limit?: number;
|
|
6739
6807
|
/** A market as COUNTRY:CODE (US DMA or CA CMA), repeatable. */
|
|
6740
6808
|
market?: Array<string> | null;
|
|
6809
|
+
/** A media owner, repeatable: the records matched to a face whose owner (`publisher_name`, the registry's) holds the name's letters and digits, any case and punctuation (Lamar finds LAMAR-PITTSBURGH and Lamar (Cincinnati)). */
|
|
6810
|
+
media_owner?: Array<string> | null;
|
|
6741
6811
|
/** The surface kind as read (billboard, storefront, bus_shelter, ...), repeatable. */
|
|
6742
6812
|
surface?: Array<string> | null;
|
|
6743
6813
|
/** End (exclusive). Default: now. The span is at most 400 days. */
|
|
@@ -6755,20 +6825,38 @@ interface dataApiAdSightingsHistoryOperation {
|
|
|
6755
6825
|
request: never;
|
|
6756
6826
|
params: Record<string, unknown>;
|
|
6757
6827
|
query: {
|
|
6828
|
+
/** Narrow to brands this agency holds as agency of record (Winmo), by name in any case, repeatable. */
|
|
6829
|
+
agency?: Array<string> | null;
|
|
6830
|
+
/** Narrow to faces by face key, repeatable for a set of boards: f:<board id>:<face index> (a registered face) or p:<point id> (an unregistered board point), the `face_key` a board slice answers with. */
|
|
6831
|
+
board?: Array<string> | null;
|
|
6758
6832
|
/** A brand by name, repeatable (competitors). Resolved to its brand id the way the brand search does. */
|
|
6759
6833
|
brand?: Array<string> | null;
|
|
6760
6834
|
/** A resolved brand id, repeatable. */
|
|
6761
6835
|
brand_id?: Array<string> | null;
|
|
6836
|
+
/** Narrow to brands of an IAB tier-1 category (IAB1..IAB25), repeatable. A slice filter narrows the denominators with the rows: the shares are within the categories named. */
|
|
6837
|
+
category?: Array<string> | null;
|
|
6838
|
+
/** Narrow to faces in a Census CBSA (5-digit code, OMB July 2023 delineation), repeatable. */
|
|
6839
|
+
cbsa?: Array<string> | null;
|
|
6762
6840
|
/** The `next_cursor` of the previous page. */
|
|
6763
6841
|
cursor?: string;
|
|
6842
|
+
/** A slice the rows are cut by, repeatable: category, parent, agency (what the brand is), media_owner, format, surface, board, cbsa (where it ran). Each row is a brand within its slice, and every share is over its slice: a slice recomputes every denominator, and every distinct count is counted within it. The market vacancy is cut by where-it-ran slices only. */
|
|
6843
|
+
dimension?: Array<string> | null;
|
|
6844
|
+
/** Narrow to static or digital faces, repeatable. */
|
|
6845
|
+
format?: Array<string> | null;
|
|
6764
6846
|
/** First month (YYYY-MM) or day. Default: 12 months before `to`. */
|
|
6765
6847
|
from?: string;
|
|
6766
|
-
/** market_month (default) or fleet_month. */
|
|
6767
|
-
grain?: "market_month" | "fleet_month";
|
|
6848
|
+
/** market_month (default) or fleet_month; market_week or fleet_week (ISO weeks from their Monday, each counted whole, every week the from..to span touches); market_window or fleet_window (the from..to span as one period). A fleet grain drops the market: with dimension=cbsa it is the CBSA geography. */
|
|
6849
|
+
grain?: "market_month" | "fleet_month" | "market_week" | "fleet_week" | "market_window" | "fleet_window";
|
|
6768
6850
|
/** Rows per page, 1..500 (default 100). The page limit is reserved; the rows returned are billed. */
|
|
6769
6851
|
limit?: number;
|
|
6770
6852
|
/** A market as COUNTRY:CODE, repeatable. */
|
|
6771
6853
|
market?: Array<string> | null;
|
|
6854
|
+
/** Narrow to faces whose registry owner holds the name's letters and digits, any case and punctuation (Lamar finds LAMAR-PITTSBURGH and Lamar (Cincinnati)), repeatable. */
|
|
6855
|
+
media_owner?: Array<string> | null;
|
|
6856
|
+
/** Narrow to brands whose parent company is in this brand graph id's family (the `parent_id` a parent slice answers with), repeatable. */
|
|
6857
|
+
parent?: Array<string> | null;
|
|
6858
|
+
/** Narrow to faces of a reader surface (billboard, digital_board, bus_shelter, kiosk), repeatable. */
|
|
6859
|
+
surface?: Array<string> | null;
|
|
6772
6860
|
/** Last month (YYYY-MM, inclusive) or day. Default: this month. */
|
|
6773
6861
|
to?: string;
|
|
6774
6862
|
};
|