What are Ad Tags?

Ad Tags are alternate coded banners generated from an ad server which do not always include a straight-forward click-through link. In these cases there may be a click-through link (a href="LINK") but when you copy that link into your browser it will not take you to the landing page through that link. Instead most often you'll find that you're taken to the landing page through a redirect link not immediately visible in the ad tag. To make these tags work in CAKE they must be set up slightly differently than your traditional HTML banner. Below are some examples.


Sample Ad Tags

In these sample tags what is consistent is that there is some type of click-through parameter within the image source link. There may or may not be a value populated in that parameter, but it is there and it's necessary to identify that parameter as that will be used to embed our CAKE #url# token modified to accept the dynamically passed redirect link ad tags utilize.

<IFRAME SRC="http://demo.cakemarketing.com/adi/N2436.150800.CAKECLICK/B6838129.2;sz=300x250;click=http://www.cake.com/click.track?CID=225169&AFID=153657&ADID=831834&NonEncodedURL=;ord=[timestamp]?" WIDTH=300 HEIGHT=250 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR="#000000"></IFRAME>

<IFRAME SRC="http://b3.mookie1.com/2/CakeClickB3/Hotels/Club12Q3/CPA/300/1@x90" WIDTH=0 HEIGHT=0 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR="#000000"></IFRAME>

<script type="text/javascript">

guh=Math.random()*10000000000000000;

document.write('<scr' + 'ipt src=\"http://demo.cakemarketing.com/BurstingPipe/adServer.bs?cn=rsb&c=28&pli=5299596&PluID=0&w=300&h=250&ord=xSTAMP&ucm=false&ncu=http://www.cake.com/click.track?CID=226211%26AFID=227277%26ADID=839686%26NonEncodedURL=&ord='+guh+'&ucm=true\"></scr' + 'ipt>');

//-->

</script>

<iframe src="http://view.cake.com/DWO/iview/415955196/direct/01?click=" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="160" height="600">

<script language="JavaScript" type="text/javascript">

document.write('<a href="http://clk.cake.com/DWO/go/415955196/direct/01/" target="_blank"><img src="http://view.cake.com/DWO/iview/415955196/direct/01?click="/></a>');

</script><noscript><a href="http://clk.cake.com/DWO/go/415955196/direct/01/" target="_blank"><img border="0" src="http://view.cake.com/DWO/iview/415955196/direct/01?click=" /></a></noscript></iframe>


Where CAKE fits in Ad Tags

Today the integration for CAKE with ad tags is through this click-through parameter. You would add the CAKE token in this parameter followed by an additional parameter designed to accept a dynamically passed redirect link.

Redirect parameter: ckmrdr

The URL token and the redirect parameter would be strung together like this: #url#&ckmrdr=\L If the link must be encoded, it would look like this: #url<e&ckmrdr=>#


Sample 1

Here we are pulling out the link in the click-through parameter and replacing it with #url#&ckmrdr=That URL (http://www.cake.com/click.track?CID=225169&AFID=153657&ADID=831834&NonEncodedURL=) will now be placed in the creative link override field.

<IFRAME SRC="http://demo.cakemarketing.com/adi/N2436.150800.CAKECLICK/B6838129.2;sz=300x250;click=#url#&ckmrdr=;ord=[timestamp]?WIDTH=300 HEIGHT=250 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR="#000000"></IFRAME>\L <IFRAME SRC="http://si.cakemarketing.com/2/CakeClickB3/Hotels/Club12Q3/CPA/300/1@x90WIDTH=0 HEIGHT=0 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR="#000000"></IFRAME>


Sample 2

Again we are pulling out the link in the click-through parameter and replacing it with #url<e&ckmrdr=>#. This is because the original link already has ampersands (&) in it and whatever link is placed in that parameter, including the Cake link, would have to be encoded. So That URL (http://www.cake.com/click.track?CID=226211%26AFID=227277%26ADID=839686%26NonEncodedURL=) will now be placed in the creative link override field.

<script type="text/javascript">\L guh=Math.random()*10000000000000000;\L \ document.write('<scr' + 'ipt src=\"http://bs.cakemarketing.com/BurstingPipe/adServer.bs?cn=rsb&c=28&pli=5299596&PluID=0&w=300&h=250&ord=xSTAMP&ucm=false&ncu=#url<e&ckmrdr=>#"></scr' + 'ipt>');\L //-->\L </script>


Sample 3

Here, there was no link in that parameter to begin with but like the example above, whatever goes in here would have to be encoded so we simply add #url<e&ckmrdr=># in the parameter field.\L In this case, nothing goes in the creative link override and whatever is passed should override the offer link as well.

<iframe src="http://view.caketrk.com/DWO/iview/415955196/direct/01?click=#url<e&ckmrdr=>#frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="160" height="600">\L <script language="JavaScript" type="text/javascript">\L document.write('<a href="#url#&ckmrdr=http://clk.cake.com/DWO/go/415955196/direct/01/target="_blank"><img src="http://view.cake.com/DWO/iview/415955196/direct/01?"/></a>');\L \ </script><noscript><a href="http://clk.cake.com/DWO/go/415955196/direct/01/target="_blank"><img border="0" src="http://view.cake.com/DWO/iview/415955196/direct/01?click=#url<e&ckmrdr=>#" /></a></noscript></iframe>


Sample 4 (Standard Tag)


Sample 4 (Standard Tag)

With a standard tag you will actually modify the token placement to come FIRST in the href tag. As with all others nothing goes in the creative link override field and you do not need to add the CAKE token to the image source URL.

<A HREF="#url#&ckmrdr=http://demo.cakemarketing.com/jump/N636.158901.DATAXU/B7156867.5;sz=468x60;ord=[timestamp]?">\L \ <IMG SRC="http://demo.cakemarketing.com/ad/N636.158901.DATAXU/B7156867.5;sz=468x60;ord=[timestamp]?" BORDER=0 WIDTH=468 HEIGHT=60 ALT="Advertisement"></A>

Last but not least if you don't have a pre-specified redirect link in the click parameter you'll need to enable this setting on the creative card to allow CAKE to accept the dynamically passed redirect link.