Advertisement
clickio

rtvi adfox 300x600 (2) policy

Apr 11th, 2019
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.47 KB | None | 0 0
  1. --------
  2. head-код
  3. --------
  4. <script async src='https://yastatic.net/pcode/adfox/header-bidding.js'></script>
  5. <script>
  6. const adfoxBiddersMap = {
  7. 'myTarget': '816008' ,
  8. 'betweenDigital': '871789' ,
  9. };
  10. var adUnits = [
  11. {
  12. code: 'adfox_154763628609719669',
  13. sizes: [ [960,250], [728,90] ],
  14. bids: [
  15. {
  16. bidder: 'myTarget',
  17. params: {
  18. placementId: 365795,
  19. }
  20. }, {
  21. bidder: 'betweenDigital',
  22. params: {
  23. placementId: 2871027,
  24. }
  25. }, {
  26. bidder: 'buzzoola',
  27. params: {
  28. placementId: 81346,
  29. }
  30. }, {
  31. bidder: 'criteo',
  32. params: {
  33. placementId: 1378951,
  34. }
  35. },
  36. ]
  37. },
  38. {
  39. code: 'adfox_1547636340887443',
  40. sizes: [ [300,250] ],
  41. bids: [
  42. {
  43. bidder: 'myTarget',
  44. params: {
  45. placementId: 365797,
  46. }
  47. }, {
  48. bidder: 'betweenDigital',
  49. params: {
  50. placementId: 2871028,
  51. }
  52. }, {
  53. bidder: 'buzzoola',
  54. params: {
  55. placementId: 81428,
  56. }
  57. },
  58. ]
  59. },
  60. {
  61. code: 'adfox_154763645245717733',
  62. sizes: [ [590,250], [300,250] ],
  63. bids: [
  64. {
  65. bidder: 'myTarget',
  66. params: {
  67. placementId: 365799,
  68. }
  69. }, {
  70. bidder: 'betweenDigital',
  71. params: {
  72. placementId: 2871029,
  73. }
  74. }, {
  75. bidder: 'buzzoola',
  76. params: {
  77. placementId: 81429,
  78. }
  79. },
  80. ]
  81. },
  82. {
  83. code: 'adfox_154952510495466308',
  84. sizes: [ [336,280], [300,250] ],
  85. bids: [
  86. {
  87. bidder: 'myTarget',
  88. params: {
  89. placementId: 375946,
  90. }
  91. }, {
  92. bidder: 'betweenDigital',
  93. params: {
  94. placementId: 2912996,
  95. }
  96. }, {
  97. bidder: 'buzzoola',
  98. params: {
  99. placementId: 89585,
  100. }
  101. },
  102. ]
  103. },
  104. {
  105. code: 'adfox_154952515596984014',
  106. sizes: [ [336,280], [300,250] ],
  107. bids: [
  108. {
  109. bidder: 'myTarget',
  110. params: {
  111. placementId: 375948,
  112. }
  113. }, {
  114. bidder: 'betweenDigital',
  115. params: {
  116. placementId: 2912997,
  117. }
  118. }, {
  119. bidder: 'buzzoola',
  120. params: {
  121. placementId: 89586,
  122. }
  123. },
  124. ]
  125. },
  126. {
  127. code: 'adfox_155497775961283800',
  128. sizes: [ [300,600] ],
  129. bids: [
  130. {
  131. bidder: 'myTarget',
  132. params: {
  133. placementId: 406438,
  134. }
  135. }, {
  136. bidder: 'betweenDigital',
  137. params: {
  138. placementId: 3038389,
  139. }
  140. },
  141. ]
  142. },
  143. {
  144. code: 'adfox_155507807742911537',
  145. sizes: [ [300,600] ],
  146. bids: [
  147. {
  148. bidder: 'myTarget',
  149. params: {
  150. placementId: 407817,
  151. }
  152. }, {
  153. bidder: 'betweenDigital',
  154. params: {
  155. placementId: 3040793,
  156. }
  157. },
  158. ]
  159. },
  160.  
  161. ];
  162. var userTimeout = 500;
  163. window.YaHeaderBiddingSettings = {
  164. biddersMap: adfoxBiddersMap,
  165. adUnits: adUnits,
  166. timeout: userTimeout
  167. };
  168. </script>
  169. <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=215000&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>
  170.  
  171.  
  172. --------
  173. код в body
  174. --------
  175.  
  176. <!-- CLICKIO AdFox unit 640614 -->
  177. <div id='adfox_155497775961283800'></div>
  178. <script>
  179. (function(w, n) {
  180. w[n] = w[n] || [];
  181. w[n].push([{
  182. ownerId: 257193,
  183. containerId: 'adfox_155497775961283800',
  184. params: {
  185. pk: __clADF__.state,
  186. pp: 'ksv',
  187. ps: 'dcdx',
  188. p2: 'fpxb',
  189. puid1: '',
  190. puid2: '',
  191. puid3: '',
  192. puid4: ''
  193. }
  194. }, [ 'desktop'], {
  195. tabletWidth: 1024,
  196. phoneWidth: 767,
  197. isAutoReloads: false
  198. }]);
  199. })(window, 'adfoxAsyncParamsAdaptive');
  200. </script>
  201.  
  202. --------
  203. код в body
  204. --------
  205.  
  206. <!-- CLICKIO AdFox unit 640712 -->
  207. <div id='adfox_155507807742911537'></div>
  208. <script>
  209. (function(w, n) {
  210. w[n] = w[n] || [];
  211. w[n].push([{
  212. ownerId: 257193,
  213. containerId: 'adfox_155507807742911537',
  214. params: {
  215. pk: __clADF__.state,
  216. pp: 'ksw',
  217. ps: 'dcdx',
  218. p2: 'fpxb',
  219. puid1: '',
  220. puid2: '',
  221. puid3: '',
  222. puid4: ''
  223. }
  224. }, [ 'desktop'], {
  225. tabletWidth: 1024,
  226. phoneWidth: 767,
  227. isAutoReloads: false
  228. }]);
  229. })(window, 'adfoxAsyncParamsAdaptive');
  230. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement