Networks who work with offers using Google Ad Manager (previously DoubleClick for Publishers) can connect the two platforms with minimal effort.
Note: If you’re a publisher implementing a TUNE tracking link in your DoubleClick ad campaign, skip to the second section instead.
Formatting Your Tracking Link
DoubleClick uses semicolons (;) in their tracking links, which can cause redirect issues when used as your offer URL. To solve this, substitute semicolons with an partner sub ID macro in your offer URL, and add that partner sub ID into your tracking link. We recommend using the {aff_sub5} macro, as it is typically less used.
For example, let’s start with this DoubleClick link:
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…
After replacing the two semicolons with {aff_sub5}, we get the following:
http://ad.doubleclick.net/adj/N8305.134236.VALUECLICK/B7971050.2{aff_sub5}sz=120x600{aff_sub5}click=http://www.advertiser.com/click.track?CID=260614 &AFID=301243 &ADID=1085850…
Finally, add &aff_sub5=; to the end of your TUNE tracking link:
http://offerdyne.go2cloud.org/aff_c?offer_id=37&aff_id=25 &aff_sub5=;
The result is that TUNE stores the semicolon in a partner sub ID value and returns it in the corresponding macro.
Already using aff_sub5 for another purpose?
You can use any other partner sub ID instead, like aff_sub, aff_sub2, aff_sub3, or aff_sub4. Just make sure to incorporate it in both the offer URL as a macro and the tracking link as a parameter.
Networks 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. Now 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, you can reference the DoubleClick for Publishers documentation or contact our customer support team.