3rd Party INS Tag

One type of ad tag that DFP may provide you with is an INS tag. Here is an example of what one may look like:

<ins class="dcmads" style="display:inline-block;width:300px;height:250px">
data-dcm-placement="N7480.1664088DOUBLECLICK.NETTEST/B8299600.114131924"
data-dcm-rendering-mode="script"
data-dcm-https-only
data-dcm-resettable-device-id=''>
<script src="//www.googletagservices.com/dcm/dcmads.js">/script>
</ins>


To serve an ad from one of these tags in AdButler, you will create a 3rd Party HTML Ad Item. As it is, this code will not track your clicks in AdButler, and you won't be able to see them in your statistics. To set up the click tracking, all you have to do is add in two lines of code to the ins tag. Properly implemented, the tag will look like this:

<ins class="dcmads" style="display:inline-block;width:300px;height:250px">
data-dcm-placement="N7480.1664088DOUBLECLICK.NETTEST/B8299600.114131924"
data-dcm-rendering-mode="script"
data-dcm-https-only
data-dcm-landing-page-escapes=0
data-dcm-click-tracker='[TRACKING_LINK_ENCODED]'
data-dcm-resettable-device-id=''>
<script src="//www.googletagservices.com/dcm/dcmads.js">/script>
</ins>`


These two lines inject our click-tracker into the DFP script, and ensure that it doesn't encode the ad items destination URL (to help it play nice with our click-tracker). Once you've got your tag looking like the one above, you'll be good to go!


Can't find what you're looking for?

Send us an email

hello@adbutler.com

Visit the blog

For more ad serving tips, industry news and AdButler insights.