How to serve ads from third party INS tags

If Google Ad Manager (GAM) is your third party server, they may provide you with an insert tag (INS tag) to serve ads. Here is an example of an INS tag:

<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 an INS tag in AdButler, add a new ad item in the relevant campaign or zone. Select Custom HTML/ 3rd Party Tag as the ad item type.

As it is, the INS tag will not track your clicks in AdButler, and you won't be able to see them in your statistics. To set up click tracking, you must modify the INS tag by adding the two lines of code shown in red font in the example below:

<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 GAM script, and ensure that it doesn't encode the ad items destination URL (to help it play nice with our click tracker).


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.