Before you start rotating your placement tag in a programmatic campaign please check if you have done the following steps:
- Pick the right tag type
- Implement a Cachebuster
- Put a Click Macro in place
Pick the Right Tag Type
Your tag has to be:
- Secure – All biggest open exchanges require secure tags. Secure tags are compatible with non-secure pages. Non-secure tags will not load on secure websites. Requesting secure tags is best practice.
- Proper tag type –
- In most cases a JavaScript tag will be the best pick
- Standard tags (image only) are great for feature phones
- If your creative expands, never pick an iframe tag – it will not show your creative correctly
- Always reach the publisher or exchange for specs to check if you have a proper tag in rotation
Implement a Cachebuster
Examples of different Cachebuster per platform:
Appnexus - ${CACHEBUSTER} DBM - ${CACHEBUSTER} Mediamath - [RANDOM_NUMBER] Rocketfuel - {cachebust} Turn - $!{AD_CALL_ID}
Put a Click Macro in Place
Appnexus - ${CLICK_URL} DBM - ${CLICK_URL} Mediamath - [UNENCODED_CLICK_REDIRECT] Rocketfuel - {scriptclickprefix} (for JavaScript), {iframeclickprefix} (for Iframe), {noscriptclickprefix} (for Standard Tag) Turn - XXCLICK_FORM_URL[]XX
Execution:
Generally in placement tags there are three key spots where you have to put a Cachebuster and a Click Macro.
- Cachebuster and Click Macro in JavaScript tag, within quotation marks (” “) of the SRC parameter
- This is a tricky one. You need to know the name of the variable for the Cachebuster and Click Macro. For example, in DCM Cachebuster is “ord=XXX;” and Click Macro is “click=XXX;”.
- Sizmek, for example, uses the same “ord=XXX;” parameter for Cachebuster but Click Macro goes under “&ncu=XXX” parameter
- Click Macro before url in “a” tag for “href” parameter
- Example code:
<A HREF="CLICK_MACROhttps://landingpage.com">
- Example code:
- Cachebuster in “img” tag for “src” parameter
- Example code:
<IMG SRC="https://imagepath;ord=${CACHEBUSTER}?">
- Example code:
No worries if it sounds confusing, take a closer look at the examples below and you will catch it straight away.
Examples of correct implementation of Cachebuster and Click Macro:
Example of a DCM Tag (Without Macros):
<SCRIPT language='JavaScript1.1' SRC="https://ad.doubleclick.net/ddm/adj/XXXXX.XXXXXXXXXXXXXXXXX/XXXXXXXX.XXXXXXXXX;sz=300x250;ord=[timestamp]?"> </SCRIPT> <NOSCRIPT> <A HREF="https://ad.doubleclick.net/ddm/jump/XXXXX.XXXXXXXXXXXXXXXXX/XXXXXXXX.XXXXXXXXX;sz=300x250;ord=[timestamp]?"> <IMG SRC="https://ad.doubleclick.net/ddm/ad/XXXXX.XXXXXXXXXXXXXXXXX/XXXXXXXX.XXXXXXXXX;sz=300x250;ord=[timestamp]?" BORDER=0 WIDTH=300 HEIGHT=250 ALT="Advertisement"></A> </NOSCRIPT>
Example of a DCM Tag with Appnexus/DBM Macros:
<SCRIPT language='JavaScript1.1' SRC="https://ad.doubleclick.net/ddm/adj/XXXXX.XXXXXXXXXXXXXXXXX/XXXXXXXX.XXXXXXXXX;sz=300x250;ord=${CACHEBUSTER};click=${CLICK_URL};?"> </SCRIPT> <NOSCRIPT> <A HREF="${CLICK_URL}https://ad.doubleclick.net/ddm/jump/XXXXX.XXXXXXXXXXXXXXXXX/XXXXXXXX.XXXXXXXXX;sz=300x250;ord=${CACHEBUSTER}?"> <IMG SRC="https://ad.doubleclick.net/ddm/ad/XXXXX.XXXXXXXXXXXXXXXXX/XXXXXXXX.XXXXXXXXX;sz=300x250;ord=${CACHEBUSTER}?" BORDER=0 WIDTH=300 HEIGHT=250 ALT="Advertisement"></A> </NOSCRIPT>
Example of a DCM Tag with Mediamath Macros:
<SCRIPT language='JavaScript1.1' SRC="https://ad.doubleclick.net/ddm/adj/XXXXX.XXXXXXXXXXXXXXXXX/XXXXXXXX.XXXXXXXXX;sz=300x250;ord=[RANDOM_NUMBER];click=[UNENCODED_CLICK_REDIRECT];?"> </SCRIPT> <NOSCRIPT> <A HREF="[UNENCODED_CLICK_REDIRECT]https://ad.doubleclick.net/ddm/jump/XXXXX.XXXXXXXXXXXXXXXXX/XXXXXXXX.XXXXXXXXX;sz=300x250;ord=[RANDOM_NUMBER]?"> <IMG SRC="https://ad.doubleclick.net/ddm/ad/XXXXX.XXXXXXXXXXXXXXXXX/XXXXXXXX.XXXXXXXXX;sz=300x250;ord=[RANDOM_NUMBER]?" BORDER=0 WIDTH=300 HEIGHT=250 ALT="Advertisement"></A> </NOSCRIPT>
Example of DCM Tag with Rocketfuel Macros:
<SCRIPT language='JavaScript1.1' SRC="https://ad.doubleclick.net/ddm/adj/XXXXX.XXXXXXXXXXXXXXXXX/XXXXXXXX.XXXXXXXXX;sz=300x250;ord={cachebust};click={scriptclickprefix};?"> </SCRIPT> <NOSCRIPT> <A HREF="{noscriptclickprefix}https://ad.doubleclick.net/ddm/jump/XXXXX.XXXXXXXXXXXXXXXXX/XXXXXXXX.XXXXXXXXX;sz=300x250;ord={cachebust}?"> <IMG SRC="https://ad.doubleclick.net/ddm/ad/XXXXX.XXXXXXXXXXXXXXXXX/XXXXXXXX.XXXXXXXXX;sz=300x250;ord={cachebust}?" BORDER=0 WIDTH=300 HEIGHT=250 ALT="Advertisement"></A> </NOSCRIPT>
Example of a Sizmek Tag (Without Macros):
<script src="http://bs.serving-sys.com/BurstingPipe/adServer.bs?cn=XXX&c=XX&pli=XXXXXXX&PluID=0&w=300&h=250&ord=[timestamp]&ucm=true"></script> <noscript> <a href="http://bs.serving-sys.com/BurstingPipe/BannerRedirect.asp?FlightID=XXXXXXX&Page=&PluID=X&Pos=XXXX" target="_blank"><img src="http://bs.serving-sys.com/BurstingPipe/BannerSource.asp?FlightID=XXXXXXX&Page=&PluID=X&Pos=XXXX" border=0 width=300 height=250></a> </noscript>
Example of a Sizmek Tag with Appnexus/DBM Macros:
<script src="http://bs.serving-sys.com/BurstingPipe/adServer.bs?cn=XXX&c=XX&pli=XXXXXXX&PluID=0&w=300&h=250&ord=${CACHEBUSTER}&ncu=${CLICK_URL_ENC}&ucm=true"></script> <noscript> <a href="${CLICK_URL}http://bs.serving-sys.com/BurstingPipe/BannerRedirect.asp?FlightID=XXXXXXX&Page=&PluID=X&Pos=XXXX" target="_blank"><img src="http://bs.serving-sys.com/BurstingPipe/BannerSource.asp?FlightID=XXXXXXX&Page=&PluID=X&Pos=XXXX" border=0 width=300 height=250></a> </noscript>
Example of a Sizmek Tag with Mediamath Macros:
<script src="http://bs.serving-sys.com/BurstingPipe/adServer.bs?cn=XXX&c=XX&pli=XXXXXXX&PluID=0&w=300&h=250&ord=[RANDOM_NUMBER]&ncu=[UNENCODED_CLICK_REDIRECT]&ucm=true"></script> <noscript> <a href="[UNENCODED_CLICK_REDIRECT]http://bs.serving-sys.com/BurstingPipe/BannerRedirect.asp?FlightID=XXXXXXX&Page=&PluID=X&Pos=XXXX" target="_blank"><img src="http://bs.serving-sys.com/BurstingPipe/BannerSource.asp?FlightID=XXXXXXX&Page=&PluID=X&Pos=XXXX" border=0 width=300 height=250></a> </noscript>
Example of a Sizmek Tag with Rocketfuel Macros:
<script src="http://bs.serving-sys.com/BurstingPipe/adServer.bs?cn=XXX&c=XX&pli=XXXXXXX&PluID=0&w=300&h=250&ord={cachebust}&ncu={scriptclickprefix}&ucm=true"></script> <noscript> <a href="{noscriptclickprefix}http://bs.serving-sys.com/BurstingPipe/BannerRedirect.asp?FlightID=XXXXXXX&Page=&PluID=X&Pos=XXXX" target="_blank"><img src="http://bs.serving-sys.com/BurstingPipe/BannerSource.asp?FlightID=XXXXXXX&Page=&PluID=X&Pos=XXXX" border=0 width=300 height=250></a> </noscript>
Let me know if you need examples from different platforms. Always happy to deliver!
Hello,
Very usefull in order to send redirect to buyer 🙂 Do you have macro for Turn?
Hey Philippe! Glad I could help. Click macro for Turn is XXCLICK_FORM_URL[]XX, knowledge base says nothing about cachebuster though. Reached them on twitter though, will keep you posted! Cheers!
Apparently it is $!{AD_CALL_ID}.
thanks !