Overview

The Ad Manager is currently integrated with DoubleClick Mobile for ad serving. If you are loading 3rd Party creatives from rich media vendors, please follow the integration instructions for the certified vendors listed below. DoubleClick exposes macros so that the integration becomes seamless for click click and reduces impression counting discrepancies between the two systems.

The %c Click Macro

The %c macro allows DART to track a click in a custom ad placement; it can only be used in the ad's HTML code. Upon passing through the ad servers, the %c macro expands into the click string of the click-through URL, which contains the ad ID of the placement, a zone ID from the targeted zone or site, and the click-through URL of the ad placement. This macro must be used to enable DART to track the click in custom ads and as such is the most commonly used macro. Place the %c in the clickurl portion of the 3rd party tag.

The %c can also be prefixed to click-through URLs in HTML code in an ad placement. For example:

A HREF="%chttp%3a%2f%2fwww.clickoverURL.com

The above code will expand into a full click-string, logging a click for the ad placement, before redirecting the user to http://www.clickoverURL.com.

DART ad server macros are case-sensitive. %C is not a valid macro.
 

The %n Random Number Macro

The ad server macro %n is used to generate random strings in redirect assignments. The ad server macro %n dynamically generates a random string and appends it to the URL of the click-through and image redirect URL for a redirect assignment. This enables DART's ad servers to insert a unique string that defeats browser caching.

Each third party ad server has individual syntax for using %n; therefore, we recommend contacting your third party vendor to determine the character string that is used when creating redirect assignments.

You must modify both the click-through URL and the image URL as shown in the examples below.

DEFINITION: The %n is the ad server macro used to defeat browser caching.

Example of a modified click-through URL: http://ad.redirect.thirdparty/click%n

Example of a modified image URL: http://ad.redirect.thirdparty/ad.gif%n

DART ad server macros are case-sensitive. %N is not a valid macro.

Vendor specific replacement examples

Celtra

celtra-click-tag="%chttp://s0.2mdn.net/dot.gif?%n
document.write('<!-- Celtra Advertising code --> <script src="http://cdn.celtra.com/v1/adv.js" type="text/javascript"></script> <div class="celtra-ad" celtra-ad-url="http://cdn.celtra.com/v1/ads/373/compiled/CeltraAd/" celtra-click-tag="%chttp://s0.2mdn.net/dot.gif?%n"></div><!-- End of Celtra Advertising code -->');

 

Crisp

__CrispExternalClickURL='%c
 <script>__CrispExternalClickURL='%c';__CrispAdRequestUrl='http://stage.media.crispadvertising.com/dclk/adframework/framework/client/adrequest.js';var _cacinit=function(){src=__CrispAdRequestUrl+'?zonekey=all&partnerkey=0ef14a9cb6fdaa97ac3eee15e96d9409&sitekey=AdframeworkTest&divid=&cb=%n';scripts=document.getElementsByTagName('script');index=scripts.length
 -
 1;me=scripts[index];js=document.createElement('script');js.setAttribute('language','javascript');js.setAttribute('type','text/javascript');js.setAttribute('src',src);js.setAttribute('id','loader');if (me.parentNode) me.parentNode.appendChild(js);};_cacinit();</script>

 

Eyeturn

click=%c&params=%n
<script type="text/javascript" src="http://voken.eyereturn.com/?207000&click=%c&params=%n"></script>

 

Medialets

 click:'%c'
<script type="text/javascript">
 (function(a,b,d){var
 c=b.getElementsByTagName('script'),e=b.createElement('script'),f=Math.floor(Math.random()*1E7),h=/[A-Za-z]+:[\/][\/][A-Za-z0-9.-]+/,g='';a==a.parent?b='i':a.parent.location.href?b='f':(b='u',a=a.document.referrer.match(h),a!==null&&(g='&loc='+a[0]));c=c[c.length-1];e.id=d.tagID+'_'+f;e.src='http://c.medialytics.com/creative?tagID='+d.tagID+'&type='+b+'&imppx='+d.imppx+'&click='+d.click+g+'&r='+f;c.parentNode.insertBefore(e,c)})(window,document,{
 tagID:'d969f7ae79e95e11ece12f25fa313857',
 imppx:'',
 click:'%c'
 });
 </script>

 

Media Mind

var pas_eb_clk_url='%c'
ord=%=%n
<script type='text/javascript'>var pas_eb_clk_url='%c';</script> <script src='http://mbs-test.serving-sys.com/BurstingPipe/adServer.bs?cn=mb&c=26&pli=1853990&PluID=0&f=5&rm=1&ord=%n'></script> <noscript> <a href='%chttp://mbs-test.serving-sys.com/BurstingPipe/mobileRedirect.bs?cn=mbr&pli=1853990&PluID=0&ord=%=%n'><img src='http://mbs-test.serving-sys.com/BurstingPipe/adServer.bs?cn=mb&c=26&pli=1853990&PluID=0&f=5&ord=%=%n'></a> </noscript>

 

Phluant

 var phClkPrepend_440="%c"
<!-- [Campaign [1001 - 440]: TEST TAG - DFP VENDOR INTEGRATION - PHLUANT] Phluant Mobile 300x50-->
 <script language="Javascript" type="text/javascript">
 var phClkPrepend_440="%c"; /* Publisher click tracking prepend, please insert between quotes */
 </script>
 <script language="Javascript" type="text/javascript" id="ph440_script" src="http://mdn2.phluantmobile.net/3/1001/440/js/phExpand.js"></script>
 <noscript>
 <img src="http://mdn2.phluantmobile.net/3/trk.gif?cmID=1001&amp;adId=440&amp;type=noscript&amp;phbust=0" style="position:absolute; width:1px; height:1px; top:0px; left:0px;" />
 <div style="width:300px; margin:auto; position:relative;"><a href="http://cts.phluantmobile.net/clickthru.aspx?pclick=http%3A//phluant.com&amp;ctName=noscript&amp;cmID=1001&amp;adID=440&amp;phbust=0"><img src="http://mdn2.phluantmobile.net/3/1001/440/images/NOSCRIPTfailover.jpg" border="0" /></a></div>
 </noscript>

 

Pointroll

var pr_redir=%c

<script type="text/javascript"> function pr_swfver(){ var osf,osfd,i,axo=1,v=0,nv=navigator; if(nv.plugins&&nv.mimeTypes.length){osf=nv.plugins["Shockwave Flash"];if(osf&&osf.description){osfd=osf.description;v=parseInt(osfd.substring(osfd.indexOf(".")-2))}} else{try{for(i=5;axo!=null;i++){axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i);v=i}}catch(e){}} return v; } var pr_d=new Date();pr_d=pr_d.getDay()+"|"+pr_d.getHours()+":"+pr_d.getMinutes()+"|"+-pr_d.getTimezoneOffset()/60; var pr_postal=""; var pr_data=""; var pr_redir="%c"; var pr_pos=""; var prHost=(("https:"==document.location.protocol)?"https://":"http://");var pr_sec=((prHost=='https://')?'&secure=1':''); if(pr_postal!=""){var przipmatch=/^\d{5}$/;if(przipmatch.test(pr_postal)){pr_pos+="&postal="+pr_postal;}} if((pr_data!="")&&(pr_data.indexOf("&")<0)){pr_pos+="&data="+pr_data;} var pr_s="ads.pointroll.com/PortalServe/?pid=1075170Y14520100729203857&flash="+pr_swfver()+"&time="+pr_d+"&redir="+pr_redir+pr_sec+"&r="+Math.random(); document.write("<scr"+"ipt type='text/javascript' src='"+prHost+pr_s+"'></scr"+"ipt>"); </script> 

 

Todacell

dartclick=%c
<script type="text/javascript" src="http://ads.todacell.com/adserver/getad2?pubid=0&adspaces=js&mode=t&version=2.0&age=20&gender=m&dartclick=%c"></script>