Events/ABCday/Model/web/Vystřihovánky v ABC č. 22_2019_ Papírové modely _ Ábíčko.cz_files/abicko.cz-hb-settings-sas.js

/* BEGIN - abicko.cz-hb-settings - BEGIN */
/* 2019-06-18 12:48 */
var pbjs = pbjs || {};
pbjs.CPExWindowWidth = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);
pbjs.CPEX_enableAnalytics = true;

pbjs.setConfig({ userSync: { filterSettings: { iframe: { bidders: '*', filter: 'include' } } } } );

pbjs.CPEX_isSkin = (typeof cpexSkinObject === 'object' && cpexSkinObject.isReadyToRender);

pbjs.CPEX_adUnits = [];

window.__cmp = window.__cmp || (function (w, r) {

        w[r] = w[r] || function (command, parameter, callback) {
            (w[r].commandQueue = w[r].commandQueue || []).push({
                command: command,
                parameter: parameter,
                callback: callback
            });
        };
        return w[r];
    })(window, 'cmp');

if(pbjs.CPExWindowWidth >= 1000 && pbjs.CPExWindowWidth >= 1000) {
    pbjs.CPEX_adUnits.push({
        id: 'abicko.cz-hb-settings-Leaderboard-1',
        code: 'Leaderboard-1',
            mediaTypes: {
               banner: {sizes: pbjs.CPEX_isSkin ? [[728,90],[970,210],[998,200],[2000,1400]]:[[728,90],[970,210],[998,200]]}
            },
        bids: [
            {
                bidder: 'rubicon',
                params: {
                    accountId: '10900',
                    siteId: 85088,
                    zoneId: 403226,
                    position: 'atf',
                    sizes: pbjs.CPEX_isSkin ? [2,96,230,259]:[2,96,259],
                    inventory: {}
                }
            },
            {
                bidder: 'rubicon',
                params: {
                    accountId: '10900',
                    siteId: 85074,
                    zoneId: 403236,
                    position: 'atf',
                    sizes: pbjs.CPEX_isSkin ? [2,96,230,259]:[2,96,259],
                    inventory: {}
                }
            },
            {
                bidder: 'appnexus',
                params: {
                    placementId: 15328587
                }
            }
,{ bidder: 'adform', params: { mid:599023, rcur: 'USD' } },
{ bidder: 'stroeerCore', params: { sid: 'e255a0c8-5449-4d30-8e74-78905ef5ee21' }},
{ bidder: 'pubmatic', params: {publisherId: '158123', adSlot: ' 2145047' } },]
    });

}

if(pbjs.CPExWindowWidth >= 1000 && pbjs.CPExWindowWidth >= 1000) {
    pbjs.CPEX_adUnits.push({
        id: 'abicko.cz-hb-settings-HalfPageAd-1',
        code: 'HalfPageAd-1',
            mediaTypes: {
               banner: {sizes: [[300,600],[300,250],[160,600],[300,300]]}
            },
        bids: [
            {
                bidder: 'rubicon',
                params: {
                    accountId: '10900',
                    siteId: 85088,
                    zoneId: 1090030,
                    position: 'atf',
                    sizes: [10,15,9,48],
                    inventory: {}
                }
            },
            {
                bidder: 'rubicon',
                params: {
                    accountId: '10900',
                    siteId: 85074,
                    zoneId: 403240,
                    position: 'atf',
                    sizes: [10,15,9,48],
                    inventory: {}
                }
            },
            {
                bidder: 'appnexus',
                params: {
                    placementId: 15417173
                }
            }
,{ bidder: 'adform', params: { mid:599024, rcur: 'USD' } },
{ bidder: 'stroeerCore', params: { sid: 'e4c68f87-4054-4455-b5ae-42c74cc89f6a' }},
{ bidder: 'pubmatic', params: {publisherId: '158123', adSlot: ' 2144965' } },]
    });

}

if(pbjs.CPExWindowWidth >= 1000 && pbjs.CPExWindowWidth >= 1000 && pbjs.CPExWindowWidth >= 1000) {
    pbjs.CPEX_adUnits.push({
        id: 'abicko.cz-hb-settings-Rectangle480-1',
        code: 'Rectangle480-1',
            mediaTypes: {
               video: { context: "instream", playerSize: [600,400],mimes: ["video/mp4", "video/x-ms-wmv"], protocols: [2, 5], maxduration: 60, linearity: 1, api: [2]} ,               banner: {sizes: [[480,300],[300,250],[300,300]]}
            },
        bids: [
            {
                bidder: 'rubicon',
                params: {
                    accountId: '10900',
                    siteId: 85088,
                    zoneId: 655586,
                    position: 'atf',
                    sizes: [83,15,48],
                    inventory: {}
                }
            },
            {
                bidder: 'rubicon',
                params: {
                    accountId: '10900',
                    siteId: 85074,
                    zoneId: 655676,
                    position: 'atf',
                    sizes: [83,15,48],
                    inventory: {}
                }
            },
            {
                bidder: 'rubicon',
                params: {
                    accountId: 10900,
                    siteId: 193434,
                    zoneId: 1083740,
                    video: {
                        playerWidth: 600,
                        playerHeight: 400,
                        size_id: 203,
                        language: 'cs'
                    },
                    inventory: {
                        domain: [top.location.hostname],
                        api: ["fastlane"]
                    }
                }
            }
,
            {
                bidder: 'rubicon',
                params: {
                    accountId: 10900,
                    siteId: 71688,
                    zoneId: 506314,
                    video: {
                        playerWidth: 600,
                        playerHeight: 400,
                        size_id: 203,
                        language: 'cs'
                    },
                    inventory: {
                        domain: [top.location.hostname],
                        api: ["fastlane"]
                    }
                }
            }
,
            {
                bidder: 'appnexus',
                params: {
                    placementId: 15328548
                }
            }
,{ bidder: 'adform', params: { mid:599025, rcur: 'USD' } },
{ bidder: 'stroeerCore', params: { sid: '5ded2d88-bca9-4c62-8d2f-7776d9658d9f' }},
{ bidder: 'pubmatic', params: {publisherId: '158123', adSlot: ' 2145020' } },]
    });

}

if(pbjs.CPExWindowWidth <= 1000 && pbjs.CPExWindowWidth <= 1000) {
    pbjs.CPEX_adUnits.push({
        id: 'abicko.cz-hb-settings-Mobile-rectangle-2',
        code: 'Mobile-rectangle-2',
            mediaTypes: {
               banner: {sizes: [[300,250],[250,250],[300,300]]}
            },
        bids: [
            {
                bidder: 'rubicon',
                params: {
                    accountId: '10900',
                    siteId: 144574,
                    zoneId: 676990,
                    position: 'atf',
                    sizes: [15,14,48],
                    inventory: {}
                }
            },
            {
                bidder: 'rubicon',
                params: {
                    accountId: '10900',
                    siteId: 144576,
                    zoneId: 678246,
                    position: 'atf',
                    sizes: [15,14,48],
                    inventory: {}
                }
            },
            {
                bidder: 'appnexus',
                params: {
                    placementId: 15328596
                }
            }
,{ bidder: 'adform', params: { mid:599026, rcur: 'USD' } },
{ bidder: 'stroeerCore', params: { sid: 'a01ae3cf-562c-456f-af9c-4363a248977f' }},
{ bidder: 'pubmatic', params: {publisherId: '158123', adSlot: ' 2144938' } },]
    });

}

if(pbjs.CPExWindowWidth >= 1000 && pbjs.CPExWindowWidth >= 1000) {
    pbjs.CPEX_adUnits.push({
        id: 'abicko.cz-hb-settings-HalfPageAd-2',
        code: 'HalfPageAd-2',
            mediaTypes: {
               banner: {sizes: [[300,600],[300,250],[160,600],[300,300]]}
            },
        bids: [
            {
                bidder: 'rubicon',
                params: {
                    accountId: '10900',
                    siteId: 85088,
                    zoneId: 1133678,
                    position: 'atf',
                    sizes: [10,15,9,48],
                    inventory: {}
                }
            },
            {
                bidder: 'rubicon',
                params: {
                    accountId: '10900',
                    siteId: 85074,
                    zoneId: 1133676,
                    position: 'atf',
                    sizes: [10,15,9,48],
                    inventory: {}
                }
            },
            {
                bidder: 'appnexus',
                params: {
                    placementId: 15328526
                }
            }
,{ bidder: 'pubmatic', params: {publisherId: '158123', adSlot: ' 2144966' } },]
    });

}

/* END - abicko.cz-hb-settings - END */