Pixels of third-party systems
The advertiser can track the Adfox placement using links to the impression and click in another system.
Click-through link
It is used for counting the user's click-throughs and redirecting to the advertiser's site. To start counting, paste the click-through link in the Transition URL field when adding a banner.
Impression link
To count banner impressions, a pixel link is used. In the banner parameters, paste the link in the Tracking pixel link field. Keep in mind that a link inserted this way is invoked when rendering a banner.
To invoke a pixel link when an impression becomes viewable (for example, if an ad campaign uses the Viewable impression, Yandex impression count method):
- In the banner settings, go to Events.
- Find the Viewable impressions, 2 seconds event.
- Paste the link in the Transition URL field.
Note
For sites with the HTTPS protocol, all installed links to pixels must support the HTTPS protocol. The click-through link can have any protocol.
A sample impression link for a site with the HTTPS protocol
https://yandex.com/ads/adfox/******/getCode?p1=****&p2=****&ptrc=*&pfc=****&pfb=*****&pr=%system.random%
In most impression links of third-party systems, there is a parameter where you need to substitute a random number to reduce statistical discrepancies. A discrepancy of up to 15% is considered acceptable. For mobile devices, this value may be slightly higher.
Note
In Adfox, a random number is generated by the %system.random% macro. You need to replace the number already specified in the links with %system.random%.
Sample third-party system links
Here are examples of the most common third-party system links with macro substitution for randomization used when inserting a link in the Adfox banner:
AdRiver
Add %system.random% to the rnd variable.
Impression link
http://ad.adriver.ru/cgi-bin/rle.cgi?sid=*&ad=******&bt=**&pid=******&bid=******&bn=******&rnd=%system.random%
Click link
http://ad.adriver.ru/cgi-bin/click.cgi?sid=*&ad=******&bt=**&pid=******&bid=******&bn=******&rnd=%system.random%
DoubleClick
Add %system.random% to the ord variable. The click-through link remains unchanged.
Impression link
http://ad.doubleclick.net/ad/N****.******.********/********;sz=1x1;ord=%system.random%?
Click link
http://ad.doubleclick.net/clk;*********;********;t
MediaMind
Add %system.random% to the ord variable.
Impression link
http://bs.serving-sys.com/BurstingPipe/adServer.bs?cn=*&c=*&mc=imp&pli=*&PluID=*&ord=%system.random%&rtu=-1&pcp=$$TOKEN$$
Click link
http://bs.serving-sys.com/BurstingPipe/adServer.bs?cn=tf&c=*&mc=click&pli=*&PluID=*&ord=%system.random%
Gemius
Replace [TIMESTAMP] with %system.random%:
Impression link
http://gdero.hit.gemius.pl/_%system.random%/redot.gif?id=*/fastid=*/stparam=*
The click-through link is inserted without changes (it is not randomized).
Weborama
Add %system.random% to the a.ra variable.
Impression link
https://wcm-ru.frontend.weborama.fr/fcgi-bin/dispatch.fcgi?a.A=im&a.si=***&a.te=***&a.he=1&a.wi=1&a.hr=p&a.ra=%system.random%
Click link
https://wcm-ru.frontend.weborama.fr/fcgi-bin/dispatch.fcgi?a.A=cl&a.si=***&a.te=***&a.ra=%system.random%&g.lu=
TargetAds
Add the rnd parameter with the %system.random% value to the link.
Impression link
https://eye.targetads.io/view/pixel?pid=123&cn=123&pl=123&rnd=%system.random%
Adfox as a third-party system
Add %system.random% to the pr variable.
Impression link
//yandex.com/ads/adfox/******/getCode?p1=****&p2=****&ptrc=*&pfc=****&pfb=*****&pr=%system.random%
Click link
//yandex.com/ads/adfox/******/goLink?p1=****&p2=****&p5=*****&pr=%system.random%