What is a Script Tag?
A script tag is a piece of code used to store, serve and track ads on mobile apps, websites, or other digital channels. Typically generated by ad-serving platforms such as DoubleClick Campaign Manager (DCM). The ad tag contains instructions for how the ad should be displayed, including the ad creative, ad placement, and any tracking or targeting parameters that are associated with the ad.
The Ads Manager platform's most commonly used Script tag is DCM (DoubleClick Campaign Manager). DoubleClick Campaign Manager (DCM) is an ad management and ad-serving solution that helps agencies and advertisers manage the entire scope of digital advertising programs. DCM helps advertisers or agencies to create tags or trackers by which they can track their campaign performance and status of delivery.
DCM Creative Versions
We can run two versions of DCM creatives in Ads Manager:
- DCM INS Tags - DCM (DART) INS Script Tag Setup
- DCM 1x1 - DCM (DART) 1x1 Tag Setup
DCM Script Tag Setup
1. DCM (DART) INS Script Tag Setup
- INS Tags are DCM's Script tag format.
- When you receive the tag sheet from DCM, kindly select the Javascript tag as shown below.
- By default, INS script tags do not usually contain the parameters for the click macro and device ID when sent over by the client. Please add these parameters manually when implementing in GT's Ads Manager in addition to adding in GroundTruth's macros where appropriate.
JavaScript Tag |
<ins class='dcmads' style='display:inline-block;width:970px;height:90px' |
JavaScript Tag with GroundTruth Macros |
<ins class='dcmads' style='display:inline-block;width:970px;height:90px' |
- In the above table, the portions in red are the fields that need to be replaced by the portions in green that include both the parameters and the corresponding GroundTruth macros.
- Sample tag:
New DCM Script Tag Example:
<ins class='dcmads' style='display:inline-block;width:300px;height:50px'
data-dcm-placement='N38312.1984501IHEARTMEDIA.COM/B24365653.281939585'
data-dcm-rendering-mode='script'
data-dcm-https-only
data-dcm-gdpr-applies='gdpr=${GDPR}'
data-dcm-gdpr-consent='gdpr_consent=${GDPR_CONSENT_755}'
data-dcm-addtl-consent='addtl_consent=${ADDTL_CONSENT}'
data-dcm-resettable-device-id='%%USER_UID_OPTOUT%%'
data-dcm-app-id=''
data-dcm-click-tracker='%%ENCODED_CLICKURL%%'
data-dcm-landing-page-escapes=0>
<script src='https://www.googletagservices.com/dcm/dcmads.js'></script>
</ins>
2. DCM 1x1 - DCM (DART) 1x1 Tag Setup
- 1x1 impression and click tags are used to track the number of times an ad is displayed (impressions) and the number of times it is clicked (clicks).
- Standard display banner image or gif is needed when implementing a 1x1 impression and click tag
- When you receive the tag sheet from DCM, kindly select the Impression Tag (image) and click tag as these are the two important components required to upload the tags in Ads Manager.
- You’ll have to follow the below steps to successfully implement the 1x1 impression and click tags in Ads Manager.
- [timestamp] becomes %%TIMESTAMP%%\\
- Remove anything after ltd=?
- Remove anything before https
- Remove gdpr=${GDPR};gdpr_consent=${GDPR_CONSENT_755};
- The final impression tag with all the above modifications will look like this:
Setup in Ads Manager
The final setup in Ads Manager should be in this format (click on image to expand):
Commonly asked questions
1. Do you work with any other script vendors?
Yes, we’ve 35+ certified tag vendors. Please find the list here. If you want to move forward with any of the vendors and need help with the implementation, please reach out to your platform specialist or email selfservehelp@groundtruth.com
Comments
Please sign in to leave a comment.