if (nugg != 1) { function isEmpty(obj) { for(var prop in obj) { if(obj.hasOwnProperty(prop)) return false; } return true; } var nugg = document.createElement("script"); nugg.setAttribute("type", "text/javascript"); nugg.setAttribute("src", ('https:' == document.location.protocol ? 'https:' : 'http:')+"//ads.themoneytizer.com/nugg2.php?theme=357369554"); nugg.setAttribute("async", "true"); document.head.appendChild(nugg); var nugg = 1; var pbjs = (typeof pbjs != "undefined")? pbjs : {} ; pbjs.que = pbjs.que || []; var d = document, pbs = d.createElement('script'); pbs.setAttribute("type","text/javascript"); pbs.setAttribute("src",('https:' == document.location.protocol ? 'https:' : 'http:')+"//ads.themoneytizer.com/moneybid12/build/dist/prebid.js"); pbs.setAttribute("async", "true"); var target = document.getElementsByTagName('head')[0]; target.insertBefore(pbs, target.firstChild); PB_PAGE_TIMEOUT = 2000; function initAdserver() { pbjs.initAdserverSet = true; // Step 1: Set key value targeting on the placements if (pbjs.libLoaded) { // For each of your placement, get and set targeting params var targetingParams = pbjs.getAdserverTargeting(); } // Step 2: Trigger the page to send the impressions to your ad server. }; setTimeout(initAdserver, PB_PAGE_TIMEOUT); pbjs.que.push(function(){ var adUnits = [ { code: '26323', sizes: [[300, 600]], bids: [ {bidder: 'appnexus', params:{ placementId: '7057882' } }, {bidder: 'rubicon', params:{ accountId:'11740', siteId: '39556', zoneId:'423058', sizes:[10], inventory:'{siteid:6190}', keywords:'siteid:6190' } }, {bidder: 'aol', params:{ placement:'6275417', network: '4658.1', server: "adserver.adtech.de" } }, ] },]; pbjs.addAdUnits(adUnits); }); pbjs.bidderSettings = { rubicon: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .875; } }, standard: { adserverTargeting: [{ key: "hb_bidder", val: function(bidResponse) { return bidResponse.bidderCode; } }, { key: "hb_adid", val: function(bidResponse) { return bidResponse.adId; } },{ key: "hb_height", val: function(bidResponse) { return bidResponse.height; } }, { key: "hb_bid", val: function(bidResponse) { var cpm = bidResponse.cpm; if (cpm < 0.10) { return (Math.floor(cpm * 50) / 50).toFixed(2); } else if (cpm < 5.00) { return (Math.floor(cpm * 20) / 20).toFixed(2); } else if (cpm < 10.00) { return (Math.floor(cpm * 2) / 2).toFixed(2); } else { return '10.00'; } } }] } }; pbjs.que.push(function(){ pbjs.requestBids({ // This callback gets triggered when all bids for this // ad unit come back. bidsBackHandler: function(bidResponses) { window.targetingParams = pbjs.getAdserverTargeting(); } }); }); } var sc = document.createElement("script"); sc.type = "text/javascript"; sc.async = true; sc.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + '//cdn.stickyadstv.com/prime-time/intext-roll.min.js?zone=900665&lang=fr&auto=v2&smartPlay=true&logo=false&soundoffmsg=Ad%3A%20Sound%20Off'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sc, s);