Major airline launches $100 million fund for ‘sustainable’ jet fuel

[]
Major airline launches $100 million fund for ‘sustainable’ jet fuel from used cooking oil, household trash= 2 && matches[1].length > 0){ profileVersionId = ‘/’+matches[1]; } } var wtads = document.createElement(‘script’); wtads.async = true; wtads.type = ‘text/javascript’; wtads.src = url+profileVersionId+’/pwt.js’; var node = document.getElementsByTagName(‘script’)[0]; node.parentNode.insertBefore(wtads, node); })(); ]]>0}catch(o){}return!1})()&&(n=o[t].pubads())&&n.setTargeting(“admiral-engaged”,”true”)}(c=o[t]=o[t]||{}).cmd=c.cmd||[],typeof c.pubads===n?e():typeof c.cmd.unshift===n?c.cmd.unshift(e):c.cmd.push(e)})(window,”googletag”,”function”);;;!(function(t,n,i,e,o){function a(){for(var t=[],i=0;i0&&o.push(t)}function c(t){if(t&&t.data&&t.source){var e,o=t.source,a=”string”==typeof t.data&&t.data.indexOf(“__tcfapiCall”)>=0;(e=a?((function(t){try{return JSON.parse(t)}catch(n){}})(t.data)||{}).__tcfapiCall:(t.data||{}).__tcfapiCall)&&n[i](e.command,e.version,(function(t,n){var i={__tcfapiReturn:{returnValue:t,success:n,callId:e.callId}};o&&o.postMessage(a?JSON.stringify(i):i,”*”)}),e.parameter)}}!(function f(){if(!window.frames[e]){var n=t.body;if(n){var i=t.createElement(“iframe”);i.style.display=”none”,i.name=e,n.appendChild(i)}else setTimeout(f,5)}})(),o=[],a.v=1,”function”!=typeof n[i]&&(n[i]=n[i]||a,n.addEventListener?n.addEventListener(“message”,c,!1):n.attachEvent&&n.attachEvent(“onmessage”,c))})(document,window,”__tcfapi”,”__tcfapiLocator”);;!(function(n,t,i,u,e,o,r){function a(n){if(n){var u=(n.data||{}).__uspapiCall;u&&t[i](u.command,u.version,(function(t,i){n.source.postMessage({__uspapiReturn:{returnValue:t,success:i,callId:u.callId}},”*”)}))}}!(function f(){if(!window.frames[u]){var t=n.body;if(t){var i=n.createElement(“iframe”);i.style.display=”none”,i.name=u,t.appendChild(i)}else setTimeout(f,5)}})();var s={getUSPData:function(n,t){return n!==1?t&&t(null,!1):t&&t({version:null,uspString:null},!1)}};function c(n,t,i){return s[n](t,i)}c.v=1,”function”!=typeof t[i]&&(t[i]=t[i]||c,t.addEventListener?t.addEventListener(“message”,a,!1):t.attachEvent&&t.attachEvent(“onmessage”,a)),o=n.createElement(e),r=n.getElementsByTagName(e)[0],o.src=”https://measlymiddle.com/v2jqt94e3G17aBQhA-Nt9df7H5ZzcEG6Ad-Yk98BBJkEDGjuoGDn2gaUpBF8DFvY45hDiHaHE”,r.parentNode.insertBefore(o,r)})(document,window,”__uspapi”,”__uspapiLocator”,”script”);]]> max_wh[1] ) max_wh[1] = size_list[i][1]; } return max_wh; } var FFADS = {“desktop_bidding_timeout”:”1050″,”mobile_bidding_timeout”:”1100″,”lazy_load_threshold”:”900″,”use_fixed_containers”:”yes”,”units”:{“SA1”:{“ad_type”:”custom”,”custom_ads”:[{“code”:”rnrnrn”,”rendering_script”:”document.getElementsByClassName(‘persistent-footer’)[0].style.display = “block”rnif (screen.width > 728) {rn var widgetID = ‘1222091’; // desktop widgetrn} else {rn var widgetID = ‘1222089’; // mobile widgetrn}rnvar mcs = document.createElement( ‘script’ );rnmcs.async = ‘async’;rnmcs.src = ‘https://jsc.mgid.com/w/n/wnd.com.’ + widgetID + ‘.js’;rndocument.body.appendChild( mcs );”}]},”WP1″:{“ad_type”:”custom”},”BB1″:{“ad_type”:”custom”,”custom_ads”:[{“code”:””,”rendering_script”:”EAS_BB1 = document.createElement(“script”);rnEAS_BB1.async = “async”;rnEAS_BB1.src = “https://cdn77.aj2495.online/1e02c7fa.js”;rn//document.body.appendChild(EAS_BB1);rndocument.getElementById(“BB1″).appendChild(EAS_BB1);rn”}],”size_mappings”:[{“screen_width”:”1200″,”creative_sizes”:[{“size”:”970×250″},{“size”:”970×90″},{“size”:”728×90″},{“size”:”1145×436″}]},{“screen_width”:”768″,”creative_sizes”:[{“size”:”600×260″},{“size”:”300×250″}]},{“screen_width”:”1″,”creative_sizes”:[{“size”:”300×260″},{“size”:”320×100″},{“size”:”320×50″}]}]},”IC1″:{“ad_type”:”custom”,”lazy_load”:”yes”,”custom_ads”:[{“code”:””,”rendering_script”:”EAS_IC1 = document.createElement(“script”);rnEAS_IC1.async = “async”;rnEAS_IC1.src = “https://cdn77.aj2495.online/1e02c7fa.js”;rn//document.body.appendChild(EAS_IC1);rndocument.getElementById(“IC1″).appendChild(EAS_IC1);”,”cpm”:”2.0″}]},”IC2″:{“ad_type”:”custom”,”lazy_load”:”yes”,”custom_ads”:[{“code”:””,”rendering_script”:”EAS_IC2 = document.createElement(“script”);rnEAS_IC2.async = “async”;rnEAS_IC2.src = “https://cdn77.aj2495.online/1e02c7fa.js”;rn//document.body.appendChild(EAS_IC2);rndocument.getElementById(“IC2″).appendChild(EAS_IC2);”}]},”IC3″:{“ad_type”:”custom”,”lazy_load”:”yes”,”custom_ads”:[{“code”:””,”rendering_script”:”var mcs = document.createElement(‘script’);rnmcs.async = ‘async’;rnmcs.src = ‘https://jsc.mgid.com/w/n/wnd.com.1275071.js’;rndocument.body.appendChild( mcs );”}]},”IC4″:{“ad_type”:”custom”,”lazy_load”:”yes”,”custom_ads”:[{“code”:”rn”,”rendering_script”:”var mcs = document.createElement( ‘script’ );rnmcs.async = ‘async’;rnmcs.src = ‘https://jsc.mgid.com/w/n/wnd.com.1275073.js’;rndocument.body.appendChild( mcs );”,”cpm”:”100.00″}]},”BA1″:{“ad_type”:”custom”,”custom_ads”:[{“code”:”rn”,”rendering_script”:”if( typeof window.renderRCWidget == ‘function’ ) {rn window.renderRCWidget( document.getElementById( ‘rc-widget-a3a10a’ ) );rn} else {rn let rcs = document.createElement( ‘script’ );rn rcs.src = ‘https://assets.revcontent.com/master/delivery.js’;rn rcs.defer = ‘defer’;rn document.body.appendChild( rcs );rn}rnrnlet mcs = document.createElement( ‘script’ ); rnmcs.async = ‘async’; rnmcs.src = ‘https://jsc.mgid.com/w/n/wnd.com.1135114.js’; rndocument.body.appendChild( mcs );”}]},”SB1″:{“ad_type”:”custom”},”SB2″:{“ad_type”:”custom”,”lazy_load”:”yes”},”SB3″:{“ad_type”:”custom”,”lazy_load”:”yes”,”custom_ads”:[{“code”:””,”rendering_script”:”if( typeof window.renderRCWidget == ‘function’ ) {rn window.renderRCWidget( document.getElementById( ‘rc-widget-aac439’ ) );rn} else {rn let rcs = document.createElement( ‘script’ );rn rcs.src = ‘https://assets.revcontent.com/master/delivery.js’;rn rcs.defer = ‘defer’;rn document.body.appendChild( rcs );rn}”,”cpm”:”100.00″}]},”SB4″:{“ad_type”:”custom”,”custom_ads”:[{“code”:””,”rendering_script”:”EAS_SB4 = document.createElement(“script”);rnEAS_SB4.async = “async”;rnEAS_SB4.src = “https://cdn77.aj2495.online/1e02c7fa.js”;rn//document.body.appendChild(EAS_IC1);rndocument.getElementById(“SB4″).appendChild(EAS_SB4);”}]},”SB5″:{“ad_type”:”custom”},”OOP”:{“ad_type”:”custom”},”IC5″:{“ad_type”:”custom”,”lazy_load”:”yes”,”custom_ads”:[{“code”:””,”rendering_script”:”let zrg = document.createElement(‘script’);rnzrg.language = ‘javascript’;rnzrg.type = ‘text/javascript’;rnzrg.src = ‘https://www.zergnet.com/zerg.js?id=89464’;rndocument.body.appendChild(zrg);”}],”repeating”:true},”IC6″:{“ad_type”:”custom”}},”ad_type”:”dfp_prebid”,”lazy_load”:”yes”,”seller_id”:”2019001″,”cat”:”uncategorized”}; FFADS.debug = function( msg ) { if( document.location.href.search( ‘ffads_debug=true’ ) !== -1 ) { if( typeof msg !== ‘undefined’ ) console.log( JSON.parse( JSON.stringify( msg ) ) ); else console.log( ‘undefined’ ); } } FFADS.content_order = [“OOP”,”SA1″,”BB1″,”WP1″,”IC1″,”IC2″,”IC3″,”IC4″,”IC5″,”IC6″,”BA1″]; FFADS.sidebar_order = [“SB1″,”SB2″,”SB3″,”SB4″,”SB5”]; for( let ad_unit in FFADS.units ) { if( ( FFADS.units[ad_unit].ad_type == ‘dfp_prebid’ || FFADS.units[ad_unit].ad_type == ‘hybrid’ || FFADS.units[ad_unit].ad_type == ‘custom’ ) && FFADS.units[ad_unit].size_mappings ) { for( let i = 0; i = FFADS.units[ad_unit].size_mappings[i].screen_width ) { if( FFADS.units[ad_unit].size_mappings[i].creative_sizes ) { FFADS.units[ad_unit].sizes = FFADS.units[ad_unit].size_mappings[i].creative_sizes.map( function( sizeObj ) { return sizeObj.size.split( ‘x’ ).map( function( numString ) { return parseInt( numString ); } ); } ); break; } } } } } let new_unit_obj = {}; for( let i in FFADS.content_order ) { FFADS.debug( ‘Checking if ‘ + FFADS.content_order[i] + ‘ is valid on this page’ ); let ad_unit = FFADS.content_order[i].split( ‘_’ )[0]; if( FFADS.units[ad_unit] && ( FFADS.units[ad_unit].ad_type == ‘custom’ || FFADS.units[ad_unit].sizes ) ) new_unit_obj[ad_unit] = FFADS.units[ad_unit]; else { FFADS.debug( FFADS.content_order[i] + ‘ is not valid on this page. Removing it from content_order.’ ); FFADS.content_order[i] = false; } } FFADS.content_order = FFADS.content_order.filter( function( ad_unit ) { return ad_unit && FFADS.units[ad_unit.split( ‘_’ )[0]].lazy_load; } ); if( window.innerWidth >= 944 ) for( let i in FFADS.sidebar_order ) { FFADS.debug( ‘Checking if ‘ + FFADS.sidebar_order[i] + ‘ is valid on this page’ ); if( FFADS.units[FFADS.sidebar_order[i]].ad_type == ‘custom’ || FFADS.units[FFADS.sidebar_order[i]].sizes ) new_unit_obj[FFADS.sidebar_order[i]] = FFADS.units[FFADS.sidebar_order[i]]; else { FFADS.debug( FFADS.sidebar_order[i] + ‘ is not valid on this page. Removing it from sidebar_order.’ ); FFADS.sidebar_order[i] = false; } } FFADS.sidebar_order = FFADS.sidebar_order.filter( function( ad_unit ) { return ad_unit && FFADS.units[ad_unit].lazy_load; } ); FFADS.units = new_unit_obj; FFADS.all_bidders = {“adyoulike”:{“nicename”:”Adyoulike”,”params”:[“placement”]},”amx”:{“nicename”:”AdaptMX”,”params”:[“tagId”]},”connectad”:{“nicename”:”ConnectAd”,”params”:[“siteId”,”networkId”]},”consumable”:{“nicename”:”Consumable”,”params”:[“siteId”,”networkId”,”unitId”,”unitName”]},”grid”:{“nicename”:”Grid”,”params”:[“uid”]},”gumgum”:{“nicename”:”GumGum”,”params”:[“inSlot”]},”pubmatic”:{“nicename”:”PubMatic”,”params”:[“publisherId”,”adSlot”]},”oftmedia”:{“nicename”:”One Fifty Two Media”,”params”:[“placementId”]},”sonobi”:{“nicename”:”Sonobi”,”params”:[“placement_id”]},”yieldlift”:{“nicename”:”YieldLift”,”params”:[“unitId”]},”yieldmo”:{“nicename”:”Yieldmo”,”params”:[“placementId”]}}; FFADS.pb_units = []; for( let bidder in FFADS.all_bidders ) { FFADS.all_bidders[bidder].param_map = {}; for( let param in FFADS.all_bidders[bidder].params ) { FFADS.all_bidders[bidder].param_map[FFADS.all_bidders[bidder].params[param].toLowerCase()] = FFADS.all_bidders[bidder].params[param]; } for( let param in FFADS.all_bidders[bidder].array_params ) { FFADS.all_bidders[bidder].param_map[FFADS.all_bidders[bidder].array_params[param].toLowerCase()] = FFADS.all_bidders[bidder].array_params[param]; } } for( let ad_unit in FFADS.units ) { FFADS.debug( ad_unit + ‘ type: ‘ + FFADS.units[ad_unit].ad_type ); FFADS.debug( ad_unit + ‘ size mappings:’ ); FFADS.debug( FFADS.units[ad_unit].size_mappings ); if( ( FFADS.units[ad_unit].ad_type == ‘dfp_prebid’ || FFADS.units[ad_unit].ad_type == ‘hybrid’ ) && FFADS.units[ad_unit].size_mappings ) { FFADS.debug( ‘creating PB unit(s) for ‘ + ad_unit ); let bids = []; for( let i in FFADS.units[ad_unit].bidders ) if( FFADS.units[ad_unit].bidders[i].device_category == ‘all’ || FFADS.units[ad_unit].bidders[i].device_category == ‘desktop’ && window.innerWidth >= 944 || FFADS.units[ad_unit].bidders[i].device_category == ‘mobile’ && window.innerWidth < 944 ) { let params = {}; for( let param in FFADS.units[ad_unit].bidders[i] ) { if( param.search( FFADS.units[ad_unit].bidders[i].name.toLowerCase() + '_' ) === 0 ) { let param_name_lower = param.split( '_' ).splice( 1 ).join( '_' ); let param_name = FFADS.all_bidders[FFADS.units[ad_unit].bidders[i].name].param_map[param_name_lower]; if( typeof FFADS.units[ad_unit].bidders[i][param] == 'object' ) { params[param_name] = []; for( let j in FFADS.units[ad_unit].bidders[i][param] ) { params[param_name].push( parseInt( FFADS.units[ad_unit].bidders[i][param][j][param_name_lower] ) || FFADS.units[ad_unit].bidders[i][param][j][param_name_lower] ); } } else params[param_name] = FFADS.units[ad_unit].bidders[i][param]; } } bids.push( { bidder: FFADS.units[ad_unit].bidders[i].name.replace( 'ttacross', '33across' ), params: params } ); } if( FFADS.units[ad_unit].repeating ) for( let i = 0; i < FF_REP_COUNT; i++ ) FFADS.pb_units.push( { mediaTypes: { banner: { sizes: FFADS.units[ad_unit].sizes } }, bids: bids, code: 'REP_' + i } ); else if( FFADS.units[ad_unit].rep_count ) for( let i = 0; i < FFADS.units[ad_unit].rep_count; i++ ) FFADS.pb_units.push( { mediaTypes: { banner: { sizes: FFADS.units[ad_unit].sizes } }, bids: bids, code: ad_unit + '_' + i } ); else FFADS.pb_units.push( { mediaTypes: { banner: { sizes: FFADS.units[ad_unit].sizes } }, bids: bids, code: ad_unit } ); } FFADS.units[ad_unit].instances = {}; if( FFADS.units[ad_unit].repeating ) for( let i = 0; i < FF_REP_COUNT; i++ ) FFADS.units[ad_unit].instances['REP_' + i] = {}; else if( FFADS.units[ad_unit].rep_count ) for( let i = 0; i 943 ? FFADS.desktop_bidding_timeout : FFADS.mobile_bidding_timeout; FFADS.get_unit_path = function( ad_unit ) { let path = '/' + ( this.dfp_account_id || 101957818 ) + '/'; if ( this.dfp_unit_path ) { path += this.dfp_unit_path + ad_unit; } else { path += ad_unit + '_' + ( this.custom_unit_code || 'WND' ); } if ( typeof this.use_sx_units != 'undefined' && this.use_sx_units == 'yes' ) { path += window.innerWidth > 943 ? ‘_LGSX’ : ‘_SMSX’; } return path; } FFADS.pbjs_bids_back = function() { FFADS.debug( ‘PB bids back for initial units’ ); FFADS.pbjs_ready = true; if( FFADS.a9_ready ) return sendInitialAdserverRequest(); } FFADS.render_ad = function( ad_unit, div_id = false ) { div_id = div_id || ad_unit; this.debug( ‘refreshing ‘ + ad_unit + ‘ into #’ + div_id ); this.units[ad_unit].instances[div_id].displayed = true; if( this.units[ad_unit].ad_type == ‘custom’ ) eval( this.units[ad_unit].custom_ads[0].rendering_script ); else googletag.cmd.push( this.request_bids.bind( this, ad_unit, div_id ) ); } FFADS.request_bids = function( ad_unit, div_id = false ) { div_id = div_id || ad_unit; this.debug( ‘requesting bids for ‘ + ad_unit + ‘ in #’ + div_id ); FFADS.units[ad_unit].instances[div_id].gt_slot = googletag.defineSlot( this.get_unit_path( ad_unit ), this.units[ad_unit].sizes, div_id ).setTargeting( ‘ad_h’, (new Date).getUTCHours().toString() ).addService( googletag.pubads() ); window[‘firefly_pbjs_ready’ + div_id] = false, window[‘firefly_a9_ready’ + div_id] = false; pbjs.requestBids( { bidsBackHandler: firefly_pbjs_bids_back_single.bind( null, ad_unit, div_id ), adUnitCodes: [div_id] } ); setTimeout( sendSingleAdserverRequest.bind( FFADS, ad_unit, div_id ), FFADS.prebid_timeout ); apstag.fetchBids( { slots: [ { slotID: div_id, slotName: this.get_unit_path( ad_unit ), sizes: this.units[ad_unit].sizes } ] }, firefly_a9_bids_back_single.bind( null, ad_unit, div_id ) ); }; FFADS.lazy_load_check = function() { FFADS.debug( ‘checking lazy load’ ); let wnhc_j = jQuery( ‘#wj-network-header-container’ + ( window.innerWidth div.fixed-size.sliding > div’ ); for( let i = 0; i max_margin ) { slide_units[i].style.position = ‘static’; slide_units[i].style.paddingTop = max_margin + ‘px’; } else if( distance < 0 ) { slide_units[i].style.position = 'static'; slide_units[i].style.paddingTop = '0px'; } else if( slide_units[i].style.position != 'fixed' ) { slide_units[i].style.left = jQuery( slide_units[i].firstChild ).offset().left + 'px'; slide_units[i].style.position = 'fixed'; slide_units[i].style.paddingTop = '0px'; slide_units[i].style.top = jQuery( '#wpadminbar' ).outerHeight() + jQuery( '#wj-network-header-container' ).outerHeight() + ( window.innerWidth < 944 ? jQuery( '.jw-above-container.stuck:not( .never-stick ) .jw-sticky-container' ).outerHeight() : 0 ) + 'px'; } } for( let i = 0; i < FFADS.content_order.length; i++ ) { let ad_unit_id = FFADS.content_order[i]; let ad_unit = ad_unit_id.split( '_' )[0]; if( ! FFADS.units[ad_unit].repeating ) { if( checkAlmostVisible( document.getElementById( ad_unit_id ), FFADS.lazy_load_threshold ) ) { FFADS.debug( ad_unit_id + ' is almost visible' ); FFADS.content_order.splice( i--, 1 ); // splice first in case render_ad fails, decrement i to account for item removed FFADS.render_ad( ad_unit, ad_unit_id ); } } else for( var j = 0; j 943 ) for( let i = 0; i < FFADS.sidebar_order.length; i++ ) { let ad_unit_code = FFADS.sidebar_order[i]; if( checkAlmostVisible( document.getElementById( ad_unit_code ), FFADS.lazy_load_threshold ) ) { FFADS.debug( ad_unit_code + ' is almost visible' ); FFADS.sidebar_order.splice( i, 1 ); FFADS.render_ad( ad_unit_code ); } else break; } } FFADS.comments_displayed = false; var pbjs = pbjs || {}; pbjs.que = pbjs.que || [ function() { FFADS.debug( 'pbjs.que starting' ); } ]; pbjs.que.push(function() { pbjs.enableAnalytics( [ { provider: 'adagio' } ] ); pbjs.setConfig( { priceGranularity: "high", userSync: { iframeEnabled: true, filterSettings: { iframe: { bidders: ['nobid','pubmatic', 'consumable', 'connectad'], filter: 'include' } } } } ); if( typeof PWT !== 'undefined' && typeof PWT.getUserIds == "function" ) { FFADS.pb_units.forEach( function( adUnit ) { adUnit.bids.forEach( function( bid ) { bid["userId"] = PWT.getUserIds(); bid["userIdAsEids"] = owpbjs.getUserIdsAsEids(); } ); } ); } else { FFADS.debug( 'PWT not ready in time' ); } FFADS.debug( 'adding units to PB' ); FFADS.debug( FFADS.pb_units ); pbjs.addAdUnits( FFADS.pb_units ); let adUnitCodes = []; for( let ad_unit in FFADS.units ) if( ! FFADS.units[ad_unit].lazy_load ) adUnitCodes.push( ad_unit ); FFADS.debug( 'requesting PB bids for initial units' ); pbjs.requestBids({ bidsBackHandler: FFADS.pbjs_bids_back, adUnitCodes: adUnitCodes }); }); function sendInitialAdserverRequest() { if( FFADS.initialAdserverRequestSent ) return; FFADS.initialAdserverRequestSent = true; FFADS.debug( 'queuing DFP request for initial units' ); googletag.cmd.push(function() { pbjs.que.push(function() { FFADS.debug( 'sending DFP request for initial units' ); let adUnitCodes = []; let dfpAdUnits = []; for( let ad_unit in FFADS.units ) if( ! FFADS.units[ad_unit].lazy_load ) { if( FFADS.units[ad_unit].ad_type == 'hybrid' ) { let pb_bid = pbjs.getHighestCpmBids( ad_unit ); pb_bid = pb_bid.length ? pb_bid[0].cpm : 0; FFADS.debug( 'Prebid bid ' + pb_bid + ' for ' + ad_unit ); if( pb_bid < FFADS.units[ad_unit].custom_ads[0].cpm ) { FFADS.debug( 'Custom code won for ' + ad_unit ); let el = false; if( el = document.getElementById( ad_unit ) ) { el.innerHTML = FFADS.units[ad_unit].custom_ads[0].code; eval( FFADS.units[ad_unit].custom_ads[0].rendering_script ); } else FFADS.debug( 'failed to render custom code in ' + ad_unit + ' since the unit is not on this page' ); continue; } } adUnitCodes.push( ad_unit ); dfpAdUnits.push( FFADS.units[ad_unit].instances[ad_unit].gt_slot ); } pbjs.setTargetingForGPTAsync( adUnitCodes ); apstag.setDisplayBids(); googletag.pubads().refresh( dfpAdUnits ); }); }); } FFADS.debug( 'scheduling DFP request for initial units' ); setTimeout( function() { sendInitialAdserverRequest(); }, FFADS.prebid_timeout ); if( ! getCookie( 'ff_subbed' ) ) { (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); })(); } var googletag = googletag || {}; googletag.cmd = googletag.cmd || [ function() { FFADS.debug( 'googletag.cmd starting' ); } ]; googletag.cmd.push( function() { googletag.pubads().disableInitialLoad(); for( let ad_unit in FFADS.units ) if( ! FFADS.units[ad_unit].lazy_load && ( FFADS.units[ad_unit].ad_type == 'dfp_prebid' || FFADS.units[ad_unit].ad_type == 'hybrid' ) ) { FFADS.debug( 'defining slot for ' + ad_unit + ' #' + ad_unit ); FFADS.units[ad_unit].instances[ad_unit].gt_slot = googletag.defineSlot( FFADS.get_unit_path( ad_unit ), FFADS.units[ad_unit].sizes, ad_unit ).setTargeting( 'ad_group', Adomik.randomAdGroup() ).setTargeting( 'ad_h', (new Date).getUTCHours().toString() ).addService( googletag.pubads() ); } googletag.pubads().enableSingleRequest(); firefly_setTargeting(); googletag.pubads().setCentering(true); googletag.enableServices(); } ); function sendSingleAdserverRequest( ad_unit, div_id = false ) { div_id = div_id || ad_unit; if( FFADS.units[ad_unit].instances[div_id].adserverRequestSent ) return; FFADS.units[ad_unit].instances[div_id].adserverRequestSent = true; if( FFADS.units[ad_unit].ad_type == 'hybrid' ) { let pb_bid = pbjs.getHighestCpmBids( div_id ); pb_bid = pb_bid.length ? pb_bid[0].cpm : 0; FFADS.debug( 'Prebid bid ' + pb_bid + ' for #' + div_id ); if( pb_bid

Tap here to add The Western Journal to your home screen.


Source

You May Also Like

Leave a Reply

Your email address will not be published. Required fields are marked *