Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Поставить в HEAD
- <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=198116&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>
- <script async src='https://yastatic.net/pcode/adfox/header-bidding.js'></script>
- <script>
- const adfoxBiddersMap = {
- 'myTarget': '816008' ,
- 'betweenDigital': '871789' ,
- 'buzzoola': '880620' ,
- };
- var adUnits = [
- {
- code: 'adfox_15801258386751602',
- sizes: [ [300,600] ],
- bids: [
- {
- bidder: 'myTarget',
- params: {
- placementId: 695365,
- }
- }, {
- bidder: 'betweenDigital',
- params: {
- placementId: 3736331,
- }
- }, {
- bidder: 'buzzoola',
- params: {
- placementId: 1216505,
- }
- },
- ]
- },
- {
- code: 'adfox_158012585348446132',
- sizes: [ [300,300],[300,250] ],
- bids: [
- {
- bidder: 'myTarget',
- params: {
- placementId: 695367,
- }
- }, {
- bidder: 'betweenDigital',
- params: {
- placementId: 3736332,
- }
- }, {
- bidder: 'buzzoola',
- params: {
- placementId: 1217263,
- }
- },
- ]
- },
- {
- code: 'adfox_158012586719999335',
- sizes: [ [300,250] ],
- bids: [
- {
- bidder: 'myTarget',
- params: {
- placementId: 695369,
- }
- }, {
- bidder: 'betweenDigital',
- params: {
- placementId: 3736333,
- }
- }, {
- bidder: 'buzzoola',
- params: {
- placementId: 1217264,
- }
- },
- ]
- },
- {
- code: 'adfox_158012588059643711',
- sizes: [ [728,90] ],
- bids: [
- {
- bidder: 'myTarget',
- params: {
- placementId: 695371,
- }
- }, {
- bidder: 'betweenDigital',
- params: {
- placementId: 3736334,
- }
- }, {
- bidder: 'buzzoola',
- params: {
- placementId: 1217265,
- }
- },
- ]
- },
- ];
- var userTimeout = 700;
- window.YaHeaderBiddingSettings = {
- biddersMap: adfoxBiddersMap,
- adUnits: adUnits,
- timeout: userTimeout
- };
- </script>
- --------------------------------------------------------------------
- Поставить в BODY
- 300х600 (сайдбар, первый блок)
- <!-- CLICKIO AdFox unit 653456 -->
- <div id='adfox_15801258386751602'></div>
- <script>
- (function(w, n) {
- w[n] = w[n] || [];
- w[n].push([{
- ownerId: 257193,
- containerId: 'adfox_15801258386751602',
- params: {
- pk: __clADF__.state,
- pp: 'kss',
- ps: 'dfmg',
- p2: 'fpxb'
- }
- }, [ 'desktop', 'tablet', 'phone'], {
- tabletWidth: 1024,
- phoneWidth: 767,
- isAutoReloads: false
- }]);})(window, 'adfoxAsyncParamsAdaptive');
- </script>
- --------------------------------------------------------------------
- 300х300 (сайдбар, третий блок)
- <!-- CLICKIO AdFox unit 653458 -->
- <div id='adfox_158012585348446132'></div>
- <script>
- (function(w, n) {
- w[n] = w[n] || [];
- w[n].push([{
- ownerId: 257193,
- containerId: 'adfox_158012585348446132',
- params: {
- pk: __clADF__.state,
- pp: 'kst',
- ps: 'dfmg',
- p2: 'fpxb'
- }
- }, [ 'desktop', 'tablet', 'phone'], {
- tabletWidth: 1024,
- phoneWidth: 767,
- isAutoReloads: false
- }]);})(window, 'adfoxAsyncParamsAdaptive');
- </script>
- --------------------------------------------------------------------
- 300х250 (под статьей внизу, первый блок)
- <!-- CLICKIO AdFox unit 653460 -->
- <div id='adfox_158012586719999335'></div>
- <script>
- (function(w, n) {
- w[n] = w[n] || [];
- w[n].push([{
- ownerId: 257193,
- containerId: 'adfox_158012586719999335',
- params: {
- pk: __clADF__.state,
- pp: 'ksu',
- ps: 'dfmg',
- p2: 'fpxb'
- }
- }, [ 'desktop', 'tablet', 'phone'], {
- tabletWidth: 1024,
- phoneWidth: 767,
- isAutoReloads: false
- }]);})(window, 'adfoxAsyncParamsAdaptive');
- </script>
- --------------------------------------------------------------------
- 728х90 (в шапке)
- <!-- CLICKIO AdFox unit 653462 -->
- <div id='adfox_158012588059643711'></div>
- <script>
- (function(w, n) {
- w[n] = w[n] || [];
- w[n].push([{
- ownerId: 257193,
- containerId: 'adfox_158012588059643711',
- params: {
- pk: __clADF__.state,
- pp: 'ksv',
- ps: 'dfmg',
- p2: 'fpxb'
- }
- }, [ 'desktop', 'tablet', 'phone'], {
- tabletWidth: 1024,
- phoneWidth: 767,
- isAutoReloads: false
- }]);})(window, 'adfoxAsyncParamsAdaptive');
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement