• Skip to main content
  • Skip to footer
Sage+Archer

Sage+Archer

Programmatic Digital Out of Home + Mobile

 

CREATIVE BUILDER

CHECK OUT OUR WORK

SEE THE PLATFORM

LOGIN

JOBS

Add S+A macros to third-party display ad tags

The S+A platform is compatible with a wide range of third-party ad servers. A number of click tracking and cache busting macros can be used to allow these third parties to track clicks for display creatives served through S+A.

Each third party display tag looks a little different, but you can use the samples below as a guide.

Doubleclick Campaign Manager JavaScript tags


Before adding click macros:


<SCRIPT language=’JavaScript1.1′ SRC=”https://ad.doubleclick.net/ddm/adj/Nxxxx.site-keyname/Byyyyyyy;sz=widthxheight;dc_expa=URL;ord=[timestamp];dc_lat=N;dc_rdid=Czzzz;tag_for_child_directed_treatment=I;kw=[keyword];click=?”> 


After adding click macros:


<SCRIPT language=’JavaScript1.1′ SRC=”https://ad.doubleclick.net/ddm/adj/Nxxxx.site-keyname/Byyyyyyy;sz=widthxheight;dc_expa=URL;ord=#TS#;dc_lat=N;dc_rdid=Czzzz;tag_for_child_directed_treatment=I;kw=[keyword];click=#INTERACTION_1_URL#&mptu=?”>

Doubleclick Campaign Manager ins tags


Before adding click macros:


<ins class=’dcmads’
 style=’display:inline-block;width:300px;height:250px’
 data-dcm-placement=’N7480.1664088DOUBLECLICK.NETTEST/B8299600.114131924′
 data-dcm-param-custom_key=’custom_value’
 data-dcm-rendering-mode=’script’>
 <script src=’https://www.googletagservices.com/dcm/dcmads.js’></script>
</ins>


After adding click macros:


<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-click-tracker=’#INTERACTION_1_URL#&mptu=‘>
 <script src=’https://www.googletagservices.com/dcm/dcmads.js’></script> 
</ins>

Doubleclick Campaign Manager i-frame/JavaScript tags


Before adding click macros:


<IFRAME SRC=”https://ad.doubleclick.net/ddm/adi/Nxxxx.site-keyname/Byyyyyyy;sz=widthxheight;ord=[timestamp];dc_lat=N;dc_rdid=Czzzz;tag_for_child_directed_treatment=I;kw=[keyword];click=?” WIDTH=X HEIGHT=Y MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR=’#000000′> 
<SCRIPT language=’JavaScript1.1′ SRC=”https://ad.doubleclick.net/ddm/adj/Nxxxx.site-keyname/Byyyyyyy;abr=!ie;sz=widthxheight;ord=[timestamp];dc_lat=N;dc_rdid=Czzzz;tag_for_child_directed_treatment=I;kw=[keyword];click=?”> 
</SCRIPT> 
</IFRAME> 


After adding click macros:


<IFRAME SRC=”https://ad.doubleclick.net/ddm/adi/Nxxxx.site-keyname/Byyyyyyy;sz=widthxheight;ord=#TS#;dc_lat=N;dc_rdid=Czzzz;tag_for_child_directed_treatment=I;kw=[keyword];click=#INTERACTION_1_URL#&mptu=” WIDTH=X HEIGHT=Y MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR=’#000000′> 
<SCRIPT language=’JavaScript1.1′ SRC=”https://ad.doubleclick.net/ddm/adj/Nxxxx.site-keyname/Byyyyyyy;abr=!ie;sz=widthxheight;ord=#TS#;dc_lat=N;dc_rdid=Czzzz;tag_for_child_directed_treatment=I;kw=[keyword];click=#INTERACTION_1_URL#&mptu=?”> 
</SCRIPT> 
</IFRAME> 

Sizmek tags


Before adding click macros:


<script src=”http://bs.serving-sys.com/BurstingPipe/adServer.bs?cn=rsb&c=28&pli=1234567&PluID=0&w=160&h=600&ord=[timestamp]&ucm=true”></script>
<noscript>
<a href=”http://bs.serving-sys.com/BurstingPipe/BannerRedirect.asp?FlightID=1234567&Page=&PluID=0&Pos=5756″ target=”_blank”><img src=”http://bs.serving-sys.com/BurstingPipe/BannerSource.asp?FlightID=1280098&Page=&PluID=0&Pos=5756″ border=0 width=160 height=600></a>
</noscript>


After adding click macros:


<script src=”http://bs.serving-sys.com/BurstingPipe/adServer.bs?cn=rsb&c=28&pli=1234567&PluID=0&w=160&h=600&ord=#TS#&ncu=#INTERACTION_1_URL#&mptu=&ucm=true”></script>
<noscript>
<a href=”#INTERACTION_1_URL#&mptu=http://bs.serving-sys.com/BurstingPipe/BannerRedirect.asp?FlightID=134567&Page=&PluID=0&Pos=5756″ target=”_blank”><img src=”http://bs.serving-sys.com/BurstingPipe/BannerSource.asp?FlightID=1234567&Page=&PluID=0&Pos=5756″ border=0 width=160 height=600></a>
</noscript>

Celtra tags


Before adding click macros:


<script src=”mraid.js”></script>
<div class=”celtra-ad-v3″>
  <img src=”data:image/png,celtra” style=”display: none” onerror=”
  (function(img) {
    var params = {‘clickUrl’:’http://www.celtra.com/’,’preferredClickThroughWindow’:’new’,’clickEvent’:’advertiser’,’externalAdServer’:’Custom’};
    var req = document.createElement(‘script’);
    req.id = params.scriptId = ‘celtra-script-‘ + (window.celtraScriptIndex = (window.celtraScriptIndex||0)+1);
    params.clientTimestamp = new Date/1000;
    var src = (window.location.protocol == ‘https:’ ? ‘https’ : ‘http’) + ‘://ads.celtra.com/65fb825c/mraid-ad.js?’;
    for (var k in params) {
      src += ‘&amp;’ + encodeURIComponent(k) + ‘=’ + encodeURIComponent(params[k]);
    }
    req.src = src;
    img.parentNode.insertBefore(req, img.nextSibling);
  })(this);
“/></div>


After adding click macros:


<script src=”mraid.js”></script>
<div class=”celtra-ad-v3″>
  <img src=”data:image/png,celtra” style=”display: none” onerror=”
  (function(img) {
    var params = {‘clickUrl’:’#INTERACTION_1_URL#‘,’preferredClickThroughWindow’:’new’,’clickEvent’:’advertiser’,’externalAdServer’:’Custom’};
    var req = document.createElement(‘script’);
    req.id = params.scriptId = ‘celtra-script-‘ + (window.celtraScriptIndex = (window.celtraScriptIndex||0)+1);
    params.clientTimestamp = new Date/1000;
    var src = (window.location.protocol == ‘https:’ ? ‘https’ : ‘http’) + ‘://ads.celtra.com/65fb825c/mraid-ad.js?’;
    for (var k in params) {
      src += ‘&amp;’ + encodeURIComponent(k) + ‘=’ + encodeURIComponent(params[k]);
    }
    req.src = src;
    img.parentNode.insertBefore(req, img.nextSibling);
  })(this);
“/></div>

Conversant tags


Before adding click macros:


<script language=”JavaScript1.1″ src=”http://adfarm.mediaplex.com/ad/js/1234-12345-1234-1?mpt=[CACHEBUSTER]&mpvc=”></script><noscript>
<a href=”http://adfarm.mediaplex.com/ad/ck/1091-86796-2738-5?mpt=[CACHEBUSTER]”>
<img src=”http://adfarm.mediaplex.com/ad/bn/1234-12345-1234-1?mpt=[CACHEBUSTER]”?alt=”Click Here” border=”0″></a></noscript>


After adding click macros:


<script language=”JavaScript1.1″ src=”http://adfarm.mediaplex.com/ad/js/1234-12345-1234-1?mpt=#TS#&mpvc=#INTERACTION_1_URL#&mptu=“></script><noscript>
<a href=”#INTERACTION_1_URL#&mptu=http://adfarm.mediaplex.com/ad/ck/1234-12345-1234-1?mpt=#TS#“>  <img src=”http://adfarm.mediaplex.com/ad/bn/1091-86796-2738-5?mpt=#TS#“alt=”Click Here” border=”0″></a></noscript>

Click tracking and cache busting macros

Click tracking macros are the most commonly used type of macro. These macros allow third-party ad servers to track a click and associate it with the correct creative, tactic, and auction in the S+A platform. Clicking on a creative will first direct users to S+A (to record the click and associated auction information) before redirecting them to the advertiser’s URL.

Footer

OFFICE LOCATIONS
CONTACT
CAREERS
INVENTORY
CREATIVE BUILDER

CASE STUDIES
LINKEDIN
INSTAGRAM

Sage + Archer
HQ Danzigerbocht 45-P
1013AM Amsterdam
Tel: +31207028206

KvK/CoC: 69611033
BTW/VAT: NL8579.39.488B01
IBAN: NL25RABO0327176628
BIC CODE: RABONL2U

EN
EN DE FR ES
We use cookies to analyse the performance of our website via Google Analytics. If you continue to use this site we will assume that you are happy with it.OkNo