Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Поставить в <head>
- <script src="https://yandex.ru/ads/system/header-bidding.js" async></script>
- <script>
- const adfoxBiddersMap = {
- 'myTarget': '816008' ,
- 'betweenDigital': '871789' ,
- 'buzzoola': '880620' ,
- };
- var adUnits = [
- {
- code: 'adfox_163292232835318467',
- sizes: [ [300,250],[336,280] ],
- bids: [ {"bidder":"myTarget","params":{"placementId":"954838"}},{"bidder":"betweenDigital","params":{"placementId":"4425499"}} ]
- },{
- code: 'adfox_163292322719481720',
- sizes: [ [970,90],[1400,200] ],
- bids: [ {"bidder":"myTarget","params":{"placementId":"954840"}},{"bidder":"betweenDigital","params":{"placementId":"4425507"}} ]
- }
- ];
- var userTimeout = 500;
- window.YaHeaderBiddingSettings = {
- biddersMap: adfoxBiddersMap,
- adUnits: adUnits,
- timeout: userTimeout
- };
- </script>
- <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://yandex.ru/ads/system/context.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=217728&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>window.yaContextCb = window.yaContextCb || []</script>
- ---------------------------------------------------------------------
- Поставить в <body>
- AdFox: РСЯ combo
- <!-- CLICKIO AdFox unit 681331 -->
- <div id='adfox_163292232835318467'></div>
- <script>
- window.yaContextCb.push(()=>{
- Ya.adfoxCode.createScroll({
- ownerId: 257193,
- containerId: 'adfox_163292232835318467',
- params: {
- pk: __clADF__.state,
- pp: 'vxj',
- ps: 'dplm',
- p2: 'fpxb',
- insertAfter: 'undefined',
- insertPosition: '0',
- stick: false,
- stickTo: 'auto',
- stickyColorScheme: 'light'
- }
- }, [ 'phone'],{
- tabletWidth: 1024,
- phoneWidth: 767,
- isAutoReloads: false
- })
- })
- </script>
- ---------------------------------------------------------------------
- Adfox: 1400х200 десктоп
- <!-- CLICKIO AdFox unit 681333 -->
- <div id='adfox_163292322719481720'></div>
- <script>
- window.yaContextCb.push(()=>{
- Ya.adfoxCode.createScroll({
- ownerId: 257193,
- containerId: 'adfox_163292322719481720',
- params: {
- pk: __clADF__.state,
- pp: 'vxk',
- ps: 'dplm',
- p2: 'fpxb'
- }
- }, [ 'desktop'],{
- tabletWidth: 1024,
- phoneWidth: 767,
- isAutoReloads: false
- })
- })
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement