Pulling an attentionĀ for National Airings report (includes impressions)
https://api.ispot.tv/v4/metrics/attention/airings?page[size]=5000&filter[start_date]=2019-08-20&filter[end_date]=2019-09-02&filter[airing_type]=N,R&filter[national_only]=1&sort=-audience_impressions_national_linear&include=industry,brand,episode,show,genre,sub_genre,network,day_part,day_of_week
Things to note in API call.
-
audience/airings returns all airings with spend (if the client has access to those) AND impressions
-
start and end date are inclusive
-
page[size] determines how many rows of data you get back per API call. Recommend to use the highest for airings. 5000
-
airing_type=N,R returns National and regional ads. For local ads use L.
-
national_only=1 applies to the reach of the advertiser. Use 1 for national brands
-
add includes to add various other data points that are useful &include=industry,brand,episode,show,genre,sub_genre,network,day_part,day_of_week