Companies that work with offers using Google Ad Manager (previously DoubleClick for Publishers) can connect the two platforms with minimal effort.
Using DoubleClick Creatives
To add a DoubleClick ad tag to your suite of creatives, place an encrypted tracking link macro inside the ad tag code. This causes DoubleClick to track the click and redirect to the tracking link you provided to your publisher.
To walk you through this process, let’s start with a sample DoubleClick HTML creative:
<script type="text/javascript">// <![CDATA[ guh=Math.random()*10000000000000000;document.write('<scr' + 'ipt type="text/javascript" src="http://ad.doubleclick.net/adj/ N8305.134236.VALUECLICK/B7971050.2;sz=120x600;click=http://www.advertiser.com/click.track?CID=260614 &AFID=301243 &ADID=1085850;ord='+guh+'?"></scr' + 'ipt>'); // ]]></script>
When adding this to your ad campaign as an HTML creative, add the following to the end of the “src” parameter: &NonEncodedURL={etracking_link}. Continuing our example, the HTML code now looks like this:
<script type="text/javascript">// <![CDATA[ guh=Math.random()*10000000000000000; document.write('<scr' + 'ipt type="text/javascript" src="http://ad.doubleclick.net/adj/N8305.134236.VALUECLICK/B7971050.2;sz=120x600;click=http://www.advertiser.com/click.track?CID=260614 &AFID=301243 &ADID=1085850&NonEncodedURL={etracking_link};ord='+guh+'?"></scr' + 'ipt>'); // ]]></script>
That’s all you need need to do. When your publisher uses the code, the “{etracking_link}” macro is replaced with an encoded version of your offer URL. Your publisher’s expanded code will look something like this:
<script type="text/javascript">// <![CDATA[ guh=Math.random()*10000000000000000; document.write('<scr' + 'ipt type="text/javascript" src="http://ad.doubleclick.net/adj/N8305.134236.VALUECLICK/B7971050.2;sz=120x600;click=http://www.advertiser.com/click.track?CID=260614 &AFID=301243&ADID=1085850 &NonEncodedURL=http%3A%2F%2Fdemo.go2cloud.org%2Faff_c%3Foffer_id%3D1%26aff_id%3D2%26file_id%3D3516 ;ord='+guh+'?"></scr' + 'ipt>'); // ]]></script>
Publishers Connecting DoubleClick with TUNE
Tracking a TUNE offer through DoubleClick requires one change to the publisher’s iframe code: adding &eredirect=%%CLICK_URL_ESC%% in the URL.
<!-- iFrame Ad Tag: 4 --> <iframe src="http://example.go2cloud.org/aff_ad?campaign_id=4&aff_id=1 &eredirect=%%CLICK_URL_ESC%% &format=iframe" scrolling="no" frameborder="0" marginheight="0" marginwidth="0" width="300" height="250"></iframe> <!-- // End Ad Tag -->
Important: Using the eredirect parameter and %%CLICK_URL_ESC%% macro tells DoubleClick to include the click URL as an encoded value, which is key to making the tracking function. Tracking will not function with the redirect parameter or %%CLICK_URL%% macros.
Further Questions
If you have problems integrating your ad with DoubleClick, reference the DoubleClick for Publishers documentation or contact our customer support team.