Advertisement
clickio

adfox head-code

Dec 26th, 2018
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. "<script async src='https://yastatic.net/pcode/adfox/header-bidding.js'></script>
  2. <script>
  3. const adfoxBiddersMap = {
  4. 'myTarget': '816008' ,
  5. 'betweenDigital': '871789' ,
  6. 'buzzoola': '880620' ,
  7. };
  8. var adUnits = [
  9. {
  10. code: 'adfox_154582851654759750',
  11. sizes: [ [300,250], [336,280] ],
  12. bids: [
  13. {
  14. bidder: 'myTarget',
  15. params: {
  16. placementId: 337677,
  17. }
  18. }, {
  19. bidder: 'betweenDigital',
  20. params: {
  21. placementId: 2770217,
  22. }
  23. }, {
  24. bidder: 'buzzoola',
  25. params: {
  26. placementId: 81124,
  27. }
  28. },
  29. ]
  30. },
  31.  
  32. ];
  33. var userTimeout = 500;
  34. window.YaHeaderBiddingSettings = {
  35. biddersMap: adfoxBiddersMap,
  36. adUnits: adUnits,
  37. timeout: userTimeout
  38. };
  39. </script>
  40. <script>!function(){var a=window,d=a.document,e=d.getElementsByTagName('head')[0];e||(e=d.createElement('head'),a.appendChild(e)),a.__clADF__={state:0,loaded:0,adxAllowed:function(c){if(1!=this.loaded){n='adfoxAsyncParams',a[n]&&a[n].forEach(function(e,t,a){e.params.pk=c}),n1=n+'Scroll',a[n1]&&a[n1].forEach(function(e,t,a){e[0].params.pk=c}),n='Adaptive',a[n]&&a[n].forEach(function(e,t,a){e[0].params.pk=c}),this.state=c;var e=document.createElement('script');e.setAttribute('src','https://yastatic.net/pcode/adfox/loader.js'),e.setAttribute('async','async');var t=d.getElementsByTagName('head')[0];t||(t=d.createElement('head'),a.appendChild(t)),t.appendChild(e),this.loaded=1}}};var t=d.createElement('script');function c(){__clADF__.adxAllowed(0)}t.setAttribute('src','//clickiocdn.com/hbadx/?f=__clADF__&rt='+(new Date).getTime()+'&site_id=204683&title='+encodeURIComponent(d.title)+'&r='+encodeURIComponent(d.referrer)),t.setAttribute('async','async'),t.onreadystatechange=function(){'loaded'!=this.readyState&&'complete'!=this.readyState&&setTimeout(c,0)},t.onerror=function(){setTimeout(c,0)},e.appendChild(t),setTimeout(c,3e3)}();</script>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement