Third-Party Tags in Adform

Greta
  • Updated

Banner script tags that are from other ad management systems - third-party tags - should be placed in the Adform system as third-party banners (TPB). To track down clicks on the Adform side for third-party banner, third-party banner tag script should be filled with Adform click macro command: %%c1;cpdir=.

There are few third-party banner tags that are recognized by the Adform system and %%c1;cpdir= macro is added automatically (for example, DoubleClick tags), other tags are not recognized and macro should be added manually. To insert the Adform click macro to received third-party tag (there is no place defined in a code snippet) look for a third-party ad management system specifications for the instructions. See the examples of third party-tags below.

Click-Through Chain

Click %%c1;cpdir= macro command transfers Adform click track link with a list of parameters used in the Adform reporting system. After a click link call, the system makes a redirect to a third-party banner landing page defined on a third-party ad management system.

Here are some third-party examples:

Adform-to-Adform

Sometimes Adform tag needs to be placed as a third-party banner on Adform system too, in this case, use ;OOBClickTrack=%%c1:

<script language="javascript" src="//track.adform.net/adfscript/?bn=14966567;OOBClickTrack=%%c1"></script>

ad2.adfarm1.adition

Option 1:

<script type="text/javascript" src="http://imagesrv.adition.com/js/adition.js"></script >
<script type="text/javascript">
 var AdformClickCounter = ('%%c1;cpdir=');
 document.write('<scr'+'ipt src="http://ad2.adfarm1.adition.com/js?wp_id=2570330&clickurl=' + AdformClickCounter + '"></scr'+'ipt>');
</script>
<noscript>
 <img src="http://kadtd.com/dt/ad.js?r=nojs"  width="0" height="0"/>
</noscript>

Option 2:

<script type="text/javascript" src="https://imagesrv.adition.com/js/adition.js"></script>
<script type="text/javascript" src="https://adfarm1.adition.com/js?wp_id=2574533&kid=1488390&clickurl=%%c1;cpdir="></script>
<noscript>
<a href="%%c1;cpdir=https://adfarm1.adition.com/click?sid=2574533&ts=%%ADFRND%%">
<img src="https://adfarm1.adition.com/banner?sid=2574533&kid=1488390&ts=%%ADFRND%%" border="0"></a>
</noscript>

Option 3:

<iframe allowtransparency="true" scrolling="no" frameborder="0" border="0" width="300" height="600" marginwidth="0" marginheight="0" background-color="transparent" src="https://ad1.adfarm1.adition.com/banner?sid=3416743&kid=1528449&wpt=H&clickurl=%%c1;cpdir=">
</iframe>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

adcarousel.pl

<script language="javascript1.2" type="text/javascript">
//<![CDATA[
  var placement_34699_options = {
    'flashVars' : {
    'clickUrl' : '',
    'viewUrl':'',
    'beforeUrl':'%%c1;cpdir='
  },
 'dontEscapeFlashVars' : false,
 'renderToContainer' : false,
 'targetContainerId' : ''
 };
 document.write('<scr'+'ipt src="http://www.adcarousel.pl/engine/placement?id=00000" type="text/javascript"></scr'+'ipt>');
//]]>
</script>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

adfarm.mediaplex.com

<script type = 'text/javascript'>
        var mpts = +new Date;
        var ADFmacro = ('%%c1;cpdir=').replace(/;/g, '&');
        document.write('<scr' + 'ipt type=\'text\/javascript\' src=\'http:\/\/adfarm.mediaplex.com\/ad\/js\/16688-161755-49566-15\?mpt=' + mpts + '&mpvc=' + ADFmacro + '\'><\/scr' + 'ipt>');  
</script>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

Admost

Example 1 (JavaScript tag) - encoded Adform macro (%%ec1) is used and the semicolon (;) before cpdir= is encoded as well (%3B):

<script src="https://run.admost.com/adx/get.ashx?pbk=410904-266985-24842&preredir=%%ec1%3Bcpdir="></script>

Example 2 (IFrame tag) - same as above, but %%ec1%3Bcpdir= is encoded one additional time:

<script>
var ADFClick = encodeURIComponent('%%ec1;cpdir=');
document.write('<iframe src="https://run.admost.com/adx/frame.ashx?pbk=413863-269891-48108&preredir='+ADFClick+'" width="970" height="250" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>');
</script>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

Adocean (Gemius)

<script language="javascript1.2" type="text/javascript">
//<![CDATA[
 document.write('<scr'+'ipt src="http://bggde.adocean.pl/_'+(new Date()).getTime()+'/ad.js?id=CB6bG14_SH.AQegcAGEn_xof.sObVju4kAyRdXqGJAT.77/redir=%%c1;cpdir=" language="javascript"></scr'+'ipt>');
//]]>
</script>

Note: this describes the usage of external non Adform related systems and please check respective documentation for most up to date information.

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

ads.adxpose

<script type='text/javascript'>var ps_ct0 = '%%c1';</script>
<script type='text/javascript' src='http://eu.projectsunblock.com/system/serve.php?a=6869&c=2482&js=1'></script>
<script type="text/javascript">
__ADXPOSE_PREFS__ = {
    uid: "Onr4beVfJvtPJFvn_1001DK_ADFORM_RONV4_160",
    cid: encodeURIComponent("1001DK_ADFORM_RONV4"),
    vchannel: encodeURIComponent("ADFORM"),
    pageurl: "",
    publisher: "",
    version: 2,
    override: true
}
</script>
<script type="text/javascript">
 document.write('<scr'+'ipt src="http://ads.adxpose.com/ads/ads.js?uid='+encodeURIComponent('Onr4beVfJvtPJFvn_1001DK_ADFORM_RONV4_160')+'" type="text/javascript" charset="utf-8"></scr'+'ipt>')
</script> 
<script src="http://servedby.adxpose.com/adxpose/find_ad.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript"> 
 var p ='';
 if(window != top) p = '&r=' + encodeURIComponent(document.referrer);else p = '&h='+ window.location.hostname;
 document.write('<scr'+'ipt src="http://kadtd.com/dt/ad.js?campaign=1001DK&creativeID=1001DK_ADFORM_RONV4_160&pubcode=ADFORM&reported=ADFORMURL' +  p + '"></scr'+'ipt>');
</script>
<noscript>
 <img src="http://kadtd.com/dt/ad.js?r=nojs"  width="0" height="0"/>
</noscript>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

ads.newtention.net

<script type="text/javascript" language="JavaScript" src="http://ads.newtention.net/ads?rt=2&et=1&bi=176312&se=m&cs=8993&ts=%%ADFTimeStamp&cr=%%c1;cpdir="></script>
<noscript>
  <a href="http://ads.newtention.net/ads?rt=7&et=2&bi=176312&se=m&cs=8993&ts=%%ADFTimeStamp" target="_blank">
    <img src="http://ads.newtention.net/ads?rt=4&et=1&bi=176312&se=m&cs=8993&ts=%%ADFTimeStamp" width="728" height="90" alt="" border="0">
  </a>
</noscript>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

ads2.williamhill.com

<a href="%%c1;cpdir=http://ads2.williamhill.com/redirect.aspx?pid=183726121&lpid=46303112&bid=XXXXXX" target=_"blank">

<img alt="William Hill" src="http://ads2.williamhill.com/renderImage.aspx?pid=183726121&lpid=46303112&bid=XXXXXX" border=0></img ></a>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

adserver.adtech.de

<script type="text/javascript">
 var AdformClickCounter = ('%%c1;cpdir=').replace(/\\|/g, ",").replace(/;/g,'&');
 var ADFRND = (+new Date);
 document.write('<IFRAME WIDTH="728" HEIGHT="90" SCROLLING="No" FRAMEBORDER="0" MARGINHEIGHT="0" MARGINWIDTH="0" SRC="http://adserver.adtech.de/adiframe/3.0/75/4184112/0/225/ADTECH;target=_blank;grp=[group];&rdclick=' + AdformClickCounter + '"><scr'+'ipt src=\'http://adserver.adtech.de/addyn/3.0/75/4184112/0/225/ADTECH;loc=700;target=_blank;grp=[group];rdclick=' + AdformClickCounter + '\'></scr'+'ipt></IFRAME>');
</script>
<noscript>
 <a href="' + AdformClickCounter + '=http://adserver.adtech.de/adlink/3.0/75/4184112/0/225/ADTECH;loc=300;grp=[group]" target="_blank">
  <img src="http://adserver.adtech.de/adserv/3.0/75/4184112/0/225/ADTECH;loc=300;grp=[group]" border="0" width="728" height="90">
 </a>
</noscript>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

Adserve.zone

<!--Adserve.zone Code | Adserve test and samples | Adform Sample Tag | 300x250 //-->
<script src="https://lab.adserve.zone/ads_banner.php?id=1234&code=ejicblhsjrpacww&r=%%c1;cpdir=&ord=%%ADFRND%%"></script>
<!-- End of Adserve.zone Code //-->

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

AdsFac

<script type="text/javascript" language="javascript">
var fd_clk = '%%c1;cpdir=http://adsfac.eu/link.asp?cc=HES002.217337.0';
</script>
<script type="text/javascript" language="javascript" src="http://adsfac.eu/ag.asp?cc=HES002.217337.0&source=js&ord=%%ADFTimeStamp"></script>
<noscript>
<a href="%%c1;cpdir=http://adsfac.eu/link.asp?cc=HES002.217337.0" target="_blank"><img src="http://adsfac.eu/ag.asp?cc=HES002.217337.0&bk=1&ord=%%ADFTimeStamp" width="300" height="250" border="0" alt=""></a>
</noscript>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

adspirit.de

<script language="JavaScript" src="http://em.adspirit.de/adscript.php?pid=52&wmid=270&nvc=1&dhr=1&ord=%%ADFRND%%&prdclick_1=%%c1;cpdir="></script>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

atdmt.com

<iframe src="http://view.atdmt.com/MS6/iview/469908093/direct/01?click=%%c1;cpdir=" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="300" height="250">
 <script language="JavaScript" type="text/javascript">
   document.write('<a href="EASLink=http://clk.atdmt.com/MS6/go/469908093/direct/01/" target="_blank"><img src="http://view.atdmt.com/MS6/view/469908093/direct/01/"/></a>');
 </script>
 <noscript>
  <a href="EASLink=http://clk.atdmt.com/MS6/go/469908093/direct/01/" target="_blank"><img border="0" src="http://view.atdmt.com/MS6/view/469908093/direct/01/" /></a>
 </noscript>
</iframe>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

bannerflow.com

<script>document.write('<scr'+'ipt src="//embed.bannerflow.com/XXX8af5d320a79146cc8b2f6?targeturl='+encodeURIComponent('%%c1')+'"></scr'+'ipt>');</script> 

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

bbelements.com

<script type='text/javascript' charset='utf-8'>
/* <![CDATA[ */
var bbs=screen,bbn=navigator,bbh;bbh='&ubl='+bbn.language+'&ucd='+1*bbs.colorDepth+'&uce='+1*bbn.cookieEnabled+'&uje='+1*bbn.javaEnabled()+'&uah='+1*bbs.availHeight+'&uaw='+1*bbs.availWidth+'&uhe='+1*bbs.height+'&uwi='+1*bbs.width+'&uto='+(new Date()).getTimezoneOffset()+'&uti='+(new Date()).getTime();
        if(typeof(bburlparam)=='string') { bbh+='&'+bburlparam; }
        if(typeof(bbkeywords)=='string') { bbh+='&keywords='+encodeURIComponent(bbkeywords); }
document.write("<scr"+"ipt type='text/javascript' charset='utf-8' src='http://go.goldbachpoland.bbelements.com/please/showit/XXXX/1/2/30/?typkodu=js&_idplan=265024"+bbh+"&bust="+Math.random()+"&target=_blank&clickadd=1&click=%%c1;cpdir='><"+"\/scr"+"ipt>");
/* ]]> */
</script>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

bs.serving-sys.com

<script src="http://bs.serving-sys.com/BurstingPipe/adServer.bs?cn=rsb&c=28&pli=1684830&PluID=0&w=468&h=60&ord='+new Date().getTime() +'&ucm=true&ncu=%%c1;cpdir="></script>
<noscript>
 <a href="%%c1;cpdir=http://bs.serving-sys.com/BurstingPipe/BannerRedirect.asp?FlightID=1684830&Page=&PluID=0&Pos=6572" target="_blank">
  <img src="http://bs.serving-sys.com/BurstingPipe/BannerSource.asp?FlightID=1684830&Page=&PluID=0&Pos=6572" border=0 width=468 height=60>
 </a>
</noscript>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

doubleclick.net

Old format DoubleClick tag:

<script>
 document.write('<scr'+'ipt src=\'http://ad.doubleclick.net/adj/N8017.858336.OXEGENMEDIA.COM/B6940936;abr=!ie;sz=728x90;click=' + ('%%c1;cpdir=').replace(/;/g,'&') + ';ord=' + new Date().getTime() + '?\'></scr'+'ipt>');
</script>

New format DoubleClick tag (ins tag):

Note

Check, if INS TAG contains the parameter 'data-dcm-landing-page-escapes=0' as in the example below.

<ins data-dcm-click-tracker='%%c1;cpdir=' class='dcmads' style='display:inline-block;width:160px;height:600px'
    data-dcm-landing-page-escapes=0
    data-dcm-placement='N6311.161362.HURRIYET.COM.TR/B11177973.149041068'
    data-dcm-rendering-mode='iframe'
    data-dcm-https-only
    data-dcm-resettable-device-id=''
    data-dcm-app-id=''>
  <script src='https://www.googletagservices.com/dcm/dcmads.js'></script>
</ins>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

eu.thtag.ch

<script type="text/javascript" src="http://as.eu.thtag.ch/select?type=js&plc=XXXX&padsrvcurl=%%c1;cpdir=&cache=%%ADFRND%%"></script>
<noscript>
<a href="http://as.eu.thtag.ch/adcount?type=img&plc=XXXX&cache=%%ADFRND%%" target="_blank">
<img border="0" width="300" height="250" alt="Click here!" src="http://as.eu.thtag.ch/select?type=img&plc=XXXX&cache=%%ADFRND%%&padsrvcurl=%%c1;cpdir=" /></a>
</noscript>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

euroads.fi

<script type="text/javascript">
 document.write("<iframe src=\"http://tracking1.euroads.fi/system/showadv.php?sid=6&cpid=641&adid=24554&acid=1553&eatrackid=38250&eapartnerredir=%%c1;cpdir=\" width=468 height=60 marginwidth=0 marginheight=0 ALLOWTRANSPARENCY=true frameborder=0 scrolling=no bordercolor=#000000 hspace=0 vspace=0></iframe>");
</script>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

flashtalking.com

<noscript>
<a href="%%c1;cpdir=http://servedby.flashtalking.com/click/2/42502;1064XXX;0;209;0/?ft_width=930&ft_height=180&url=6323470" target="_blank">
<img border="0" src="http://servedby.flashtalking.com/imp/2/42502;1064XXX;205;gif;RTBDK;v0102CPMrosprivatleasing930x180thinxxxxx/?"></a>
</noscript>
<script language="Javascript1.1" type="text/javascript">
var ftClick = "%%c1;cpdir=";
var ftExpTrack_1064XXX = "";
var ftX = "";
var ftY = "";
var ftZ = "";
var ftOBA = 1;
var ftContent = "";
var ftCustom = "";
var ft930x180_OOBclickTrack = "";
var ftRandom = Math.random()*1000000;
var ftBuildTag1 = "<scr";
var ftBuildTag2 = "</";
var ftClick_1064XXX = encodeURIComponent(ftClick);
if(typeof(ft_referrer)=="undefined"){var ft_referrer=(function(){var r="";if(window==top){r=window.location.href;}else{try{r=window.parent.location.href;}catch(e){}r=(r)?r:document.referrer;}while(encodeURIComponent(r).length>1000){r=r.substring(0,r.length-1);}return r;}());}
var ftDomain = (window==top)?"":(function(){var d=document.referrer,h=(d)?d.match("(?::q/q/)+([qw-]+(q.[qw-]+)+)(q/)?".replace(/q/g,decodeURIComponent("%"+"5C")))[1]:"";return (h&&h!=location.host)?"&ft_ifb=1&ft_domain="+encodeURIComponent(h):"";}());
var ftTag = ftBuildTag1 + 'ipt language="javascript1.1" type="text/javascript" ';
ftTag += 'src="http://servedby.flashtalking.com/imp/2/42502;1064XXX;201;js;RTBDK;v0102CPMrosprivatleasing930x180thinxxxxx/?ftx='+ftX+'&fty='+ftY+'&ftadz='+ftZ+'&ftscw='+ftContent+'&ft_custom='+ftCustom+'&ftOBA='+ftOBA+ftDomain+'&ft_referrer='+encodeURIComponent(ft_referrer)+'&cachebuster='+ftRandom+'" id="ftscript_930x180" name="ftscript_930x180"';
ftTag += '>' + ftBuildTag2 + 'script>';
document.write(ftTag);
</script>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

fxdepo.com

<script type="text/javascript">
var AdformClickCounter = escape('%%c1;cpdir=');
var ADFRND = (+new Date);
 document.write('<scr'+'ipt src="//pbid.fxdepo.com/engine?site=123456789;size=300x250;linktarget=_blank;mimetype=js;rnd=' +  ADFRND + ';clk=' + AdformClickCounter + '" type="text/javascript" charset="utf-8"></scr'+'ipt>')
</script>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

imp.cdnspstr.com

<iframe width="160" height="600" scrolling="No" frameborder="0" marginheight="0" marginwidth="0" src="http://imp.cdnspstr.com/adiframe/3.0/1146/4266980/0/154/ADTECH;target=_blank;sub1=;sub2=;sub3=;sub4=;;rdclick=%%c1;cpdir=">
 <script language="javascript" src="http://imp.cdnspstr.com/addyn/3.0/1146/4266980/0/154/ADTECH;loc=700;target=_blank;sub1=;sub2=;sub3=;sub4=;;rdclick=%%c1;cpdir=">
 </script>
 <noscript>
  <a href="http://imp.cdnspstr.com/adlink/3.0/1146/4266980/0/154/ADTECH;loc=300;sub1=;sub2=;sub3=;sub4=;" target="_blank">
   <img src="http://imp.cdnspstr.com/adserv/3.0/1146/4266980/0/154/ADTECH;loc=300;sub1=;sub2=;sub3=;sub4=;" border="0" width="160" height="600">
  </a>
 </noscript>
</iframe>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

it.clickpoint.com

<script type='text/javascript'>
  var AdformClickCounter = encodeURIComponent('%%c1;cpdir=');
  document.write('<scr'+'ipt src="http://it.clickpoint.com/db/load.cp?PRO=000000&ID=41009&SUB=&CLICK=' +  AdformClickCounter + '"></scr'+'ipt>');
</script>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

kadtd.com

<script type="text/javascript"> 
 var p ='%%c1';
 if(window != top) p = '&r=' + encodeURIComponent(document.referrer);
 else p = '&h='+ window.location.hostname;
 document.write('<scr'+'ipt src="http://kadtd.com/dt/ad.js?campaign=2055A_DE&creativeID=2055A_DE_ADFORM_GENERAL_728&pubcode=[BID_ATTR.exchange]&reported=[BID_ATTR.page_url]' +  p + '"></scr'+'ipt>');
</script>
<noscript>
 <img src="http://kadtd.com/dt/ad.js?r=nojs"  width="0" height="0"/>
</noscript>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

madsone.com

<script src="http://eu2.madsone.com/js/tags.js"></script>
<script>
 MADSAdrequest.adrequest({pid: "2382066057", fid: 69678, device_location_latitude: "", device_location_longitude: "", adspace_floorprice: "", click_redirect: "%%c1;cpdir=",  click_tracker: "" }); 
</script>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

media.adrcdn

<script language="javascript">
 screenad = {
    id           : '0021461b58636878e21bd0d9a190902d',
    mediapath    : 'http://media.adrcdn.com/ads/Helicon/3132303538/40708/',
    random       : '',
    placement    : 'default',
    width        : 1,
    height       : 1,
    clicks       : ['%%c1;cpdir=http://opendagenvmbo.helicon.nl'],
    imptrackers  : []    
  };
 document.write('<scr'+'ipt language="javascript" src="http'+('https:'==document.location.protocol?'s://media':'://scripts')+'.adrcdn.com/scripts/screenad_launch_9.4.0_scrambled.js"></scr'+'ipt>');
</script>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

media1.interactivebrokers.com

<iframe src="http://media1.interactivebrokers.com/cookE/geoip/iframe?spacedesc=17109010_17109002_160x600_17109003_17109010&target=_blank&random=&@CPSC@=%%c1;cpdir=" width=160 height=600 scrolling="No" frameborder=0 marginheight=0 marginwidth=0>
 <script src="http://media1.interactivebrokers.com/cookE/geoip/jscript?spacedesc=17109010_17109002_160x600_17109003_17109010&ML_NIF=Y&target=_blank&random=&@CPSC@=%%c1;cpdir=">
 </script>
 <noscript>
  <a href="http://media1.interactivebrokers.com/cookE/geoip/click?spacedesc=17109010_17109002_160x600_17109003_17109010&ML_NIF=Y" target="_blank">
   <img src="http://media1.interactivebrokers.com/cookE/geoip/image?spacedesc=17109010_17109002_160x600_17109003_17109010&random=&ML_NIF=Y" width=160 height=600 alt="Click Here" border=0>
  </a>
 </noscript>
</iframe>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

medialets.com

Mobile App:

<script type="text/javascript">
(function(s,u,o,i){ 
for(i in o)o.hasOwnProperty(i)&&(u+='&'+i+'='+encodeURIComponent(o[i]));document.write('<script src="'+s+u+'"><'+'/script>'); 
}('https://s-cdn-tag.medialytics.com','/tag?format=dw',{
  tagID: "s531e3d9ffa6f4b43b944d1308faf899e",
  click: "%%c1;cpdir=$$_DESTINATION_URL_$$",
  ex: "%%ADFNETW%%",
  site: "%%ADFMEDID%%",
  osdevid: "%%ADFDEVID%%",
  osoptout: "OPT_OUT_MACRO_HERE",
  pubimpid: "%%ADFIMPID%%",
  downloadData: "%%ADFAPPDATA%%",
  pm: "%%ADFTRID%%",
  imppx: ""
})); 
</script>

Mobile web:

<script type="text/javascript">
        (function(s,n,u,o,i){ 
                for(i in o)o.hasOwnProperty(i)&&(u+='&'+i+'='+encodeURIComponent(o[i]));document.write('<script src="'+(location.protocol=='https:'?s+u:n+u+decodeURI('" onerror="document.write(%27<script src=%5c%27')+s+u+decodeURI('%5c%27><%27+%27/script>%27)'))+'"><'+'/script>'); }
        ('https://s-cdn-tag.medialytics.com','http://tag.medialytics.com','/tag?format=dw',{
                tagID: "sfb234988cb694ab4bf37a69c1e7cf09f",
                click: "%%c1;cpdir=$$_DESTINATION_URL_$$",
                ex: "%%ADFNETW%%",
                site: "%%ADFMEDID%%",
                pubimpid: "%%ADFIMPID%%",
                downloadData: "%%ADFAPPDATA%%",
                pm: "%%ADFTRID%%",
                imppx: ""
        })); 
</script>

If you are not able to see the tag for the third-party banner after you have created it in Adform system, you need to adjust Medialets' script. Add a space before the percent icon (%):

... decodeURI('%5c%27>< %27+%27/script>%27)')) ...

This applies only for mobile web banners.

myadexchanges.com

<script type="text/javascript">
 var AdformClickCounter = encodeURIComponent('%%c1;kw=product-id;cpdir=');
 document.write('<iframe src="http://myadexchanges.com/ci/index.php?/kk/cat/0bLh9B3xqRzyA1aSDL9d9vqiP9Ta1%2FLpRp0bveShid4ynWJeXsS7FnCw70V3JKuDHSSA8u5f8lI4VLi2MOZlIA%3D%3D&precode=' + AdformClickCounter +'" width="300" height="250" frameborder="0"></iframe>');
</script>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

MOAT

Before:

<script type="text/javascript">
        (function() {
            var moatApi = {};
            moatApi.rand = Math.floor(Math.random() * 100000000);
            moatApi.loadTimes = {};
            moatApi.loadTimes.t0 = (new Date).getTime();
            moatApi.pcode = "essenceukeedcmdisplaybs475485114131";
            moatApi.level1 = "23199416";
            moatApi.level2 = "Adform";
            moatApi.level3 = "255654333";
            moatApi.level4 = "-";
            moatApi.width = "160";
            moatApi.height = "600";
            moatApi.jsonpTO = 600;
            moatApi.fallbackAdTag = "\x3Cscript src=\x22https://z.moatads.com/fallback/ad.js\x22\x3E\x3C/script\x3E";
        moatApi.adTag = "\x3Cins class=\x27dcmads\x27 style=\x27display:inline-block;width:160px;height:600px\x27"+
        "data-dcm-placement=\x27N3784.2060311ADFORM/B23199416.255654333\x27"+
        "data-dcm-rendering-mode=\x27script\x27"+
        "data-dcm-https-only"+
        "data-dcm-resettable-device-id=\x27\x27"+
        "data-dcm-app-id=\x27\x27\x3E"+
        "\x3Cscript src=\x27https://www.googletagservices.com/dcm/dcmads.js\x27\x3E\x3C/script\x3E"+
        "\x3C/ins\x3E";
            var moatApiName = "_moatApi" + moatApi.rand;
            window[moatApiName] = moatApi;
            document.write("\x3Ciframe frameborder=\x220\x22 scrolling=\x22no\x22 marginheight=\x220\x22 marginwidth=\x220\x22 height=\x22" + moatApi.height + "\x22 width=\x22" + moatApi.width + "\x22 topmargin=\x220\x22 leftmargin=\x220\x22 allowtransparency=\x221\x22 id=\x22" + moatApiName + "\x22\x3E\x3C/iframe\x3E");
            document.write("\x3Cscript id=\x22" + moatApiName + "\x22 type=\x22text/javascript\x22 src=\x22https://z.moatads.com/pbb847483933/bsi.js#" + moatApiName+ "\x22\x3E\x3C/script\x3E");
        })()
        </script>

After:

<script type="text/javascript">
        (function() {
            var moatApi = {};
            moatApi.rand = Math.floor(Math.random() * 100000000);
            moatApi.loadTimes = {};
            moatApi.loadTimes.t0 = (new Date).getTime();
            moatApi.pcode = "essenceukeedcmdisplaybs475485114131";
            moatApi.level1 = "23199416";
            moatApi.level2 = "Adform";
            moatApi.level3 = "255654333";
            moatApi.level4 = "-";
            moatApi.width = "160";
            moatApi.height = "600";
            moatApi.jsonpTO = 600;
            moatApi.fallbackAdTag = "<script src='https://z.moatads.com/fallback/ad.js'></scr"+"ipt>";
        moatApi.adTag = "<ins class='dcmads' style='display:inline-block;width:160px;height:600px'"+
        "data-dcm-placement='N3784.2060311ADFORM/B23199416.255654333'"+
        "data-dcm-rendering-mode='script'"+
        "data-dcm-https-only"+
        "data-dcm-resettable-device-id=''"+
        "data-dcm-click-tracker='%%c1;cpdir='"+
        "data-dcm-landing-page-escapes='0'"+
        "data-dcm-app-id=''>"+
        "<script src='https://www.googletagservices.com/dcm/dcmads.js'></scr"+"ipt>"+
        "</ins>";
            var moatApiName = "_moatApi" + moatApi.rand;
            window[moatApiName] = moatApi;
            document.write("<iframe frameborder='0' scrolling='no' marginheight='0' marginwidth='0' height='" + moatApi.height + "' width='" + moatApi.width + "' topmargin='0' leftmargin='0' allowtransparency='1' id='" + moatApiName + "'></iframe>");
            document.write("<script id='" + moatApiName + "' type='text/javascript' src='https://z.moatads.com/pbb847483933/bsi.js#" + moatApiName+ "'></scr"+"ipt>");
        })()
        </script>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

openx.org

<script type='text/javascript'>
 <!--//<![CDATA[ document.MAX_ct0 ='%%c1';
  var m3_u = (location.protocol=='https:'?'https://d1.openx.org/ajs.php':'http://d1.openx.org/ajs.php');
  var m3_r = Math.floor(Math.random()*99999999999);
  if (!document.MAX_used) document.MAX_used = ',';
  document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
  document.write ("?zoneid=294550&target=_blank");
  document.write ('&cb=' + m3_r);
  if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
  document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
  document.write ("&loc=" + escape(window.location));
  if (document.referrer) document.write ("&referer=" + escape(document.referrer));
  if (document.context) document.write ("&context=" + escape(document.context));
  if ((typeof(document.MAX_ct0) != 'undefined') && (document.MAX_ct0.substring(0,4) == 'http')) {
    document.write ("&ct0=" + escape(document.MAX_ct0));
  }
  if (document.mmm_fo) document.write ("&mmm_fo=1");
  document.write ("'><\/scr"+"ipt>");
 //]]>-->
</script>

<noscript>
 <a href='http://d1.openx.org/ck.php?n=a995ecb7&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'>
  <img src='http://d1.openx.org/avw.php?zoneid=294550&cb=INSERT_RANDOM_NUMBER_HERE&n=a995ecb7&ct0=%%c1' border='0' alt='' />
 </a>
</noscript>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

ox-d.oxasfmg.com

<script type="text/javascript">
 var AdformClickCounter = ('%%c1;cpdir=').replace(/\\|/g, ",").replace(/;/g,'&');
 var ADFRND = (+new Date);
 document.write('<iframe id="50c81e52b42bc" name="50c81e52b42bc" src="http://ox-d.oxasfmg.com/w/1.0/afr?auid=327001&cb=' + ADFRND +'&r=' + AdformClickCounter + '" frameBorder="0" frameSpacing="0" scrolling="no" width="160" height="600"><a href="' + AdformClickCounter + '=http://ox-d.oxasfmg.com/w/1.0/rc?cs=50c81e52b42bc&cb=' + ADFRND +'" ><img src="http://ox-d.oxasfmg.com/w/1.0/ai?auid=327001&cs=50c81e52b42bc&cb=' + ADFRND +'" border="0" alt=""></a></iframe>');
</script>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

s.atemda.com

<script type='text/javascript'> var ADM_PL = {tp:'sp', wId:759603, pId:26062036, rank:1, width:300, height:250, pbId:245, clk:'[%%c1;cpdir=]'}; </script> 
<script type='text/javascript' src='//s.atemda.com/Admeta.js'></script> 
 

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

serving.plexop.net

<script type="text/javascript">
 var AdformClickCounter = escape('%%c1;cpdir=');
 document.write('<iframe id="4_12189" frameborder="0" height="600" width="160" scrolling="no" marginwidth="0" marginheight="0" style="margin:0" src="http://serving.plexop.net/pserving/4/1/4_12189.htm?rdclick=' + AdformClickCounter + '"></iframe>');
</script>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

share.apartena.net

<a href="%%c1;cpdir=//share.apartena.net/trck/eclick/0daabeXXXXXXXXXXXXXX?subid=male&ncu=" target="_blank">
<img src="//share.apartena.net/trck/eview/0daabeXXXXXXXXXXXXXX" border=0 width="300" height="250" alt="" />
</a>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

smartadserver.com

Example 1:

<script>
 document.write('<scr'+'ipt type="text/javascript" src="http://www2.smartadserver.com/call/pubj/7182/120529/1888/S/'+ new Date().getTime() + '/[target]?%%c1;cpdir=" ></scr'+'ipt>');
</script>

Example 2:

<script>
        var AdformClickCounter = encodeURIComponent('%%c1;cpdir=');
        var ADFRND = (+new Date);
document.write('<scr'+'ipt type="text/javascript" src="//www6.smartadserver.com/call/pubdirj/XXXXX/XXXXX/kampanie.OAN_rtb.oan/300x250/'+ADFRND+'/no?' + AdformClickCounter +'"  ></scr'+'ipt>');
</script>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

tradedoubler.com

<script type=”text/javascript”>
 var uri = ‘http://impse.tradedoubler.com/imp?type(js)pool(xxxxxx)a(xxxxxxx)preurl(%%c1;cpdir=)?’ + new String (Math.random()).substring (2, 11);
 document.write(‘<sc”ript type=”text/javascript” src=”‘+uri’” charset=”ISO-8859-1?></sc’+’ript>’);
</script>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

wavcom.fr

<script type="text/javascript">
 var AdformClickCounter = ('%%c1;cpdir=');
 var ADFRND = (+new Date);
 document.write('<iframe id=\'abed2b1e\' name=\'abed2b1e\' framespacing=\'0\' frameborder=\'no\' scrolling=\'no\' width=\'300\' height=\'250\' src=\'http://www.wavcom.fr/adserver/www/delivery/afr.php?zoneid=24&target=_blank&cb='+ ADFRND +'&ct0='+ AdformClickCounter +'\'><a href=\'http://www.wavcom.fr/adserver/www/delivery/ck.php?n=a3709920&cb='+ ADFRND +' target=\'_blank\'><img src=\'http://www.wavcom.fr/adserver/www/delivery/avw.php?zoneid=24&cb='+ ADFRND +'&n=a3709920&ct0='+ AdformClickCounter +' border=\'0\' /><\/a><\/iframe>');
</script>

Note

This describes the usage of external non-Adform related systems and check respective documentation for up to date information.

Was this article helpful?

/
How we can make it better?

Thank you for your feedback!