@trillboards/api-client 3.2.21 → 3.2.23
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-Y6ZPLDVT.mjs → chunk-TJTPXYOE.mjs} +2 -2
- package/dist/chunk-TJTPXYOE.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-Y6ZPLDVT.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. */
|
|
@@ -6222,18 +6246,24 @@ interface listAdSightingsInPortalOperation {
|
|
|
6222
6246
|
brand?: Array<string> | null;
|
|
6223
6247
|
/** A resolved brand id, repeatable. Combined with `brand` as either-or. */
|
|
6224
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;
|
|
6225
6251
|
/** A sighted creative (the campaign artwork), repeatable. */
|
|
6226
6252
|
creative_id?: Array<string> | null;
|
|
6227
6253
|
/** The `next_cursor` of the previous page. */
|
|
6228
6254
|
cursor?: string;
|
|
6229
6255
|
/** Start (inclusive), YYYY-MM-DD or an ISO-8601 instant. Default: 30 days before `to`. */
|
|
6230
6256
|
from?: string;
|
|
6257
|
+
/** true returns only records that carry a photo (photo_url set): a record without a shareable face-blurred picture is skipped, so it is never returned or billed. The page can hold fewer than limit records; keep following next_cursor until it is null. */
|
|
6258
|
+
has_photo?: "true" | "false";
|
|
6231
6259
|
/** The reading instrument (ssr-v2, ssr-v1, vlmtext-v1, edge_ocr_v1), repeatable. */
|
|
6232
6260
|
instrument?: Array<string> | null;
|
|
6233
6261
|
/** Records per page, 1..500 (default 50). The page limit is reserved; the records returned are billed. */
|
|
6234
6262
|
limit?: number;
|
|
6235
6263
|
/** A market as COUNTRY:CODE (US DMA or CA CMA), repeatable. */
|
|
6236
6264
|
market?: Array<string> | null;
|
|
6265
|
+
/** 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)). */
|
|
6266
|
+
media_owner?: Array<string> | null;
|
|
6237
6267
|
/** The surface kind as read (billboard, storefront, bus_shelter, ...), repeatable. */
|
|
6238
6268
|
surface?: Array<string> | null;
|
|
6239
6269
|
/** End (exclusive). Default: now. The span is at most 400 days. */
|
|
@@ -6251,20 +6281,38 @@ interface listAdSightingHistoryInPortalOperation {
|
|
|
6251
6281
|
request: never;
|
|
6252
6282
|
params: Record<string, unknown>;
|
|
6253
6283
|
query: {
|
|
6284
|
+
/** Narrow to brands this agency holds as agency of record (Winmo), by name in any case, repeatable. */
|
|
6285
|
+
agency?: Array<string> | null;
|
|
6286
|
+
/** 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. */
|
|
6287
|
+
board?: Array<string> | null;
|
|
6254
6288
|
/** A brand by name, repeatable (competitors). Resolved to its brand id the way the brand search does. */
|
|
6255
6289
|
brand?: Array<string> | null;
|
|
6256
6290
|
/** A resolved brand id, repeatable. */
|
|
6257
6291
|
brand_id?: Array<string> | null;
|
|
6292
|
+
/** 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. */
|
|
6293
|
+
category?: Array<string> | null;
|
|
6294
|
+
/** Narrow to faces in a Census CBSA (5-digit code, OMB July 2023 delineation), repeatable. */
|
|
6295
|
+
cbsa?: Array<string> | null;
|
|
6258
6296
|
/** The `next_cursor` of the previous page. */
|
|
6259
6297
|
cursor?: string;
|
|
6298
|
+
/** 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. */
|
|
6299
|
+
dimension?: Array<string> | null;
|
|
6300
|
+
/** Narrow to static or digital faces, repeatable. */
|
|
6301
|
+
format?: Array<string> | null;
|
|
6260
6302
|
/** First month (YYYY-MM) or day. Default: 12 months before `to`. */
|
|
6261
6303
|
from?: string;
|
|
6262
|
-
/** market_month (default) or fleet_month. */
|
|
6263
|
-
grain?: "market_month" | "fleet_month";
|
|
6304
|
+
/** 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. */
|
|
6305
|
+
grain?: "market_month" | "fleet_month" | "market_week" | "fleet_week" | "market_window" | "fleet_window";
|
|
6264
6306
|
/** Rows per page, 1..500 (default 100). The page limit is reserved; the rows returned are billed. */
|
|
6265
6307
|
limit?: number;
|
|
6266
6308
|
/** A market as COUNTRY:CODE, repeatable. */
|
|
6267
6309
|
market?: Array<string> | null;
|
|
6310
|
+
/** 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. */
|
|
6311
|
+
media_owner?: Array<string> | null;
|
|
6312
|
+
/** Narrow to brands whose parent company is in this brand graph id's family (the `parent_id` a parent slice answers with), repeatable. */
|
|
6313
|
+
parent?: Array<string> | null;
|
|
6314
|
+
/** Narrow to faces of a reader surface (billboard, digital_board, bus_shelter, kiosk), repeatable. */
|
|
6315
|
+
surface?: Array<string> | null;
|
|
6268
6316
|
/** Last month (YYYY-MM, inclusive) or day. Default: this month. */
|
|
6269
6317
|
to?: string;
|
|
6270
6318
|
};
|
|
@@ -6605,30 +6653,46 @@ interface getApprovedMetricOperation {
|
|
|
6605
6653
|
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";
|
|
6606
6654
|
};
|
|
6607
6655
|
query: {
|
|
6656
|
+
/** Agency names, |-separated (or repeated): the brands one of them holds as agency of record (Winmo), any case. Taken by: creative_brand_history. */
|
|
6657
|
+
agencies?: string;
|
|
6608
6658
|
/** Board face id (board metrics). Taken by: board_measured_impressions_per_spot, board_pass_audience. */
|
|
6609
6659
|
board_id?: string;
|
|
6660
|
+
/** Face keys, |-separated (or repeated): f:<board id>:<face index> or p:<point id>. Taken by: creative_brand_history. */
|
|
6661
|
+
boards?: string;
|
|
6610
6662
|
/** Comma-separated resolved brand ids. Taken by: creative_brand_history. */
|
|
6611
6663
|
brands?: string;
|
|
6612
6664
|
/** Condition scope (board metrics): daypart, light, weather or speed. Taken by: board_measured_impressions_per_spot. */
|
|
6613
6665
|
by?: string;
|
|
6666
|
+
/** 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. */
|
|
6667
|
+
categories?: string;
|
|
6668
|
+
/** Comma-separated 5-digit Census CBSA codes (OMB July 2023 delineation). Taken by: creative_brand_history. */
|
|
6669
|
+
cbsas?: string;
|
|
6614
6670
|
/** 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. */
|
|
6615
6671
|
day?: string;
|
|
6616
6672
|
/** Daypart filter (board metrics). Taken by: board_measured_impressions_per_spot, board_pass_audience. */
|
|
6617
6673
|
daypart?: string;
|
|
6618
|
-
/** Comma-separated
|
|
6674
|
+
/** 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. */
|
|
6619
6675
|
dimensions?: string;
|
|
6676
|
+
/** Comma-separated face formats: static, digital. Taken by: creative_brand_history. */
|
|
6677
|
+
formats?: string;
|
|
6620
6678
|
/** 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. */
|
|
6621
6679
|
grade?: string;
|
|
6622
6680
|
/** 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. */
|
|
6623
6681
|
grain?: string;
|
|
6624
6682
|
/** 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. */
|
|
6625
6683
|
markets?: string;
|
|
6684
|
+
/** 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. */
|
|
6685
|
+
media_owners?: string;
|
|
6686
|
+
/** Comma-separated brand graph ids: the brands whose parent company is in one of those Wikidata families. Taken by: creative_brand_history. */
|
|
6687
|
+
parents?: string;
|
|
6626
6688
|
/** The population the shares are over. Taken by: sensing_census, same_panel_index. */
|
|
6627
6689
|
population?: string;
|
|
6628
6690
|
/** 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. */
|
|
6629
6691
|
screens?: string;
|
|
6630
6692
|
/** Comma-separated statistics (mean, p50, ...), from the metric's allowed stats. Taken by: camera_people_per_screen_hour, camera_head_pose_index. */
|
|
6631
6693
|
stats?: string;
|
|
6694
|
+
/** Comma-separated reader surfaces: billboard, digital_board, bus_shelter, kiosk. Taken by: creative_brand_history. */
|
|
6695
|
+
surfaces?: string;
|
|
6632
6696
|
/** 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. */
|
|
6633
6697
|
window?: string;
|
|
6634
6698
|
/** Currency window end (board metrics). Taken by: board_measured_impressions_per_spot, board_pass_audience. */
|
|
@@ -6730,18 +6794,24 @@ interface dataApiAdSightingsOperation {
|
|
|
6730
6794
|
brand?: Array<string> | null;
|
|
6731
6795
|
/** A resolved brand id, repeatable. Combined with `brand` as either-or. */
|
|
6732
6796
|
brand_id?: Array<string> | null;
|
|
6797
|
+
/** 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). */
|
|
6798
|
+
category?: Array<string> | null;
|
|
6733
6799
|
/** A sighted creative (the campaign artwork), repeatable. */
|
|
6734
6800
|
creative_id?: Array<string> | null;
|
|
6735
6801
|
/** The `next_cursor` of the previous page. */
|
|
6736
6802
|
cursor?: string;
|
|
6737
6803
|
/** Start (inclusive), YYYY-MM-DD or an ISO-8601 instant. Default: 30 days before `to`. */
|
|
6738
6804
|
from?: string;
|
|
6805
|
+
/** true returns only records that carry a photo (photo_url set): a record without a shareable face-blurred picture is skipped, so it is never returned or billed. The page can hold fewer than limit records; keep following next_cursor until it is null. */
|
|
6806
|
+
has_photo?: "true" | "false";
|
|
6739
6807
|
/** The reading instrument (ssr-v2, ssr-v1, vlmtext-v1, edge_ocr_v1), repeatable. */
|
|
6740
6808
|
instrument?: Array<string> | null;
|
|
6741
6809
|
/** Records per page, 1..500 (default 50). The page limit is reserved; the records returned are billed. */
|
|
6742
6810
|
limit?: number;
|
|
6743
6811
|
/** A market as COUNTRY:CODE (US DMA or CA CMA), repeatable. */
|
|
6744
6812
|
market?: Array<string> | null;
|
|
6813
|
+
/** 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)). */
|
|
6814
|
+
media_owner?: Array<string> | null;
|
|
6745
6815
|
/** The surface kind as read (billboard, storefront, bus_shelter, ...), repeatable. */
|
|
6746
6816
|
surface?: Array<string> | null;
|
|
6747
6817
|
/** End (exclusive). Default: now. The span is at most 400 days. */
|
|
@@ -6759,20 +6829,38 @@ interface dataApiAdSightingsHistoryOperation {
|
|
|
6759
6829
|
request: never;
|
|
6760
6830
|
params: Record<string, unknown>;
|
|
6761
6831
|
query: {
|
|
6832
|
+
/** Narrow to brands this agency holds as agency of record (Winmo), by name in any case, repeatable. */
|
|
6833
|
+
agency?: Array<string> | null;
|
|
6834
|
+
/** 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. */
|
|
6835
|
+
board?: Array<string> | null;
|
|
6762
6836
|
/** A brand by name, repeatable (competitors). Resolved to its brand id the way the brand search does. */
|
|
6763
6837
|
brand?: Array<string> | null;
|
|
6764
6838
|
/** A resolved brand id, repeatable. */
|
|
6765
6839
|
brand_id?: Array<string> | null;
|
|
6840
|
+
/** 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. */
|
|
6841
|
+
category?: Array<string> | null;
|
|
6842
|
+
/** Narrow to faces in a Census CBSA (5-digit code, OMB July 2023 delineation), repeatable. */
|
|
6843
|
+
cbsa?: Array<string> | null;
|
|
6766
6844
|
/** The `next_cursor` of the previous page. */
|
|
6767
6845
|
cursor?: string;
|
|
6846
|
+
/** 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. */
|
|
6847
|
+
dimension?: Array<string> | null;
|
|
6848
|
+
/** Narrow to static or digital faces, repeatable. */
|
|
6849
|
+
format?: Array<string> | null;
|
|
6768
6850
|
/** First month (YYYY-MM) or day. Default: 12 months before `to`. */
|
|
6769
6851
|
from?: string;
|
|
6770
|
-
/** market_month (default) or fleet_month. */
|
|
6771
|
-
grain?: "market_month" | "fleet_month";
|
|
6852
|
+
/** 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. */
|
|
6853
|
+
grain?: "market_month" | "fleet_month" | "market_week" | "fleet_week" | "market_window" | "fleet_window";
|
|
6772
6854
|
/** Rows per page, 1..500 (default 100). The page limit is reserved; the rows returned are billed. */
|
|
6773
6855
|
limit?: number;
|
|
6774
6856
|
/** A market as COUNTRY:CODE, repeatable. */
|
|
6775
6857
|
market?: Array<string> | null;
|
|
6858
|
+
/** 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. */
|
|
6859
|
+
media_owner?: Array<string> | null;
|
|
6860
|
+
/** Narrow to brands whose parent company is in this brand graph id's family (the `parent_id` a parent slice answers with), repeatable. */
|
|
6861
|
+
parent?: Array<string> | null;
|
|
6862
|
+
/** Narrow to faces of a reader surface (billboard, digital_board, bus_shelter, kiosk), repeatable. */
|
|
6863
|
+
surface?: Array<string> | null;
|
|
6776
6864
|
/** Last month (YYYY-MM, inclusive) or day. Default: this month. */
|
|
6777
6865
|
to?: string;
|
|
6778
6866
|
};
|
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. */
|
|
@@ -6222,18 +6246,24 @@ interface listAdSightingsInPortalOperation {
|
|
|
6222
6246
|
brand?: Array<string> | null;
|
|
6223
6247
|
/** A resolved brand id, repeatable. Combined with `brand` as either-or. */
|
|
6224
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;
|
|
6225
6251
|
/** A sighted creative (the campaign artwork), repeatable. */
|
|
6226
6252
|
creative_id?: Array<string> | null;
|
|
6227
6253
|
/** The `next_cursor` of the previous page. */
|
|
6228
6254
|
cursor?: string;
|
|
6229
6255
|
/** Start (inclusive), YYYY-MM-DD or an ISO-8601 instant. Default: 30 days before `to`. */
|
|
6230
6256
|
from?: string;
|
|
6257
|
+
/** true returns only records that carry a photo (photo_url set): a record without a shareable face-blurred picture is skipped, so it is never returned or billed. The page can hold fewer than limit records; keep following next_cursor until it is null. */
|
|
6258
|
+
has_photo?: "true" | "false";
|
|
6231
6259
|
/** The reading instrument (ssr-v2, ssr-v1, vlmtext-v1, edge_ocr_v1), repeatable. */
|
|
6232
6260
|
instrument?: Array<string> | null;
|
|
6233
6261
|
/** Records per page, 1..500 (default 50). The page limit is reserved; the records returned are billed. */
|
|
6234
6262
|
limit?: number;
|
|
6235
6263
|
/** A market as COUNTRY:CODE (US DMA or CA CMA), repeatable. */
|
|
6236
6264
|
market?: Array<string> | null;
|
|
6265
|
+
/** 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)). */
|
|
6266
|
+
media_owner?: Array<string> | null;
|
|
6237
6267
|
/** The surface kind as read (billboard, storefront, bus_shelter, ...), repeatable. */
|
|
6238
6268
|
surface?: Array<string> | null;
|
|
6239
6269
|
/** End (exclusive). Default: now. The span is at most 400 days. */
|
|
@@ -6251,20 +6281,38 @@ interface listAdSightingHistoryInPortalOperation {
|
|
|
6251
6281
|
request: never;
|
|
6252
6282
|
params: Record<string, unknown>;
|
|
6253
6283
|
query: {
|
|
6284
|
+
/** Narrow to brands this agency holds as agency of record (Winmo), by name in any case, repeatable. */
|
|
6285
|
+
agency?: Array<string> | null;
|
|
6286
|
+
/** 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. */
|
|
6287
|
+
board?: Array<string> | null;
|
|
6254
6288
|
/** A brand by name, repeatable (competitors). Resolved to its brand id the way the brand search does. */
|
|
6255
6289
|
brand?: Array<string> | null;
|
|
6256
6290
|
/** A resolved brand id, repeatable. */
|
|
6257
6291
|
brand_id?: Array<string> | null;
|
|
6292
|
+
/** 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. */
|
|
6293
|
+
category?: Array<string> | null;
|
|
6294
|
+
/** Narrow to faces in a Census CBSA (5-digit code, OMB July 2023 delineation), repeatable. */
|
|
6295
|
+
cbsa?: Array<string> | null;
|
|
6258
6296
|
/** The `next_cursor` of the previous page. */
|
|
6259
6297
|
cursor?: string;
|
|
6298
|
+
/** 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. */
|
|
6299
|
+
dimension?: Array<string> | null;
|
|
6300
|
+
/** Narrow to static or digital faces, repeatable. */
|
|
6301
|
+
format?: Array<string> | null;
|
|
6260
6302
|
/** First month (YYYY-MM) or day. Default: 12 months before `to`. */
|
|
6261
6303
|
from?: string;
|
|
6262
|
-
/** market_month (default) or fleet_month. */
|
|
6263
|
-
grain?: "market_month" | "fleet_month";
|
|
6304
|
+
/** 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. */
|
|
6305
|
+
grain?: "market_month" | "fleet_month" | "market_week" | "fleet_week" | "market_window" | "fleet_window";
|
|
6264
6306
|
/** Rows per page, 1..500 (default 100). The page limit is reserved; the rows returned are billed. */
|
|
6265
6307
|
limit?: number;
|
|
6266
6308
|
/** A market as COUNTRY:CODE, repeatable. */
|
|
6267
6309
|
market?: Array<string> | null;
|
|
6310
|
+
/** 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. */
|
|
6311
|
+
media_owner?: Array<string> | null;
|
|
6312
|
+
/** Narrow to brands whose parent company is in this brand graph id's family (the `parent_id` a parent slice answers with), repeatable. */
|
|
6313
|
+
parent?: Array<string> | null;
|
|
6314
|
+
/** Narrow to faces of a reader surface (billboard, digital_board, bus_shelter, kiosk), repeatable. */
|
|
6315
|
+
surface?: Array<string> | null;
|
|
6268
6316
|
/** Last month (YYYY-MM, inclusive) or day. Default: this month. */
|
|
6269
6317
|
to?: string;
|
|
6270
6318
|
};
|
|
@@ -6605,30 +6653,46 @@ interface getApprovedMetricOperation {
|
|
|
6605
6653
|
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";
|
|
6606
6654
|
};
|
|
6607
6655
|
query: {
|
|
6656
|
+
/** Agency names, |-separated (or repeated): the brands one of them holds as agency of record (Winmo), any case. Taken by: creative_brand_history. */
|
|
6657
|
+
agencies?: string;
|
|
6608
6658
|
/** Board face id (board metrics). Taken by: board_measured_impressions_per_spot, board_pass_audience. */
|
|
6609
6659
|
board_id?: string;
|
|
6660
|
+
/** Face keys, |-separated (or repeated): f:<board id>:<face index> or p:<point id>. Taken by: creative_brand_history. */
|
|
6661
|
+
boards?: string;
|
|
6610
6662
|
/** Comma-separated resolved brand ids. Taken by: creative_brand_history. */
|
|
6611
6663
|
brands?: string;
|
|
6612
6664
|
/** Condition scope (board metrics): daypart, light, weather or speed. Taken by: board_measured_impressions_per_spot. */
|
|
6613
6665
|
by?: string;
|
|
6666
|
+
/** 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. */
|
|
6667
|
+
categories?: string;
|
|
6668
|
+
/** Comma-separated 5-digit Census CBSA codes (OMB July 2023 delineation). Taken by: creative_brand_history. */
|
|
6669
|
+
cbsas?: string;
|
|
6614
6670
|
/** 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. */
|
|
6615
6671
|
day?: string;
|
|
6616
6672
|
/** Daypart filter (board metrics). Taken by: board_measured_impressions_per_spot, board_pass_audience. */
|
|
6617
6673
|
daypart?: string;
|
|
6618
|
-
/** Comma-separated
|
|
6674
|
+
/** 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. */
|
|
6619
6675
|
dimensions?: string;
|
|
6676
|
+
/** Comma-separated face formats: static, digital. Taken by: creative_brand_history. */
|
|
6677
|
+
formats?: string;
|
|
6620
6678
|
/** 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. */
|
|
6621
6679
|
grade?: string;
|
|
6622
6680
|
/** 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. */
|
|
6623
6681
|
grain?: string;
|
|
6624
6682
|
/** 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. */
|
|
6625
6683
|
markets?: string;
|
|
6684
|
+
/** 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. */
|
|
6685
|
+
media_owners?: string;
|
|
6686
|
+
/** Comma-separated brand graph ids: the brands whose parent company is in one of those Wikidata families. Taken by: creative_brand_history. */
|
|
6687
|
+
parents?: string;
|
|
6626
6688
|
/** The population the shares are over. Taken by: sensing_census, same_panel_index. */
|
|
6627
6689
|
population?: string;
|
|
6628
6690
|
/** 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. */
|
|
6629
6691
|
screens?: string;
|
|
6630
6692
|
/** Comma-separated statistics (mean, p50, ...), from the metric's allowed stats. Taken by: camera_people_per_screen_hour, camera_head_pose_index. */
|
|
6631
6693
|
stats?: string;
|
|
6694
|
+
/** Comma-separated reader surfaces: billboard, digital_board, bus_shelter, kiosk. Taken by: creative_brand_history. */
|
|
6695
|
+
surfaces?: string;
|
|
6632
6696
|
/** 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. */
|
|
6633
6697
|
window?: string;
|
|
6634
6698
|
/** Currency window end (board metrics). Taken by: board_measured_impressions_per_spot, board_pass_audience. */
|
|
@@ -6730,18 +6794,24 @@ interface dataApiAdSightingsOperation {
|
|
|
6730
6794
|
brand?: Array<string> | null;
|
|
6731
6795
|
/** A resolved brand id, repeatable. Combined with `brand` as either-or. */
|
|
6732
6796
|
brand_id?: Array<string> | null;
|
|
6797
|
+
/** 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). */
|
|
6798
|
+
category?: Array<string> | null;
|
|
6733
6799
|
/** A sighted creative (the campaign artwork), repeatable. */
|
|
6734
6800
|
creative_id?: Array<string> | null;
|
|
6735
6801
|
/** The `next_cursor` of the previous page. */
|
|
6736
6802
|
cursor?: string;
|
|
6737
6803
|
/** Start (inclusive), YYYY-MM-DD or an ISO-8601 instant. Default: 30 days before `to`. */
|
|
6738
6804
|
from?: string;
|
|
6805
|
+
/** true returns only records that carry a photo (photo_url set): a record without a shareable face-blurred picture is skipped, so it is never returned or billed. The page can hold fewer than limit records; keep following next_cursor until it is null. */
|
|
6806
|
+
has_photo?: "true" | "false";
|
|
6739
6807
|
/** The reading instrument (ssr-v2, ssr-v1, vlmtext-v1, edge_ocr_v1), repeatable. */
|
|
6740
6808
|
instrument?: Array<string> | null;
|
|
6741
6809
|
/** Records per page, 1..500 (default 50). The page limit is reserved; the records returned are billed. */
|
|
6742
6810
|
limit?: number;
|
|
6743
6811
|
/** A market as COUNTRY:CODE (US DMA or CA CMA), repeatable. */
|
|
6744
6812
|
market?: Array<string> | null;
|
|
6813
|
+
/** 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)). */
|
|
6814
|
+
media_owner?: Array<string> | null;
|
|
6745
6815
|
/** The surface kind as read (billboard, storefront, bus_shelter, ...), repeatable. */
|
|
6746
6816
|
surface?: Array<string> | null;
|
|
6747
6817
|
/** End (exclusive). Default: now. The span is at most 400 days. */
|
|
@@ -6759,20 +6829,38 @@ interface dataApiAdSightingsHistoryOperation {
|
|
|
6759
6829
|
request: never;
|
|
6760
6830
|
params: Record<string, unknown>;
|
|
6761
6831
|
query: {
|
|
6832
|
+
/** Narrow to brands this agency holds as agency of record (Winmo), by name in any case, repeatable. */
|
|
6833
|
+
agency?: Array<string> | null;
|
|
6834
|
+
/** 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. */
|
|
6835
|
+
board?: Array<string> | null;
|
|
6762
6836
|
/** A brand by name, repeatable (competitors). Resolved to its brand id the way the brand search does. */
|
|
6763
6837
|
brand?: Array<string> | null;
|
|
6764
6838
|
/** A resolved brand id, repeatable. */
|
|
6765
6839
|
brand_id?: Array<string> | null;
|
|
6840
|
+
/** 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. */
|
|
6841
|
+
category?: Array<string> | null;
|
|
6842
|
+
/** Narrow to faces in a Census CBSA (5-digit code, OMB July 2023 delineation), repeatable. */
|
|
6843
|
+
cbsa?: Array<string> | null;
|
|
6766
6844
|
/** The `next_cursor` of the previous page. */
|
|
6767
6845
|
cursor?: string;
|
|
6846
|
+
/** 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. */
|
|
6847
|
+
dimension?: Array<string> | null;
|
|
6848
|
+
/** Narrow to static or digital faces, repeatable. */
|
|
6849
|
+
format?: Array<string> | null;
|
|
6768
6850
|
/** First month (YYYY-MM) or day. Default: 12 months before `to`. */
|
|
6769
6851
|
from?: string;
|
|
6770
|
-
/** market_month (default) or fleet_month. */
|
|
6771
|
-
grain?: "market_month" | "fleet_month";
|
|
6852
|
+
/** 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. */
|
|
6853
|
+
grain?: "market_month" | "fleet_month" | "market_week" | "fleet_week" | "market_window" | "fleet_window";
|
|
6772
6854
|
/** Rows per page, 1..500 (default 100). The page limit is reserved; the rows returned are billed. */
|
|
6773
6855
|
limit?: number;
|
|
6774
6856
|
/** A market as COUNTRY:CODE, repeatable. */
|
|
6775
6857
|
market?: Array<string> | null;
|
|
6858
|
+
/** 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. */
|
|
6859
|
+
media_owner?: Array<string> | null;
|
|
6860
|
+
/** Narrow to brands whose parent company is in this brand graph id's family (the `parent_id` a parent slice answers with), repeatable. */
|
|
6861
|
+
parent?: Array<string> | null;
|
|
6862
|
+
/** Narrow to faces of a reader surface (billboard, digital_board, bus_shelter, kiosk), repeatable. */
|
|
6863
|
+
surface?: Array<string> | null;
|
|
6776
6864
|
/** Last month (YYYY-MM, inclusive) or day. Default: this month. */
|
|
6777
6865
|
to?: string;
|
|
6778
6866
|
};
|