Examples of Common 3rd Party Ad Tags

DoubleClick For Publishers

As mentioned previously integrating AdButler with other Ad servers can be accomplished using macros. Implementing Double click ad tags in AdButler can be accomplished with the [TRACKING_LINK] macro as demonstrated in this code snippet.

<IFRAME SRC="http://ad.doubleclick.net/adi/N1234.123456.ABCDEFGHIJKL/B1234567.1;sz=300x250;pc=[TPAS_ID];ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;click=[TRACKING_LINK]" WIDTH=300 HEIGHT=250 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR='#000000'> <SCRIPT SRC="http://ad.doubleclick.net/adj/N1234.123456.ABCDEFGHIJKL/B1234567.1;abr=!ie;sz=300x250;pc=[TPAS_ID];ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;click=[TRACKING_LINK]" language='JavaScript1.1'> </SCRIPT> <NOSCRIPT> <A HREF="[TRACKING_LINK]http://ad.doubleclick.net/jump/N1234.123456.ABCDEFGHIJKL/B1234567.1;abr=!ie4;abr=!ie5;sz=300x250;pc=[TPAS_ID];ord=[timestamp]?"> <IMG SRC="http://ad.doubleclick.net/ad/N1234.123456.ABCDEFGHIJKL/B1234567.1;abr=!ie4;abr=!ie5;sz=300x250;pc=[TPAS_ID];ord=[timestamp]?" BORDER=0 WIDTH=300 HEIGHT=250 ALT="Advertisement"></A> </NOSCRIPT> </IFRAME>

DFP INS Tags

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 item's destination URL (to help it play nice with our click-tracker).

Atlas

The Atlas tag requires the inclusion of both a tracking link and a cache-buster. Cache-busters add a random number to the ad request to ensure that duplicates ad calls can be distinguished and to ensure continuity of the ad chain.

IFRAME

The Atlas IFRAME tag requires that a cachebuster [RND] and a tracking link [TRACKING_LINK] be inserted in numerous places, shown below:

<iframe src="http://view.atdmt.com/9QP/iview/473914578/direct/01/[RND]?click=[TRACKING_LINK]" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="468" height="60"> <script language="JavaScript" type="text/javascript"> document.write('<a href="[TRACKING_LINK]http://clk.atdmt.com/9QP/go/473914578/direct/01/" target="_blank"><img src="http://view.atdmt.com/9QP/view/473914578/direct/01/[RND]"/></a>'); </script><noscript><a href="[TRACKING_LINK]http://clk.atdmt.com/9QP/go/473914578/direct/01/" target="_blank"><img border="0" src="http://view.atdmt.com/9QP/view/473914578/direct/01/[RND]" /></a></noscript></iframe>

Javascript

Like the IFRAME tag a cachebuster [RND] and tracking link [TRACKING_LINK] must be inserted into the script, shown below:

<script language="JavaScript" type="text/javascript" src="http://view.atdmt.com/ADO/jview/dnstlt7a0190000003ado/direct/01[RND]?click=[TRACKING_LINK]"></script> <noscript><a href="[TRACKING_LINK]http://clk.atdmt.com/ADO/go/dnstlt7a0190000003ado/direct/01/" target="_blank"> <img border="0" src="http://view.atdmt.com/ADO/view/dnstlt7a0190000003ado/direct/01/[RND]"/></a> </noscript>

Standard Redirects

The basic redirect tags for click tracking and impression counting are as follows

http://view.atdmt.com/ADO/view/dnstlt7a0190000003ado/direct/01/[RND]
[TRACKING_LINK]http://clk.atdmt.com/ADO/go/dnstlt7a0190000003ado/direct/01/

Sizmek

Sizmek will give you a tag like below. The need changes to have your campaign track properly are highlight. The # represents the account number.

NOTE Please scroll to the right to see the needed changes to the SCRIPT portion of the tag.

<script src="https://bs.serving-sys.com/Serving/adServer.bs?c=##&cn=display&pli=#########&w=300&h=600&ord=[timestamp]&z=0&ucm=true&ncu=$$[TRACKING_LINK]/images/invisible.gif$$"></script>

<noscript>
<a href="[TRACKING_LINK]https://bs.serving-sys.com/Serving/adServer.bs?cn=brd&pli=#######&Page=&Pos=########" target="_blank">
<img src="https://bs.serving-sys.com/Serving/adServer.bs?c=8&cn=display&pli=########&Page=&Pos=#######
https://bs.serving-sys.com/Serving/adServer.bs?c=8&cn=display&pli=########&Page=&Pos=#######
" border=0 width=300 height=600></a>
</noscript>

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.