Advertisement
clickio

Task #12299 libertycity.ru

Apr 10th, 2019
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.56 KB | None | 0 0
  1. ___________________________________________
  2. Head code
  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_155289748741122181',
  13. sizes: [ [970,250] ],
  14. bids: [
  15. {
  16. bidder: 'myTarget',
  17. params: {
  18. placementId: 394333,
  19. }
  20. }, {
  21. bidder: 'betweenDigital',
  22. params: {
  23. placementId: 2989796,
  24. }
  25. },
  26. ]
  27. },
  28. {
  29. code: 'adfox_155289749885791381',
  30. sizes: [ [336,300],[300,250] ],
  31. bids: [
  32. {
  33. bidder: 'myTarget',
  34. params: {
  35. placementId: 394335,
  36. }
  37. }, {
  38. bidder: 'betweenDigital',
  39. params: {
  40. placementId: 2989797,
  41. }
  42. },
  43. ]
  44. },
  45. {
  46. code: 'adfox_155317730779783830',
  47. sizes: [ [300,250] ],
  48. bids: [
  49. {
  50. bidder: 'myTarget',
  51. params: {
  52. placementId: 398011,
  53. }
  54. }, {
  55. bidder: 'betweenDigital',
  56. params: {
  57. placementId: 2996261,
  58. }
  59. },
  60. ]
  61. },
  62. {
  63. code: 'adfox_155489233647783818',
  64. sizes: [ [240,400] ],
  65. bids: [
  66. {
  67. bidder: 'myTarget',
  68. params: {
  69. placementId: 406009,
  70. }
  71. }, {
  72. bidder: 'betweenDigital',
  73. params: {
  74. placementId: 3036327,
  75. }
  76. },
  77. ]
  78. },
  79. {
  80. code: 'adfox_155489564669336050',
  81. sizes: [ [240,400] ],
  82. bids: [
  83. {
  84. bidder: 'myTarget',
  85. params: {
  86. placementId: 406073,
  87. }
  88. }, {
  89. bidder: 'betweenDigital',
  90. params: {
  91. placementId: 3036363,
  92. }
  93. },
  94. ]
  95. },
  96. {
  97. code: 'adfox_155489986869031765',
  98. sizes: [ [336,280] ],
  99. bids: [
  100. {
  101. bidder: 'myTarget',
  102. params: {
  103. placementId: 406123,
  104. }
  105. }, {
  106. bidder: 'betweenDigital',
  107. params: {
  108. placementId: 3036438,
  109. }
  110. },
  111. ]
  112. },
  113. {
  114. code: 'adfox_155490130299845328',
  115. sizes: [ [336,280] ],
  116. bids: [
  117. {
  118. bidder: 'myTarget',
  119. params: {
  120. placementId: 406141,
  121. }
  122. }, {
  123. bidder: 'betweenDigital',
  124. params: {
  125. placementId: 3036451,
  126. }
  127. },
  128. ]
  129. },
  130. {
  131. code: 'adfox_155490662341453057',
  132. sizes: [ [580,400] ],
  133. bids: [
  134. {
  135. bidder: 'myTarget',
  136. params: {
  137. placementId: 406209,
  138. }
  139. }, {
  140. bidder: 'betweenDigital',
  141. params: {
  142. placementId: 3036785,
  143. }
  144. },
  145. ]
  146. },
  147. {
  148. code: 'adfox_155490841360832000',
  149. sizes: [ [336,280] ],
  150. bids: [
  151. {
  152. bidder: 'myTarget',
  153. params: {
  154. placementId: 406213,
  155. }
  156. }, {
  157. bidder: 'betweenDigital',
  158. params: {
  159. placementId: 3036788,
  160. }
  161. },
  162. ]
  163. },
  164.  
  165. ];
  166. var userTimeout = 500;
  167. window.YaHeaderBiddingSettings = {
  168. biddersMap: adfoxBiddersMap,
  169. adUnits: adUnits,
  170. timeout: userTimeout
  171. };
  172. </script>
  173. <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=184194&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>
  174.  
  175.  
  176.  
  177.  
  178. __________________________________________
  179. Adx-AdFox: 240x400 right top
  180. __________________________________________
  181. <!-- CLICKIO AdFox unit 640532 -->
  182. <div id='adfox_155489233647783818'></div>
  183. <script>
  184. (function(w, n) {
  185. w[n] = w[n] || [];
  186. w[n].push([{
  187. ownerId: 257193,
  188. containerId: 'adfox_155489233647783818',
  189. params: {
  190. pk: __clADF__.state,
  191. pp: 'kss',
  192. ps: 'deuu',
  193. p2: 'fpxb',
  194. puid1: '',
  195. puid2: '',
  196. puid3: '',
  197. puid4: ''
  198. }
  199. }, [ 'desktop', 'tablet', 'phone'], {
  200. tabletWidth: 1024,
  201. phoneWidth: 767,
  202. isAutoReloads: false
  203. }]);
  204. })(window, 'adfoxAsyncParamsAdaptive');
  205. </script>
  206.  
  207.  
  208.  
  209. ______________________________________
  210. Adx-AdFox: 240x400 right bottom
  211. ______________________________________
  212. <!-- CLICKIO AdFox unit 640542 -->
  213. <div id='adfox_155489564669336050'></div>
  214. <script>
  215. (function(w, n) {
  216. w[n] = w[n] || [];
  217. w[n].push([{
  218. ownerId: 257193,
  219. containerId: 'adfox_155489564669336050',
  220. params: {
  221. pk: __clADF__.state,
  222. pp: 'kst',
  223. ps: 'deuu',
  224. p2: 'fpxb',
  225. puid1: '',
  226. puid2: '',
  227. puid3: '',
  228. puid4: ''
  229. }
  230. }, [ 'desktop', 'tablet', 'phone'], {
  231. tabletWidth: 1024,
  232. phoneWidth: 767,
  233. isAutoReloads: false
  234. }]);
  235. })(window, 'adfoxAsyncParamsAdaptive');
  236. </script>
  237.  
  238.  
  239. ____________________________
  240. AdX-AdFox: 336x280_1
  241. ____________________________
  242. <!-- CLICKIO AdFox unit 640556 -->
  243. <div id='adfox_155489986869031765'></div>
  244. <script>
  245. (function(w, n) {
  246. w[n] = w[n] || [];
  247. w[n].push([{
  248. ownerId: 257193,
  249. containerId: 'adfox_155489986869031765',
  250. params: {
  251. pk: __clADF__.state,
  252. pp: 'ksu',
  253. ps: 'deuu',
  254. p2: 'fpxb',
  255. puid1: '',
  256. puid2: '',
  257. puid3: '',
  258. puid4: ''
  259. }
  260. }, [ 'desktop', 'tablet', 'phone'], {
  261. tabletWidth: 1024,
  262. phoneWidth: 767,
  263. isAutoReloads: false
  264. }]);
  265. })(window, 'adfoxAsyncParamsAdaptive');
  266. </script>
  267.  
  268.  
  269. ______________________________
  270. AdX-AdFox: 336x280_2
  271. ______________________________
  272. <!-- CLICKIO AdFox unit 640558 -->
  273. <div id='adfox_155490130299845328'></div>
  274. <script>
  275. (function(w, n) {
  276. w[n] = w[n] || [];
  277. w[n].push([{
  278. ownerId: 257193,
  279. containerId: 'adfox_155490130299845328',
  280. params: {
  281. pk: __clADF__.state,
  282. pp: 'ksv',
  283. ps: 'deuu',
  284. p2: 'fpxb',
  285. puid1: '',
  286. puid2: '',
  287. puid3: '',
  288. puid4: ''
  289. }
  290. }, [ 'desktop', 'tablet', 'phone'], {
  291. tabletWidth: 1024,
  292. phoneWidth: 767,
  293. isAutoReloads: false
  294. }]);
  295. })(window, 'adfoxAsyncParamsAdaptive');
  296. </script>
  297.  
  298.  
  299. __________________________________
  300. AdX-AdFox: 580x400
  301. __________________________________
  302. <!-- CLICKIO AdFox unit 640560 -->
  303. <div id='adfox_155490662341453057'></div>
  304. <script>
  305. (function(w, n) {
  306. w[n] = w[n] || [];
  307. w[n].push([{
  308. ownerId: 257193,
  309. containerId: 'adfox_155490662341453057',
  310. params: {
  311. pk: __clADF__.state,
  312. pp: 'ksw',
  313. ps: 'deuu',
  314. p2: 'fpxb',
  315. puid1: '',
  316. puid2: '',
  317. puid3: '',
  318. puid4: ''
  319. }
  320. }, [ 'desktop', 'tablet', 'phone'], {
  321. tabletWidth: 1024,
  322. phoneWidth: 767,
  323. isAutoReloads: false
  324. }]);
  325. })(window, 'adfoxAsyncParamsAdaptive');
  326. </script>
  327.  
  328.  
  329. _____________________________________
  330. Adx-AdFox: 336x280 mob before footer
  331. _____________________________________
  332. <!-- CLICKIO AdFox unit 640576 -->
  333. <div id='adfox_155490841360832000'></div>
  334. <script>
  335. (function(w, n) {
  336. w[n] = w[n] || [];
  337. w[n].push([{
  338. ownerId: 257193,
  339. containerId: 'adfox_155490841360832000',
  340. params: {
  341. pk: __clADF__.state,
  342. pp: 'myv',
  343. ps: 'deuu',
  344. p2: 'fpxb',
  345. puid1: '',
  346. puid2: '',
  347. puid3: '',
  348. puid4: ''
  349. }
  350. }, [ 'phone'], {
  351. tabletWidth: 1024,
  352. phoneWidth: 767,
  353. isAutoReloads: false
  354. }]);
  355. })(window, 'adfoxAsyncParamsAdaptive');
  356. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement