.01 ? bidCpm - .01 : 0; } }, rubicon: { bidCpmAdjustment: function(bidCpm, bid) { bidCpm = (bidCpm * .85); return bidCpm > .01 ? bidCpm - .01 : 0; } } } pbjs.que.push(function() { pbjs.setConfig({ bidderSequence: "random", priceGranularity: { 'buckets': [{ 'min': 0, 'max': 50, 'increment': 0.01 }] }, currency: { "adServerCurrency": "USD" } }); }); pbjs.que.push(function() { pbjs.addAdUnits(pbjs.unitsAd); pbjs.requestBids({ bidsBackHandler: initAdserver, timeout: PREBID_TIMEOUT }); }); function initAdserver() { if (pbjs.initAdserverSet) return; pbjs.initAdserverSet = true; googletag.cmd.push(function() { pbjs.setTargetingForGPTAsync && pbjs.setTargetingForGPTAsync(); googletag.pubads().refresh(Object.values(slotdfp)); }); } // in case PBJS doesn't load setTimeout(function() { initAdserver(); }, FALSAFE_TIMEOUT); var refreshSlot = function(slot, unit) { var slotID = [slot.getSlotElementId()]; pbjs.unitsAd.push(unit); pbjs.addAdUnits(unit); pbjs.requestBids({ timeout: PREBID_TIMEOUT, adUnitCodes: slotID, bidsBackHandler: function() { googletag.cmd.push(function() { pbjs.setTargetingForGPTAsync(slotID); googletag.pubads().refresh([slot]); }) } }); }

Carregando...

  • Capa
  • Revista
  • Atualidades
  • Encontro Indica