Table of contents
Overview
Connected TV (CTV) tags are URLs that are called from the Ad Server/SSP when the device video player calls for the VAST Markup. These URLs contain parameters that should be filled with values when called. These tags help to verify impressions and the impression context when looking to monetize CTV.
We strongly recommend that you work with your SSP or Ad Server to replace as many parameters within the tag as possible. The required and recommended macros are essential for monetization, and some optional fields are also viewed as very important by certain buyers.
Here is a step through an overview of how it works.
You add the CTV Tag to your Ad Server/SSP as a 3rd party creative or tag, depending on your setup.
The Ad Server/SSP calls Commerce Grid using this tag
The MediaGrid responds with the VAST XML
The Ad Server/SSP returns the VAST XML to the media player
The media player renders the VAST, and also any VAST events within e.g Start, FirstQuartile etc
Note
If the CTV channels/apps you wish to monetize with Commerce Grid have an ads.txt or app-ads.txt file, we strongly recommend that you request an ads.txt entry from us and ensure that it is included in the respective party’s file. This will increase monetization by enabling Buyers to validate the sources of the traffic they buy. See the Ads.txt Compliance section for more details.
Setting Up CTV Ad Tags
Setting up ad tags requires you to construct a URL with the relevant Tag URL Parameters. For further details or implementation questions, contact pubsupport@themediagrid.com. The team can provide you with ad tags and help you to set them up for any CTV ad unit.
To expedite the process, you should request all the necessary CTV Ad units using a copy of this mapping sheet. The ad unit structure mainly depends on your Ad Server/SSP setup, however we suggest categorizing the ad units by app/bundle, and also separating the best performing bundles.
CTV Tag URL Parameters
CTV URL Parameters | |
---|---|
Tag URL Parameters | Description |
bi | (Required) Returns the value for the |
an | (Required) Returns the value for the |
auid | (Required) Returns the ad unit ID, e.g. |
ifa | (Recommended) Returns the value for the |
exp | (Recommended) Returns the value for the |
gdpr | (Recommended) Indicates if GDPR applies. |
gdpr_consent | (Recommended) If GDPR applies (i.e if |
us_privacy | (Recommended) Passes the CCPA compliant US Privacy string that indicates whether the user has “opted-in” or “opted-out” of the sale of their data, e.g. |
content_album | (Optional) Returns the value for the |
content_artist | (Optional) Returns the value for the |
content_cat | (Optional) Returns the value for the |
content_contentrating | (Optional) Returns the value for the |
content_context | (Optional) Returns the value for the
|
content_embeddable | (Optional) Returns the value for the |
content_episode | (Optional) Returns the value for the |
content_genre | (Optional) Returns the value for the |
content_id | (Optional) Returns the value for the |
content_isrc | (Optional) Returns the value for the |
content_keywords | (Optional) Returns the value for the |
content_language | (Optional) Returns the value for the |
content_len | (Optional) Returns the value for the |
content_livestream | (Optional) Returns the value for the |
content_prodq | (Optional) Returns the value for the
|
content_producer_cat | (Optional) Returns the value for the |
content_producer_domain | (Optional) Returns the value for the |
content_producer_id | (Optional) Returns the value for the |
content_producer_name | (Optional) Returns the value for the |
content_qagmediarating | (Optional) Returns the value for the |
content_season | (Optional) Returns the value for the |
content_series | (Optional) Returns the value for the |
content_sourcerelationship | (Optional) Returns the value for the |
content_title | (Optional) Returns the value for the |
content_url | (Optional) Returns the value for the |
content_userrating | (Optional) Returns the value for the |
content_videoquality | (Optional) Returns the value for the
|
dnt | (Optional) Returns the value for the |
h | (Optional) Returns the value for the player height, |
ip | (Optional) Returns the value for the |
timestamp | (Optional) Returns a UNIX timestamp indicating when the CTV tag call was made, e.g. |
ua | (Optional) Returns the value for the |
w | (Optional) Returns the value for the player height, |