//load the apstag.js library ! function(a9, a, p, s, t, A, g) { if (a[a9]) return; function q(c, r) { a[a9]._Q.push([c, r]) } a[a9] = { init: function() { q("i", arguments) }, fetchBids: function() { q("f", arguments) }, setDisplayBids: function() {}, targetingKeys: function() { return [] }, _Q: [] }; A = p.createElement(s); A.async = !0; A.src = t; g = p.getElementsByTagName(s)[0]; g.parentNode.insertBefore(A, g) }("apstag", window, document, "script", "//c.amazon-adsystem.com/aax2/apstag.js"); //initialize the apstag.js library on the page to allow bidding apstag.init({ pubID: '24a8f0bd-cf02-44fc-8552-07652599f740', //enter your pub ID here as shown above, it must within quotes adServer: 'googletag' }); apstag.fetchBids({ slots: [{ slotID: 'div-gpt-ad-1431524856566-5', slotName: '/1011927/College_Fix_728_by_90_TOP', sizes: [ [728, 90] ] }, { slotID: 'div-gpt-ad-1431524856566-3', slotName: '/1011927/College_Fix_300_by_250_TOP', sizes: [ [300, 250] ] }, { slotID: 'div-gpt-ad-1431524856566-2', slotName: '/1011927/College_Fix_300_by_250', sizes: [ [300, 250] ] }, { slotID: 'div-gpt-ad-1491420573348-0', slotName: '/1011927/College_Fix_300_by_250_3', sizes: [ [300, 250] ] }, { slotID: 'div-gpt-ad-1431524856566-1', slotName: '/1011927/College_Fix_160_by_600_TOP', sizes: [ [160, 600] ] }, { slotID: 'div-gpt-ad-1431524856566-0', slotName: '/1011927/College_Fix_160_by_600', sizes: [ [160, 600] ] } ], timeout: 2e3 }, function(bids) { // set apstag targeting on googletag, then trigger the first DFP request in googletag's disableInitialLoad integration googletag.cmd.push(function() { apstag.setDisplayBids(); // googletag.pubads().refresh(); }); }); var PREBID_TIMEOUT = 1000; var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; function initAdserver() { if (pbjs.initAdserverSet) return; (function () { var gads = document.createElement('script'); gads.async = true; gads.type = 'text/javascript'; var useSSL = 'https:' == document.location.protocol; gads.src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js'; var node = document.getElementsByTagName('script')[0]; node.parentNode.insertBefore(gads, node); })(); pbjs.initAdserverSet = true; }; setTimeout(initAdserver, PREBID_TIMEOUT); var pbjs = pbjs || {}; pbjs.que = pbjs.que || []; (function () { var pbjsEl = document.createElement("script"); pbjsEl.type = "text/javascript"; pbjsEl.async = true; pbjsEl.src = "//ssl-intgr-net.s3.amazonaws.com/prebid/pb124.js"; var pbjsTargetEl = document.getElementsByTagName("head")[0]; pbjsTargetEl.insertBefore(pbjsEl, pbjsTargetEl.firstChild); })(); (function () { var pbjsEf = document.createElement("script"); pbjsEf.type = "text/javascript"; pbjsEf.async = true; pbjsEf.src = "//ssl-intgr-net.s3.amazonaws.com/header/74.js"; var pbjsTargetEf = document.getElementsByTagName("head")[0]; pbjsTargetEf.insertBefore(pbjsEf, pbjsTargetEf.firstChild); })(); pbjs.que.push(function() { pbjs.enableAnalytics({ provider: 'publir', options: { pubId: 74, publir_siteId: 74 } }); }); (function () { var pbjsEg = document.createElement("script"); pbjsEg.type = "text/javascript"; pbjsEg.async = true; pbjsEg.src = "https://a.pub.network/core/fscomscore.js"; var pbjsTargetEg = document.getElementsByTagName("head")[0]; pbjsTargetEg.insertBefore(pbjsEg, pbjsTargetEg.firstChild); })();