Advertisement
clickio

u-mama adfox head code

Apr 10th, 2020
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.10 KB | None | 0 0
  1. <script>(function(){function a(){__clADF__.adxAllowed(0)}var b=window,c=b.document,d=c.getElementsByTagName('head')[0];d||(d=c.createElement('head'),b.appendChild(d)),b.__clADF__={state:0,loaded:0,adxAllowed:function(a){if(1!=this.loaded){n='adfoxAsyncParams',b[n]&&b[n].forEach(function(b){b.params.pk=a}),n1=n+'Scroll',b[n1]&&b[n1].forEach(function(b){b[0].params.pk=a}),n1=n+'Adaptive',b[n1]&&b[n1].forEach(function(b){b[0].params.pk=a}),n='Adaptive',b[n]&&b[n].forEach(function(b){b[0].params.pk=a}),this.state=a;var d=document.createElement('script');d.setAttribute('src','https://yastatic.net/pcode/adfox/loader.js'),d.setAttribute('async','async');var e=c.getElementsByTagName('head')[0];e||(e=c.createElement('head'),b.appendChild(e)),e.appendChild(d),this.loaded=1}}};var e=c.createElement('script');e.setAttribute('src','//clickiocdn.com/hbadx/?f=__clADF__&rt='+new Date().getTime()+'&site_id=195811&title='+encodeURIComponent(c.title)+'&r='+encodeURIComponent(c.referrer)),e.setAttribute('async','async'),e.onreadystatechange=function(){'loaded'!=this.readyState&&'complete'!=this.readyState&&setTimeout(a,0)},e.onerror=function(){setTimeout(a,0)},d.appendChild(e),setTimeout(a,3e3)})();</script>
  2. <script async src='https://yastatic.net/pcode/adfox/header-bidding.js'></script>
  3. <script>
  4. var adfoxBiddersMap = {
  5. "myTarget": "952961",
  6. "betweenDigital": "957893",
  7. "getintent": "1048899",
  8. "rtbhouse": "1019105",
  9. "alfasense": "1056746",
  10. 'myTarget': '816008' ,
  11. 'betweenDigital': '871789' ,
  12. 'buzzoola': '880620' ,
  13. };
  14. var adUnits = [
  15. {
  16. "code": "adfox_155974164169094170",
  17. "bids": [
  18. {
  19. "bidder": "myTarget",
  20. "params": {
  21. "placementId": "625548"
  22. }
  23. },
  24. {
  25. "bidder": "betweenDigital",
  26. "params": {
  27. "placementId": "3147091"
  28. }
  29. },
  30. {
  31. "bidder": "rtbhouse",
  32. "params": {
  33. "placementId": "SMXF2i2P9hxlvsUlbYu1"
  34. }
  35. },
  36. {
  37. "bidder": "alfasense",
  38. "params": {
  39. "placementId": "424"
  40. }
  41. },
  42. {
  43. "bidder": "getintent",
  44. "params": {
  45. "placementId": "66_300x250_alfadart"
  46. }
  47. }
  48. ],
  49. "sizes": [
  50. [
  51. 300,
  52. 250
  53. ]
  54. ]
  55. },
  56.  
  57. {
  58. code: 'adfox_155418872683735140',
  59. sizes: [ [240,400] ],
  60. bids: [
  61. {
  62. bidder: 'myTarget',
  63. params: {
  64. placementId: 402394,
  65. }
  66. }, {
  67. bidder: 'betweenDigital',
  68. params: {
  69. placementId: 3020337,
  70. }
  71. },
  72. ]
  73. },
  74. {
  75. code: 'adfox_156085306544639166',
  76. sizes: [ [300,250],[336,280] ],
  77. bids: [
  78. {
  79. bidder: 'myTarget',
  80. params: {
  81. placementId: 508528,
  82. }
  83. }, {
  84. bidder: 'betweenDigital',
  85. params: {
  86. placementId: 3176136,
  87. }
  88. },
  89. ]
  90. },
  91. {
  92. code: 'adfox_158642143761328210',
  93. codeType: 'inpage',
  94. bids: [
  95. {
  96. bidder: 'betweenDigital',
  97. params: {
  98. placementId: 3810416,
  99. }
  100. }, {
  101. bidder: 'buzzoola',
  102. params: {
  103. placementId: 1218030,
  104. }
  105. },
  106. ]
  107. },
  108. ];
  109. var userTimeout = 750;
  110. window.YaHeaderBiddingSettings = {
  111. biddersMap: adfoxBiddersMap,
  112. adUnits: adUnits,
  113. timeout: userTimeout
  114. };
  115. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement