{ window.prebidData.slotMap[slotKey].push({ ‘bidder’: ‘optimera’, ‘params’: { ‘clientID’: clientID, ‘device’: (window.innerWidth || document.documentElement.clientWidth) >= 768 ? ‘de’ : ‘mo’, } }); }); ]]>Louisiana Tech shuts out UAB, takes series over Blazers | ArkLaTexHomepage2&&void 0!==arguments[2]&&arguments[2];i(this,e),this.apstagSlots=[],this.prebidSlots=[],this.prebidData={analytics:[],priceGranularity:{},sizeConfig:[],slotMap:{},userSync:{}},this.googletag=t,this.isApsEnabled=o,this.isPrebidJSEnabled=a,this.setUpSlot=this.setUpSlot.bind(this),this.refreshSlots=this.refreshSlots.bind(this),this.isPrebidJSEnabled&&(window.pbjs=window.pbjs||{},window.pbjs.que=pbjs.que||[],window.prebidData&&(this.prebidData=window.prebidData,window.NXSTdata&&window.NXSTdata.content&&window.NXSTdata.content.pageDcode&&this.prebidData.slotMap&&Object.keys(this.prebidData.slotMap).forEach((function(e){n.prebidData.slotMap[e].filter((function(e){return”rubicon”===e.bidder})).forEach((function(e){e.params.inventory={d_code:window.NXSTdata.content.pageDcode}}))}))),window.pbjs.que.push((function(){window.pbjs.setConfig({sizeConfig:n.prebidData.sizeConfig,priceGranularity:n.prebidData.priceGranularity,userSync:n.prebidData.userSync}),n.prebidData.analytics.length&&window.pbjs.enableAnalytics(n.prebidData.analytics)})))}var t,n,a;return t=e,a=[{key:”apstag”,value:function(){return window.apstag||null}}],(n=[{key:”setUpSlot”,value:function(e,t,n,i,o){var a=this;this.pushCmd((function(){var n=null;if((n=t.is_oop?a.googletag.defineOutOfPageSlot(i,e):a.googletag.defineSlot(i,t.size,e))&&(o&&Object.keys(o).forEach((function(e){n.setTargeting(e,o[e])})),t.sizes.length&&n.defineSizeMapping(t.sizes),t.is_companion&&n.addService(a.googletag.companionAds()),n.addService(a.googletag.pubads())),n){var s=[];if(n.getSizes?s=n.getSizes(window.innerWidth,window.innerHeight).map((function(e){return[e.getWidth(),e.getHeight()]})):t.sizes.length&&(s=Object.values(t.sizes.reduce((function(e,t){var n=e;return t[1].forEach((function(e){n[e.join(“,”)]=e})),n}),{}))),s.length&&(s=s.filter((function(e){return!(88===e[0]&&31===e[1])}))),s.length){var r=o&&o.pos,d=[n.getAdUnitPath().split(“/”).slice(0,3).join(“/”),r].join(“/”);if(a.apstagSlots.push({sizes:s,slotID:n.getSlotElementId(),slotName:d}),a.isPrebidJSEnabled){var l=a.getPrebidBidsForSlot(r);r&&l.length&&a.prebidSlots.push({code:n.getSlotElementId(),mediaTypes:{banner:{sizes:s}},bids:l})}}}}))}},{key:”getPrebidBidsForSlot”,value:function(e){return e&&this.prebidData.slotMap&&this.prebidData.slotMap[e]?this.prebidData.slotMap[e]:[]}},{key:”initVisibleSlots”,value:function(){var e=this;this.pushCmd((function(){e.googletag.pubads().getSlots().forEach((function(t){e.pushCmd((function(){e.googletag.display(t.getSlotElementId())}))}))})),this.refreshSlots()}},{key:”refreshSlots”,value:function(){var e=this;this.pushCmd((function(){e.initPrebidRequest((function(){e.googletag.pubads().refresh()}))}))}},{key:”initPrebidRequest”,value:function(e){this.isPrebidJSEnabled?this.isApsEnabled?this.fetchHeaderBids(this.apstagSlots,this.prebidSlots,2e3,e):this.fetchHeaderBids([],this.prebidSlots,2e3,e):this.isApsEnabled?this.fetchHeaderBids(this.apstagSlots,[],2e3,e):this.pushCmd(e)}},{key:”fetchHeaderBids”,value:function(e,t,n,i){var o=this,a=this.constructor.apstag(),s=[],r=this.isApsEnabled&&e.length;r&&s.push(“a9”),t.length&&s.push(“prebid”);var d={adserverRequestSent:!1};s.forEach((function(e){d[e]=!1}));var l=function(){!0!==d.adserverRequestSent&&(d.adserverRequestSent=!0,d.sendAdserverRequest=!0,o.googletag.cmd.push((function(){r&&a.setDisplayBids(),o.isPrebidJSEnabled&&”function”==typeof window.pbjs.setTargetingForGPTAsync&&window.pbjs.setTargetingForGPTAsync(),i()})))},g=function(e){!0!==d.adserverRequestSent&&(“a9″===e?d.a9=!0:”prebid”===e&&(d.prebid=!0),s.map((function(e){return d[e]})).filter(Boolean).length===s.length&&l())};r&&a.fetchBids({slots:e,timeout:n},(function(){g(“a9”)})),o.isPrebidJSEnabled&&window.pbjs.que.push((function(){window.pbjs.addAdUnits(t),window.pbjs.requestBids({bidsBackHandler:function(){g(“prebid”)}})})),window.setTimeout((function(){l()}),n)}},{key:”pushCmd”,value:function(e){this.googletag.cmd.push(e)}}])&&o(t.prototype,n),a&&o(t,a),e}(),s=n(26);function r(e){if(window&&window.sessionStorage)return window.sessionStorage.getItem(e)}function d(e,t){if(window&&window.sessionStorage)try{window.sessionStorage.setItem(e,t)}catch(e){}}var l=n(18),g=window.amScripts,c=g.page_attributes,u=g.gpt;Object(s.a)(),googletag.cmd.push((function(){googletag.pubads().enableSingleRequest(),googletag.pubads().enableAsyncRendering(),googletag.pubads().collapseEmptyDivs(),googletag.companionAds().setRefreshUnfilledSlots(!0),googletag.pubads().disableInitialLoad(),googletag.pubads().enableVideoAds(),l.a&&googletag.pubads().setPublisherProvidedId(l.a),googletag.enableServices()})),googletag.cmd.push((function(){var […]
Like this:
Like Loading...