By default, the other adserver should be able to record impressions without any problem. However, tracking clicks for ads that are generated dynamically through our iframe/javascript code is different. It requires both ad servers (AdServer and the other ad server) to support a special parameter, often call a click macro, or URL macro.
http://g.adspeed.net/...&r=[ExternalClickTrackerLink]
&cb=[RANDOM_NUMBER]&r=[ENCODED_CLICK_REDIRECT]
http://advertserver.com/clicktracker?goto=http://macrophotos.netIt should redirect to http://macrophotos.net after recording this click.
In the serving code generated by AdServer, you need to add a special parameter r to the IFRAME/JavaScript requests. Format:
http://g.adspeed.net/...&r=[ExternalClickTrackerLink]
Examples:
<iframe src="http://g.adspeed.net/serv/...&r=http://advertserver.com/click?goto="> ... </iframe> or <script src="http://g.adspeed.net/serv/...&r=http://advertserver.com/click?goto="> </script>
%%CLICK_URL_ESC%%
(or %c
in certain versions), which would be replaced when the ad is served with DoubleClick's click tracking link. When generating the ad serving code in AdServer, enter &r=%%CLICK_URL_ESC%%
into the Custom Parameter field to allow DoubleClick to record clicks before redirect visitors to the destination link. Then, you can send this ad tag to the publishing partner to enter into its DoubleClick (DFP or Google Ad Manager) ad server.
More conveniently, you can check the box "Insert placeholders for cachebuster and click macro" then generating the ad tag, our ad server will automatically include the 2 popular and default macros.
<script src="https://g.adspeed.net/...&cb=%%CACHEBUSTER%%&r=%%CLICK_URL_ESC%%"></script>