function tmzrScriptErrorHandler(url) { var fallbackScript = document.createElement('script'); fallbackScript.src = url; document.head.appendChild(fallbackScript); } var tmzrCountExec = function(siteId, formatId, status){ if(Math.floor(Math.random() * 10)!==0){ return; } let u = "https://metrics.biddertmz.com/metric?s="+siteId+"&f="+formatId+"&fi="+status; fetch(u); } if(typeof window.whatToLoad != 'function'){ window.whatToLoad = function(adId, args){ switch(adId){ case 38 : var lib_corner_video = document.createElement('script'); lib_corner_video.type = 'text/javascript'; lib_corner_video.async = true; lib_corner_video.src = 'https://cdn.themoneytizer.fr/ads/lib_corner_video.js'; document.head.append(lib_corner_video); lib_corner_video.addEventListener('load', () => { setupCornerVideo(args); }) break; case 6: if(!document.getElementById('tmzr_lib_footer_slidein')){ var lib_footer_slidein = document.createElement('script'); lib_footer_slidein.id = 'tmzr_lib_footer_slidein'; lib_footer_slidein.type = 'text/javascript'; lib_footer_slidein.async = true; lib_footer_slidein.src = 'https://cdn.themoneytizer.fr/ads/lib_footer_slidein.js'; document.head.append(lib_footer_slidein); lib_footer_slidein.addEventListener('load', () => { setupFooterSlidein(args); }) } else { setupFooterSlidein(args); } break; case 44: console.log('lib to load'); if(!document.getElementById('tmzr_lib_footer_slidein')){ var lib_footer_slidein = document.createElement('script'); lib_footer_slidein.id = 'tmzr_lib_footer_slidein'; lib_footer_slidein.type = 'text/javascript'; lib_footer_slidein.async = true; lib_footer_slidein.src = 'https://cdn.themoneytizer.fr/ads/lib_footer_slidein.js'; document.head.append(lib_footer_slidein); lib_footer_slidein.addEventListener('load', () => { setupFooterSlidein(args); }) } else { setupFooterSlidein(args); } break; case 15: if(!document.getElementById('tmzr_lib_interstitial')){ var lib_interstitial = document.createElement('script'); lib_interstitial.id = 'tmzr_lib_interstitial'; lib_interstitial.type = 'text/javascript'; lib_interstitial.async = true; lib_interstitial.src = 'https://cdn.themoneytizer.fr/ads/lib_interstitial.js'; document.head.append(lib_interstitial); lib_interstitial.addEventListener('load', () => { setupInterstitialFormat(args); }) } else { setupInterstitialFormat(args); } break; case 'native': if (!document.getElementById('tmzr_lib_native')) { var lib_native = document.createElement('script'); lib_native.id = 'tmzr_lib_native'; lib_native.type = 'text/javascript'; lib_native.async = true; lib_native.src = 'https://cdn.themoneytizer.fr/ads/lib_native.js'; document.head.append(lib_native); lib_native.addEventListener('load', () => { setupNativeFormat(args); }) } else { setupNativeFormat(args); } break; case 'adagio': if (!document.getElementById('tmzr_lib_adagio')) { var lib_adagio = document.createElement('script'); lib_adagio.id = 'tmzr_lib_adagio'; lib_adagio.type = 'text/javascript'; lib_adagio.async = true; lib_adagio.src = 'https://cdn.themoneytizer.fr/ads/lib_adagio.js'; document.head.append(lib_adagio); } break; case 11: if (!document.getElementById('tmzr_lib_intext')) { var tmzr_lib_intext = document.createElement('script'); tmzr_lib_intext.id = 'tmzr_lib_intext'; tmzr_lib_intext.type = 'text/javascript'; tmzr_lib_intext.async = true; tmzr_lib_intext.src = 'https://cdn.themoneytizer.fr/ads/lib_intext.js'; document.head.append(tmzr_lib_intext); } break; default: break; } } } whatToLoad('adagio'); window.site_id = 104906; if (nugg != 1) { var random_cent = Math.floor(Math.random() * 100); function isEmpty(obj) { for(var prop in obj) { if(obj.hasOwnProperty(prop)) return false; } return true; } function waitForGetBatchKeyword() { if (typeof getBatchKeyword == 'function') { var meta = document.createElement('meta'); meta.name = "pbstck_context:pbstck_ab_test"; meta.content = "learning"; document.head.appendChild(meta); } else { setTimeout(waitForGetBatchKeyword, 100); } } waitForGetBatchKeyword(); var criteoCallback = function (data) { if (data && data.status === "OK") { sas.cmd.push(function () { sas.setPartnerId("79", data.userid); }); } sas.cmd.push(function(){sas.render();}); } window.sublime = window.sublime || {}; window.sublime.supplyChain = { complete: 1, ver: '1.0', nodes: [{ asi: 'themoneytizer.com', sid: '96842', hp: 1 }] }; window.sh = window.sh || {}; window.sh= "1.0,1!themoneytizer.com,96842,1,,"; // GEN var generic = document.createElement("script"); generic.setAttribute("type", "text/javascript"); generic.setAttribute("src", "https://ced.sascdn.com/tag/1097/smart.js"); document.head.appendChild(generic); var criteo_gum = document.createElement("script"); criteo_gum.setAttribute("type", "text/javascript"); criteo_gum.setAttribute("src", "https://gum.criteo.com/sync?c=147&r=2&j=criteoCallback"); criteo_gum.setAttribute("async", "true"); document.head.appendChild(criteo_gum); var smart_csync = document.createElement("script"); smart_csync.setAttribute("type", "text/html"); smart_csync.setAttribute("src", "https://csync-global.smartadserver.com/1097/CookieSync.html"); smart_csync.setAttribute("async", "true"); document.head.appendChild(smart_csync); var pwidget_config = { publisherKey:"1sbtjc2sqopftf032cn", shareQuote:false }; var iframe = document.createElement("iframe"); iframe.src = "https://onetag-sys.com/usync/?pubId=7b2ec27f127242e&cb=" + new Date().getTime(); iframe.style.display = "none"; var node = document.getElementsByTagName('script')[0]; node.parentNode.appendChild(iframe); (function(win, doc) { var id5 = { /*********** SETUP YOUR CONFIG BELOW ***********/ partnerId : 12, // provided by ID5 cascades : 9, // max number of cascades to support hasTcfCmp : true, // set to true to call an IAB TCF-compliant CMP debug : false, // set to true to output debug message (set to false for production) /*********** IMPLEMENTATION - DO NOT EDIT ***********/ makeUrl: function() { var isSync = (typeof this.callType != 'undefined' && this.callType.toLowerCase() === 'sync' && this.myUid && this.myUid.length > 0); return 'https://id5-sync.com/'+(isSync?'s':'i')+'/'+this.partnerId+'/'+this.cascades+'.gif?'+(isSync?'puid='+encodeURIComponent(this.myUid)+'&':'')+'gdpr='+encodeURIComponent(this.gdprApplies||'')+'&gdpr_consent='+encodeURIComponent(this.consentData||''); }, prepareId5Pixel: function() { this.log('Preparing pixel with doc.readyState:', doc.readyState); if(doc.readyState !== 'loading') { this.fireId5Pixel(); } else { doc.addEventListener('DOMContentLoaded', function () { id5.fireId5Pixel(); }); } }, fireId5Pixel: function() { var url = this.makeUrl(); this.log('Firing ID5 pixel at url:', url); (new Image()).src = url; }, processTcfResults: function(result) { this.log('Received TCF result', result); this.gdprApplies = result.gdprApplies; this.consentData = result.tcString; }, init: function() { if(this.hasTcfCmp){ var checkInterval = setInterval(function() { if (win.__tcfapi) { clearInterval(checkInterval); try { win.__tcfapi('addEventListener', 2, function(data, success) { id5.processTcfResults(data); id5.prepareId5Pixel(); }); } catch (e) { id5.log('Exception received while calling TCF CMP', e); id5.prepareId5Pixel(); } } }, 100); // Check every 100ms } else { id5.prepareId5Pixel(); } }, log: function(msg, data) { this.debug && console.log('[ID5] '+msg, data); } }; id5.init(); })(window, document); // FIN GEN var tagsObject = {"26328":{"tft_placement_id":164746,"tft_page_id":150544,"tft_placement_id_us":180779,"tft_page_id_us":166009,"site_bluerooster_interstitial":null,"site_ssp_pass":0,"site_cmp":2,"site_cnil":0,"user_id":96842,"user_plateform":"jp","ad_id":6,"ad_adform":1868303,"ad_adform_doublon":1870711,"ad_triplelift_id":"MoneyTizer_Footer_HDX","ad_triplelift_id_doublon":"MoneyTizer_Footer_HDX_2","ad_triplelift_id_native":"MoneyTizer_Footer_HDX_native","ad_triplelift_id_native_doublon":"MoneyTizer_Footer_HDX_2_native","ad_triplelift_id_premium":"Publisher_Top_Performance_Footer_Slidein_desktop","ad_triplelift_id_premium_doublon":"Publisher_Top_Performance_2_Footer_Slidein_desktop","ad_triplelift_id_premium_mobile":"Publisher_Top_Performance_Footer_Slidein_mobile","ad_triplelift_id_premium_doublon_mobile":"Publisher_Top_Performance_2_Footer_Slidein_mobile","ad_sharethrough_desktop":"uvUcrgH1iI5FR6NxYAaO8zZX","ad_adyoulike":"8b2bd071f3581407a9d2ee02ab81501e","ad_adyoulike_doublon":"04d0d26ef25d77b4805986c42656ccbb","ad_adyoulike_mobile":"d5b0e319ed5c88cb47b8abdb035846b8","ad_adyoulike_doublon_mobile":"fc053f47a335f393cff149a396efd3e8","part_beop":0,"ad_33across":"bHj7xyza8r7ikjrkHcnnVW","ad_33across_doublon":"cKWxSQzcqr7ikjrkHcnnVW","ad_33across_doublon_mobile":"cWWUx4zcqr7ikjrkHcnnVW","ad_33across_mobile":"bUpsAUza8r7ikjrkHcnnVW","ad_sharethrough_mobile":"Uh8Ls2TPFlPGbiy8tcW7hifd","part_yieldone":0,"form_yieldone":null,"form_yieldone_mobile":null,"ad_sharethrough_desktop_doublon":"k9kw1piB36xB6kGl2hAxV6NZ","ad_sharethrough_mobile_doublon":"YElGBy4wZ3aBCXAJT7k6Mmfb","form_rtb_floor":null,"form_id":527624,"form_ad_id":6,"form_freewheel":null,"form_freewheel_mobile":null,"ad_lucead_mobile":null,"ad_lucead":null,"part_freewheel":0,"form_richaudience":"jZaJqwrYQo","form_richaudience_mobile":null,"form_richaudience2":null,"form_richaudience_mobile2":null,"form_smilewanted":null,"form_custom_display":0,"form_id_rubicon":null,"part_rubicon":1,"form_between":4701086,"part_between":1,"part_kueez":0,"ad_kueez":"66547ea69930c01a060234e1","ad_kueez_mobile":"66a90c9b0c47b07d7483f875","ad_kueez_doublon":"669d4a4b1b6bcdce52aeeabb","ad_kueez_mobile_doublon":"66a90cb1d0a029f5c2321ab7","part_rise":0,"form_custom_placement":null,"tag_sovrn":null,"tag_sovrn_mobile":null,"part_sovrn":2,"tag_adyoulike":null,"part_bidgency":0,"part_brave":0,"ad_brave":"b18595cf3b47fcf1ed5f5bea161442a4","ad_brave_mobile":"d2a1a27be9e5134da49cf9aad069bdca","ad_trustedstack_mobile":"864452122","ad_trustedstack":"132066716","part_trustedstack":0,"tag_adyoulike_mobile":null,"tag_adyoulike_mobile_RON":null,"site_yandex":null,"ad_yandex_imp_id":2,"ad_yandex_imp_id_mobile":9,"part_yandex":0,"tag_improve":"22904097","tag_improve2":null,"tag_improve3":22904102,"tag_justpremium":null,"ad_smart_id":26328,"site_id":104906,"site_id_smart":"567966\/1722151","site_novideo":0,"part_ogury":0,"part_criteo":1,"form_criteo":"1630054","form_criteo_mobile":"1630059","part_improve":1,"part_eplanning":0,"site_forced_cmp":0,"site_pubstack":"38769e8f-b5c3-4418-84a0-6aaed77453cb","site_responsive":1,"site_blocklist":0,"site_id_rubicon_ATF":1078232,"site_id_rubicon_MTF":null,"site_id_rubicon_BTF":1078316,"site_doublon":null,"site_rtbhouse_asia":1,"site_ads_txt":26,"site_id_rubicon_FS":1124634,"site_nobid":null,"site_nobid_ATF":null,"site_nobid_BTF":null,"site_nobid_FS":null,"part_nobid":0,"form_pubmatic":null,"site_adform":0,"site_openx_ATF":559248291,"site_openx_BTF":559248292,"site_openx_FS":559248288,"site_openx_corner":null,"site_oftmedia_ATF":null,"site_oftmedia_BTF":null,"site_oftmedia_FS":null,"part_seedtag":0,"site_seedtag":null,"form_seedtag":null,"site_oftmedia_IT":null,"site_blueroostermedia_ATF":null,"site_blueroostermedia_BTF":null,"site_blueroostermedia_FS":null,"site_blueroostermedia_IT":null,"site_blueroostermedia_old_ATF":null,"site_blueroostermedia_old_BTF":null,"site_blueroostermedia_old_FS":null,"part_richaudience":1,"part_vidoomy":0,"form_vidoomy":null,"form_vidoomy_mobile":null,"form_triplelift":null,"form_triplelift_mobile":null,"part_pubmatic":-1,"part_openx":1,"site_adtelligent_ATF":null,"site_adtelligent_BTF":null,"site_adtelligent_FS":null,"site_intext_lazyloaded":null,"site_adtelligent_IT":null,"site_adtelligent_interstitial":null,"site_gingerad_ATF":null,"site_gingerad_BTF":null,"site_gingerad_FS":null,"site_gingerad_IT":null,"site_gingerad_inter":null,"part_gingerad":0,"part_blueroostermedia":1,"part_blueroostermedia_magnite":1,"part_zemanta":1,"part_onetag":1,"part_adtelligent":0,"part_videoheroes":0,"ad_videoheroes":"1e1e8471d33f600ca80e3fe476d0dcc0","ad_videoheroes_mobile":"9a6d4ff22b992814f7e7f7f507101e88","part_admixer":0,"ad_admixer":"abe5ce3f-e2df-4bc6-8de6-7fc45a6a03ee","ad_admixer_mobile":"e72a2235-2d6b-4155-aae6-6b7e0817a9c5","ad_admixer_doublon":"ba8d4b4b-1fa9-4be4-bf93-e86bccd1519f","ad_admixer_doublon_mobile":"3006ad70-48b0-4ba9-b190-900f6ed3b197","part_adaptmx":1,"site_adform_server":0,"site_connectad_ATF":null,"site_connectad_BTF":null,"site_connectad_FS":null,"site_teads_US":null,"site_onetag":1,"site_adagio":"104906-new-challenge123-com","site_triplelift":2,"site_triplelift_premium":null,"site_theme":12,"site_true_url":"https:\/\/new-challenge123.com","site_capping":50,"site_capping_interstitial":1,"site_ogury":null,"site_ogury_corner":null,"site_ogury_FS":null,"theme_name_english":"news","subtheme_name_english":"Other","part_teads":0,"part_adyoulike":1,"part_triplelift":2,"part_sharethrough":1,"part_smilewanted":1,"site_confiant":0,"part_connectad":0,"part_feedad":0,"part_impactify":0,"part_oftmedia_skin":0,"part_oftmedia":-1,"part_33across":0,"form_gumgum":null,"part_gumgum":0,"zone_gumgum":null,"form_missena":"PA-96372155","part_missena":1,"part_pbs_themoneytizer":0,"ms_magnite_site_id":535548,"ms_zone_ATF":3295820,"ms_zone_BTF":3295822,"ms_zone_FS":3295824,"ms_zone_IT":3295826,"ms_zone_CORNER":3295828,"ms_zone_INTERSTITIAL":3295830,"part_sparteo":0,"ad_nexxen":"279158","ad_nexxen_mobile":"279161","part_nexxen":0,"site_keyword_adagio":"learning"},"45111":{"tft_placement_id":154591,"tft_page_id":140857,"tft_placement_id_us":180776,"tft_page_id_us":166006,"site_bluerooster_interstitial":null,"site_ssp_pass":0,"site_cmp":2,"site_cnil":0,"user_id":96842,"user_plateform":"jp","ad_id":11,"ad_adform":null,"ad_adform_doublon":null,"ad_triplelift_id":"MoneyTizer_InText_HDX_1","ad_triplelift_id_doublon":"MoneyTizer_InText_HDX_2","ad_triplelift_id_native":"MoneyTizer_InText_300x250_HDX_1_native","ad_triplelift_id_native_doublon":"MoneyTizer_InText_300x250_HDX_2","ad_triplelift_id_premium":"Publisher_Top_Performance_In_Text_300x250","ad_triplelift_id_premium_doublon":"Publisher_Top_Performance_2_In_Text_300x250","ad_triplelift_id_premium_mobile":null,"ad_triplelift_id_premium_doublon_mobile":null,"ad_sharethrough_desktop":"kYuQrfHq83XrGwTdkKAdbVhX","ad_adyoulike":"0fbbb0ae876b363546f57ab00e82fcd3","ad_adyoulike_doublon":"915e1c757352e36158d4b445cb3fd9a4","ad_adyoulike_mobile":null,"ad_adyoulike_doublon_mobile":null,"part_beop":0,"ad_33across":"andN_Kzaer7ikjrkHcnnVW","ad_33across_doublon":"cG2HfWzcqr7ikjrkHcnnVW","ad_33across_doublon_mobile":null,"ad_33across_mobile":null,"ad_sharethrough_mobile":null,"part_yieldone":0,"form_yieldone":null,"form_yieldone_mobile":null,"ad_sharethrough_desktop_doublon":"h1m2FtYPwG7bSmrVDwq1pxuM","ad_sharethrough_mobile_doublon":null,"form_rtb_floor":null,"form_id":527625,"form_ad_id":11,"form_freewheel":null,"form_freewheel_mobile":null,"ad_lucead_mobile":null,"ad_lucead":null,"part_freewheel":0,"form_richaudience":"Lxc17I1VyI","form_richaudience_mobile":null,"form_richaudience2":null,"form_richaudience_mobile2":null,"form_smilewanted":null,"form_custom_display":0,"form_id_rubicon":null,"part_rubicon":1,"form_between":null,"part_between":1,"part_kueez":0,"ad_kueez":"66a90ce7d0a029f5c2321abe","ad_kueez_mobile":null,"ad_kueez_doublon":"66a90cfd0b9c7a3c23be7a33","ad_kueez_mobile_doublon":null,"part_rise":0,"form_custom_placement":null,"tag_sovrn":null,"tag_sovrn_mobile":null,"part_sovrn":2,"tag_adyoulike":null,"part_bidgency":0,"part_brave":0,"ad_brave":null,"ad_brave_mobile":null,"ad_trustedstack_mobile":null,"ad_trustedstack":"809222522","part_trustedstack":0,"tag_adyoulike_mobile":null,"tag_adyoulike_mobile_RON":null,"site_yandex":null,"ad_yandex_imp_id":null,"ad_yandex_imp_id_mobile":null,"part_yandex":0,"tag_improve":"22904096","tag_improve2":null,"tag_improve3":22904101,"tag_justpremium":null,"ad_smart_id":45111,"site_id":104906,"site_id_smart":"567966\/1722151","site_novideo":0,"part_ogury":0,"part_criteo":1,"form_criteo":"1630069","form_criteo_mobile":null,"part_improve":1,"part_eplanning":0,"site_forced_cmp":0,"site_pubstack":"38769e8f-b5c3-4418-84a0-6aaed77453cb","site_responsive":1,"site_blocklist":0,"site_id_rubicon_ATF":1078232,"site_id_rubicon_MTF":null,"site_id_rubicon_BTF":1078316,"site_doublon":null,"site_rtbhouse_asia":1,"site_ads_txt":26,"site_id_rubicon_FS":1124634,"site_nobid":null,"site_nobid_ATF":null,"site_nobid_BTF":null,"site_nobid_FS":null,"part_nobid":0,"form_pubmatic":null,"site_adform":0,"site_openx_ATF":559248291,"site_openx_BTF":559248292,"site_openx_FS":559248288,"site_openx_corner":null,"site_oftmedia_ATF":null,"site_oftmedia_BTF":null,"site_oftmedia_FS":null,"part_seedtag":0,"site_seedtag":null,"form_seedtag":null,"site_oftmedia_IT":null,"site_blueroostermedia_ATF":null,"site_blueroostermedia_BTF":null,"site_blueroostermedia_FS":null,"site_blueroostermedia_IT":null,"site_blueroostermedia_old_ATF":null,"site_blueroostermedia_old_BTF":null,"site_blueroostermedia_old_FS":null,"part_richaudience":1,"part_vidoomy":0,"form_vidoomy":null,"form_vidoomy_mobile":null,"form_triplelift":null,"form_triplelift_mobile":null,"part_pubmatic":-1,"part_openx":1,"site_adtelligent_ATF":null,"site_adtelligent_BTF":null,"site_adtelligent_FS":null,"site_intext_lazyloaded":null,"site_adtelligent_IT":null,"site_adtelligent_interstitial":null,"site_gingerad_ATF":null,"site_gingerad_BTF":null,"site_gingerad_FS":null,"site_gingerad_IT":null,"site_gingerad_inter":null,"part_gingerad":0,"part_blueroostermedia":1,"part_blueroostermedia_magnite":1,"part_zemanta":1,"part_onetag":1,"part_adtelligent":0,"part_videoheroes":0,"ad_videoheroes":null,"ad_videoheroes_mobile":null,"part_admixer":0,"ad_admixer":null,"ad_admixer_mobile":null,"ad_admixer_doublon":null,"ad_admixer_doublon_mobile":null,"part_adaptmx":1,"site_adform_server":0,"site_connectad_ATF":null,"site_connectad_BTF":null,"site_connectad_FS":null,"site_teads_US":null,"site_onetag":1,"site_adagio":"104906-new-challenge123-com","site_triplelift":2,"site_triplelift_premium":null,"site_theme":12,"site_true_url":"https:\/\/new-challenge123.com","site_capping":50,"site_capping_interstitial":1,"site_ogury":null,"site_ogury_corner":null,"site_ogury_FS":null,"theme_name_english":"news","subtheme_name_english":"Other","part_teads":0,"part_adyoulike":1,"part_triplelift":2,"part_sharethrough":1,"part_smilewanted":1,"site_confiant":0,"part_connectad":0,"part_feedad":0,"part_impactify":0,"part_oftmedia_skin":0,"part_oftmedia":-1,"part_33across":0,"form_gumgum":null,"part_gumgum":0,"zone_gumgum":null,"form_missena":null,"part_missena":1,"part_pbs_themoneytizer":0,"ms_magnite_site_id":535548,"ms_zone_ATF":3295820,"ms_zone_BTF":3295822,"ms_zone_FS":3295824,"ms_zone_IT":3295826,"ms_zone_CORNER":3295828,"ms_zone_INTERSTITIAL":3295830,"part_sparteo":0,"ad_nexxen":null,"ad_nexxen_mobile":null,"part_nexxen":0,"site_keyword_adagio":"learning"},"26326":{"tft_placement_id":null,"tft_page_id":null,"tft_placement_id_us":null,"tft_page_id_us":null,"site_bluerooster_interstitial":null,"site_ssp_pass":0,"site_cmp":2,"site_cnil":0,"user_id":96842,"user_plateform":"jp","ad_id":16,"ad_adform":null,"ad_adform_doublon":null,"ad_triplelift_id":null,"ad_triplelift_id_doublon":null,"ad_triplelift_id_native":null,"ad_triplelift_id_native_doublon":null,"ad_triplelift_id_premium":null,"ad_triplelift_id_premium_doublon":null,"ad_triplelift_id_premium_mobile":null,"ad_triplelift_id_premium_doublon_mobile":null,"ad_sharethrough_desktop":null,"ad_adyoulike":null,"ad_adyoulike_doublon":null,"ad_adyoulike_mobile":null,"ad_adyoulike_doublon_mobile":null,"part_beop":0,"ad_33across":null,"ad_33across_doublon":null,"ad_33across_doublon_mobile":null,"ad_33across_mobile":null,"ad_sharethrough_mobile":null,"part_yieldone":0,"form_yieldone":null,"form_yieldone_mobile":null,"ad_sharethrough_desktop_doublon":null,"ad_sharethrough_mobile_doublon":null,"form_rtb_floor":null,"form_id":527626,"form_ad_id":16,"form_freewheel":null,"form_freewheel_mobile":null,"ad_lucead_mobile":null,"ad_lucead":null,"part_freewheel":0,"form_richaudience":null,"form_richaudience_mobile":null,"form_richaudience2":null,"form_richaudience_mobile2":null,"form_smilewanted":null,"form_custom_display":0,"form_id_rubicon":null,"part_rubicon":1,"form_between":null,"part_between":1,"part_kueez":0,"ad_kueez":null,"ad_kueez_mobile":null,"ad_kueez_doublon":null,"ad_kueez_mobile_doublon":null,"part_rise":0,"form_custom_placement":null,"tag_sovrn":null,"tag_sovrn_mobile":null,"part_sovrn":2,"tag_adyoulike":null,"part_bidgency":0,"part_brave":0,"ad_brave":null,"ad_brave_mobile":null,"ad_trustedstack_mobile":null,"ad_trustedstack":null,"part_trustedstack":0,"tag_adyoulike_mobile":null,"tag_adyoulike_mobile_RON":null,"site_yandex":null,"ad_yandex_imp_id":null,"ad_yandex_imp_id_mobile":null,"part_yandex":0,"tag_improve":null,"tag_improve2":null,"tag_improve3":null,"tag_justpremium":null,"ad_smart_id":26326,"site_id":104906,"site_id_smart":"567966\/1722151","site_novideo":0,"part_ogury":0,"part_criteo":1,"form_criteo":null,"form_criteo_mobile":null,"part_improve":1,"part_eplanning":0,"site_forced_cmp":0,"site_pubstack":"38769e8f-b5c3-4418-84a0-6aaed77453cb","site_responsive":1,"site_blocklist":0,"site_id_rubicon_ATF":1078232,"site_id_rubicon_MTF":null,"site_id_rubicon_BTF":1078316,"site_doublon":null,"site_rtbhouse_asia":1,"site_ads_txt":26,"site_id_rubicon_FS":1124634,"site_nobid":null,"site_nobid_ATF":null,"site_nobid_BTF":null,"site_nobid_FS":null,"part_nobid":0,"form_pubmatic":null,"site_adform":0,"site_openx_ATF":559248291,"site_openx_BTF":559248292,"site_openx_FS":559248288,"site_openx_corner":null,"site_oftmedia_ATF":null,"site_oftmedia_BTF":null,"site_oftmedia_FS":null,"part_seedtag":0,"site_seedtag":null,"form_seedtag":null,"site_oftmedia_IT":null,"site_blueroostermedia_ATF":null,"site_blueroostermedia_BTF":null,"site_blueroostermedia_FS":null,"site_blueroostermedia_IT":null,"site_blueroostermedia_old_ATF":null,"site_blueroostermedia_old_BTF":null,"site_blueroostermedia_old_FS":null,"part_richaudience":1,"part_vidoomy":0,"form_vidoomy":null,"form_vidoomy_mobile":null,"form_triplelift":null,"form_triplelift_mobile":null,"part_pubmatic":-1,"part_openx":1,"site_adtelligent_ATF":null,"site_adtelligent_BTF":null,"site_adtelligent_FS":null,"site_intext_lazyloaded":null,"site_adtelligent_IT":null,"site_adtelligent_interstitial":null,"site_gingerad_ATF":null,"site_gingerad_BTF":null,"site_gingerad_FS":null,"site_gingerad_IT":null,"site_gingerad_inter":null,"part_gingerad":0,"part_blueroostermedia":1,"part_blueroostermedia_magnite":1,"part_zemanta":1,"part_onetag":1,"part_adtelligent":0,"part_videoheroes":0,"ad_videoheroes":null,"ad_videoheroes_mobile":null,"part_admixer":0,"ad_admixer":null,"ad_admixer_mobile":null,"ad_admixer_doublon":null,"ad_admixer_doublon_mobile":null,"part_adaptmx":1,"site_adform_server":0,"site_connectad_ATF":null,"site_connectad_BTF":null,"site_connectad_FS":null,"site_teads_US":null,"site_onetag":1,"site_adagio":"104906-new-challenge123-com","site_triplelift":2,"site_triplelift_premium":null,"site_theme":12,"site_true_url":"https:\/\/new-challenge123.com","site_capping":50,"site_capping_interstitial":1,"site_ogury":null,"site_ogury_corner":null,"site_ogury_FS":null,"theme_name_english":"news","subtheme_name_english":"Other","part_teads":0,"part_adyoulike":1,"part_triplelift":2,"part_sharethrough":1,"part_smilewanted":1,"site_confiant":0,"part_connectad":0,"part_feedad":0,"part_impactify":0,"part_oftmedia_skin":0,"part_oftmedia":-1,"part_33across":0,"form_gumgum":null,"part_gumgum":0,"zone_gumgum":null,"form_missena":null,"part_missena":1,"part_pbs_themoneytizer":0,"ms_magnite_site_id":535548,"ms_zone_ATF":3295820,"ms_zone_BTF":3295822,"ms_zone_FS":3295824,"ms_zone_IT":3295826,"ms_zone_CORNER":3295828,"ms_zone_INTERSTITIAL":3295830,"part_sparteo":0,"ad_nexxen":null,"ad_nexxen_mobile":null,"part_nexxen":0,"site_keyword_adagio":"learning"},"35757":{"tft_placement_id":164748,"tft_page_id":150546,"tft_placement_id_us":180781,"tft_page_id_us":166011,"site_bluerooster_interstitial":null,"site_ssp_pass":0,"site_cmp":2,"site_cnil":0,"user_id":96842,"user_plateform":"jp","ad_id":30,"ad_adform":null,"ad_adform_doublon":null,"ad_triplelift_id":null,"ad_triplelift_id_doublon":null,"ad_triplelift_id_native":null,"ad_triplelift_id_native_doublon":null,"ad_triplelift_id_premium":null,"ad_triplelift_id_premium_doublon":null,"ad_triplelift_id_premium_mobile":null,"ad_triplelift_id_premium_doublon_mobile":null,"ad_sharethrough_desktop":null,"ad_adyoulike":null,"ad_adyoulike_doublon":null,"ad_adyoulike_mobile":null,"ad_adyoulike_doublon_mobile":null,"part_beop":0,"ad_33across":null,"ad_33across_doublon":null,"ad_33across_doublon_mobile":null,"ad_33across_mobile":null,"ad_sharethrough_mobile":null,"part_yieldone":0,"form_yieldone":null,"form_yieldone_mobile":null,"ad_sharethrough_desktop_doublon":null,"ad_sharethrough_mobile_doublon":null,"form_rtb_floor":null,"form_id":527631,"form_ad_id":30,"form_freewheel":null,"form_freewheel_mobile":null,"ad_lucead_mobile":null,"ad_lucead":null,"part_freewheel":0,"form_richaudience":null,"form_richaudience_mobile":null,"form_richaudience2":null,"form_richaudience_mobile2":null,"form_smilewanted":null,"form_custom_display":0,"form_id_rubicon":null,"part_rubicon":1,"form_between":4650879,"part_between":1,"part_kueez":0,"ad_kueez":null,"ad_kueez_mobile":null,"ad_kueez_doublon":null,"ad_kueez_mobile_doublon":null,"part_rise":0,"form_custom_placement":null,"tag_sovrn":null,"tag_sovrn_mobile":null,"part_sovrn":2,"tag_adyoulike":null,"part_bidgency":0,"part_brave":0,"ad_brave":null,"ad_brave_mobile":null,"ad_trustedstack_mobile":null,"ad_trustedstack":null,"part_trustedstack":0,"tag_adyoulike_mobile":null,"tag_adyoulike_mobile_RON":null,"site_yandex":null,"ad_yandex_imp_id":null,"ad_yandex_imp_id_mobile":null,"part_yandex":0,"tag_improve":"22904095","tag_improve2":null,"tag_improve3":22904100,"tag_justpremium":null,"ad_smart_id":35757,"site_id":104906,"site_id_smart":"567966\/1722151","site_novideo":0,"part_ogury":0,"part_criteo":1,"form_criteo":null,"form_criteo_mobile":null,"part_improve":1,"part_eplanning":0,"site_forced_cmp":0,"site_pubstack":"38769e8f-b5c3-4418-84a0-6aaed77453cb","site_responsive":1,"site_blocklist":0,"site_id_rubicon_ATF":1078232,"site_id_rubicon_MTF":null,"site_id_rubicon_BTF":1078316,"site_doublon":null,"site_rtbhouse_asia":1,"site_ads_txt":26,"site_id_rubicon_FS":1124634,"site_nobid":null,"site_nobid_ATF":null,"site_nobid_BTF":null,"site_nobid_FS":null,"part_nobid":0,"form_pubmatic":null,"site_adform":0,"site_openx_ATF":559248291,"site_openx_BTF":559248292,"site_openx_FS":559248288,"site_openx_corner":null,"site_oftmedia_ATF":null,"site_oftmedia_BTF":null,"site_oftmedia_FS":null,"part_seedtag":0,"site_seedtag":null,"form_seedtag":null,"site_oftmedia_IT":null,"site_blueroostermedia_ATF":null,"site_blueroostermedia_BTF":null,"site_blueroostermedia_FS":null,"site_blueroostermedia_IT":null,"site_blueroostermedia_old_ATF":null,"site_blueroostermedia_old_BTF":null,"site_blueroostermedia_old_FS":null,"part_richaudience":1,"part_vidoomy":0,"form_vidoomy":null,"form_vidoomy_mobile":null,"form_triplelift":null,"form_triplelift_mobile":null,"part_pubmatic":-1,"part_openx":1,"site_adtelligent_ATF":null,"site_adtelligent_BTF":null,"site_adtelligent_FS":null,"site_intext_lazyloaded":null,"site_adtelligent_IT":null,"site_adtelligent_interstitial":null,"site_gingerad_ATF":null,"site_gingerad_BTF":null,"site_gingerad_FS":null,"site_gingerad_IT":null,"site_gingerad_inter":null,"part_gingerad":0,"part_blueroostermedia":1,"part_blueroostermedia_magnite":1,"part_zemanta":1,"part_onetag":1,"part_adtelligent":0,"part_videoheroes":0,"ad_videoheroes":null,"ad_videoheroes_mobile":null,"part_admixer":0,"ad_admixer":null,"ad_admixer_mobile":null,"ad_admixer_doublon":null,"ad_admixer_doublon_mobile":null,"part_adaptmx":1,"site_adform_server":0,"site_connectad_ATF":null,"site_connectad_BTF":null,"site_connectad_FS":null,"site_teads_US":null,"site_onetag":1,"site_adagio":"104906-new-challenge123-com","site_triplelift":2,"site_triplelift_premium":null,"site_theme":12,"site_true_url":"https:\/\/new-challenge123.com","site_capping":50,"site_capping_interstitial":1,"site_ogury":null,"site_ogury_corner":null,"site_ogury_FS":null,"theme_name_english":"news","subtheme_name_english":"Other","part_teads":0,"part_adyoulike":1,"part_triplelift":2,"part_sharethrough":1,"part_smilewanted":1,"site_confiant":0,"part_connectad":0,"part_feedad":0,"part_impactify":0,"part_oftmedia_skin":0,"part_oftmedia":-1,"part_33across":0,"form_gumgum":null,"part_gumgum":0,"zone_gumgum":null,"form_missena":null,"part_missena":1,"part_pbs_themoneytizer":0,"ms_magnite_site_id":535548,"ms_zone_ATF":3295820,"ms_zone_BTF":3295822,"ms_zone_FS":3295824,"ms_zone_IT":3295826,"ms_zone_CORNER":3295828,"ms_zone_INTERSTITIAL":3295830,"part_sparteo":0,"ad_nexxen":null,"ad_nexxen_mobile":null,"part_nexxen":0,"site_keyword_adagio":"learning"},"79570":{"tft_placement_id":null,"tft_page_id":null,"tft_placement_id_us":null,"tft_page_id_us":null,"site_bluerooster_interstitial":null,"site_ssp_pass":0,"site_cmp":2,"site_cnil":0,"user_id":96842,"user_plateform":"jp","ad_id":39,"ad_adform":null,"ad_adform_doublon":null,"ad_triplelift_id":null,"ad_triplelift_id_doublon":null,"ad_triplelift_id_native":null,"ad_triplelift_id_native_doublon":null,"ad_triplelift_id_premium":null,"ad_triplelift_id_premium_doublon":null,"ad_triplelift_id_premium_mobile":null,"ad_triplelift_id_premium_doublon_mobile":null,"ad_sharethrough_desktop":null,"ad_adyoulike":null,"ad_adyoulike_doublon":null,"ad_adyoulike_mobile":null,"ad_adyoulike_doublon_mobile":null,"part_beop":0,"ad_33across":null,"ad_33across_doublon":null,"ad_33across_doublon_mobile":null,"ad_33across_mobile":null,"ad_sharethrough_mobile":null,"part_yieldone":0,"form_yieldone":null,"form_yieldone_mobile":null,"ad_sharethrough_desktop_doublon":null,"ad_sharethrough_mobile_doublon":null,"form_rtb_floor":null,"form_id":527633,"form_ad_id":39,"form_freewheel":null,"form_freewheel_mobile":null,"ad_lucead_mobile":null,"ad_lucead":null,"part_freewheel":0,"form_richaudience":null,"form_richaudience_mobile":null,"form_richaudience2":null,"form_richaudience_mobile2":null,"form_smilewanted":null,"form_custom_display":0,"form_id_rubicon":null,"part_rubicon":1,"form_between":null,"part_between":1,"part_kueez":0,"ad_kueez":null,"ad_kueez_mobile":null,"ad_kueez_doublon":null,"ad_kueez_mobile_doublon":null,"part_rise":0,"form_custom_placement":null,"tag_sovrn":null,"tag_sovrn_mobile":null,"part_sovrn":2,"tag_adyoulike":null,"part_bidgency":0,"part_brave":0,"ad_brave":null,"ad_brave_mobile":null,"ad_trustedstack_mobile":null,"ad_trustedstack":null,"part_trustedstack":0,"tag_adyoulike_mobile":null,"tag_adyoulike_mobile_RON":null,"site_yandex":null,"ad_yandex_imp_id":null,"ad_yandex_imp_id_mobile":null,"part_yandex":0,"tag_improve":null,"tag_improve2":null,"tag_improve3":null,"tag_justpremium":null,"ad_smart_id":79570,"site_id":104906,"site_id_smart":"567966\/1722151","site_novideo":0,"part_ogury":0,"part_criteo":1,"form_criteo":null,"form_criteo_mobile":null,"part_improve":1,"part_eplanning":0,"site_forced_cmp":0,"site_pubstack":"38769e8f-b5c3-4418-84a0-6aaed77453cb","site_responsive":1,"site_blocklist":0,"site_id_rubicon_ATF":1078232,"site_id_rubicon_MTF":null,"site_id_rubicon_BTF":1078316,"site_doublon":null,"site_rtbhouse_asia":1,"site_ads_txt":26,"site_id_rubicon_FS":1124634,"site_nobid":null,"site_nobid_ATF":null,"site_nobid_BTF":null,"site_nobid_FS":null,"part_nobid":0,"form_pubmatic":null,"site_adform":0,"site_openx_ATF":559248291,"site_openx_BTF":559248292,"site_openx_FS":559248288,"site_openx_corner":null,"site_oftmedia_ATF":null,"site_oftmedia_BTF":null,"site_oftmedia_FS":null,"part_seedtag":0,"site_seedtag":null,"form_seedtag":null,"site_oftmedia_IT":null,"site_blueroostermedia_ATF":null,"site_blueroostermedia_BTF":null,"site_blueroostermedia_FS":null,"site_blueroostermedia_IT":null,"site_blueroostermedia_old_ATF":null,"site_blueroostermedia_old_BTF":null,"site_blueroostermedia_old_FS":null,"part_richaudience":1,"part_vidoomy":0,"form_vidoomy":null,"form_vidoomy_mobile":null,"form_triplelift":null,"form_triplelift_mobile":null,"part_pubmatic":-1,"part_openx":1,"site_adtelligent_ATF":null,"site_adtelligent_BTF":null,"site_adtelligent_FS":null,"site_intext_lazyloaded":null,"site_adtelligent_IT":null,"site_adtelligent_interstitial":null,"site_gingerad_ATF":null,"site_gingerad_BTF":null,"site_gingerad_FS":null,"site_gingerad_IT":null,"site_gingerad_inter":null,"part_gingerad":0,"part_blueroostermedia":1,"part_blueroostermedia_magnite":1,"part_zemanta":1,"part_onetag":1,"part_adtelligent":0,"part_videoheroes":0,"ad_videoheroes":null,"ad_videoheroes_mobile":null,"part_admixer":0,"ad_admixer":null,"ad_admixer_mobile":null,"ad_admixer_doublon":null,"ad_admixer_doublon_mobile":null,"part_adaptmx":1,"site_adform_server":0,"site_connectad_ATF":null,"site_connectad_BTF":null,"site_connectad_FS":null,"site_teads_US":null,"site_onetag":1,"site_adagio":"104906-new-challenge123-com","site_triplelift":2,"site_triplelift_premium":null,"site_theme":12,"site_true_url":"https:\/\/new-challenge123.com","site_capping":50,"site_capping_interstitial":1,"site_ogury":null,"site_ogury_corner":null,"site_ogury_FS":null,"theme_name_english":"news","subtheme_name_english":"Other","part_teads":0,"part_adyoulike":1,"part_triplelift":2,"part_sharethrough":1,"part_smilewanted":1,"site_confiant":0,"part_connectad":0,"part_feedad":0,"part_impactify":0,"part_oftmedia_skin":0,"part_oftmedia":-1,"part_33across":0,"form_gumgum":null,"part_gumgum":0,"zone_gumgum":null,"form_missena":null,"part_missena":1,"part_pbs_themoneytizer":0,"ms_magnite_site_id":535548,"ms_zone_ATF":3295820,"ms_zone_BTF":3295822,"ms_zone_FS":3295824,"ms_zone_IT":3295826,"ms_zone_CORNER":3295828,"ms_zone_INTERSTITIAL":3295830,"part_sparteo":0,"ad_nexxen":null,"ad_nexxen_mobile":null,"part_nexxen":0,"site_keyword_adagio":"learning"}}; window._qevents = window._qevents || []; (function() { var elem = document.createElement('script'); elem.src = "https://secure.quantserve.com/quant.js"; elem.async = true; elem.type = "text/javascript"; var scpt = document.getElementsByTagName('script')[0]; scpt.parentNode.insertBefore(elem, scpt); })(); window._qevents.push({ qacct:"p-6Fv0cGNfc_bw8", labels:"Categories.news" }); var website = (window.location != window.parent.location) ? document.referrer: document.location.href; params = { "cat":"news", "sscat":"Other" }; (function(c,a,p,t,i,f,y){i=c.createElement(a);t=c.getElementsByTagName(a)[0];i.type='text/javascript';i.async=true;i.src=p;t.parentNode.insertBefore(i,t);})(document,'script','https://p.cpx.to/p/12761/px.js'); var random = Math.floor(Math.random() * 10); if(random == 1){ var pubstack = document.createElement("script"); pubstack.setAttribute("type", "text/javascript"); pubstack.setAttribute("src","https://boot.pbstck.com/v1/tag/38769e8f-b5c3-4418-84a0-6aaed77453cb"); pubstack.setAttribute("async", "true"); var target = document.getElementsByTagName('head')[0]; target.appendChild(pubstack); } var notifyme = document.createElement("script"); notifyme.setAttribute("type", "text/javascript"); notifyme.setAttribute("async", "true"); notifyme.setAttribute("src", "https://adtrack.adleadevent.com/mailNotification.php?st=a96081b6-db78-48c4-9f82-b93e316fb1f7"); var headelement = document.getElementsByTagName('head')[0]; headelement.appendChild(notifyme); // var ix_lib = document.createElement("script"); // ix_lib.setAttribute("type", "text/javascript"); // ix_lib.setAttribute("src","https://js-sec.indexww.com/ht/p/186329-261067657875242.js"); // ix_lib.setAttribute("async", "true"); // document.getElementsByTagName('head')[0].appendChild(ix_lib); var nugg = 1; var tmzr = (typeof tmzr != "undefined")? tmzr : {} ; tmzr.que = tmzr.que || []; var d = document, pbs = d.createElement('script'); pbs.setAttribute("type","text/javascript"); pbs.setAttribute("src","https://tmzr.themoneytizer.fr/v9.6.0u2.0.12/e81cac51490f4e5f3ebdb659af97d878/prebid.js"); pbs.onerror = function() { tmzrScriptErrorHandler("https://cdn.themoneytizer.fr/ads/moneybid9_16/build/dist/prebid.js"); }; pbs.setAttribute("async", "true"); var target = document.getElementsByTagName('head')[0]; target.insertBefore(pbs, target.firstChild); var format_size = {"30":[[728,90],[320,100],[300,100]],"1":[[728,90]],"2":[[300,250],[300,168]],"3":[[300,600],[300,250]],"4":[[120,600]],"19":[[300,250],[300,168]],"20":[[160,600]],"26":[[300,250]],"28":[[728,90]],"15":[[250,300],[336,280],[320,50],[300,100],[320,480],[300,50],[320,100]],"31":[[970,250],[800,250],[950,250],[900,250],[970,90]],"35":[[160,600]],"11":[[640,320]]}; var format_size_ix = {"30":[[728,90],[320,100]],"1":[728,90],"2":[300,250],"3":[300,600],"4":[120,600],"19":[300,250],"20":[160,600],"26":[300,250],"28":[728,90],"15":[300,100],"31":[970,250],"36":[728,90],"35":[160,600],"11":[640,480],"6":[728,90],"5":[1800,1000]}; var format_w_adform = {"1":728,"2":300,"3":300,"4":120,"19":300,"20":160,"26":300,"28":728,"15":300,"31":970,"36":728,"35":160,"11":300,"6":728,"5":1800}; var format_h_adform = {"1":90,"2":250,"3":600,"4":600,"19":250,"20":600,"26":250,"28":90,"15":250,"31":250,"36":90,"35":600,"11":600,"6":90,"5":1000}; var format_size_rubicon = {"26322":"2","26300":"15","26323":"10,15","26324":"8","26711":"15","26706":"9","28108":"15","30012":"2","39287":"57","50677":"9","26325":"68"}; var between_w = {"1":"728","2":"300","3":"300","4":"120","6":"728","31":"970","20":"160","19":"300","28":"728"}; var between_h = {"1":"90","2":"250","3":"600","4":"600","6":"90","31":"250","20":"600","19":"250","28":"90"}; function GetMobileDesktop() { if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ return "mobile"; } else { return "desktop"; } } function GetMobileDesktopId(mobile, desktop) { if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ return mobile; } else { return desktop; } } function GetRichAudienceZone(format,desktop,mobile){ if(format == 1 || format == 28 || format == 6 || format == 31){ if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var ra_zone = mobile; }else{ var ra_zone = desktop; } }else{ var ra_zone = desktop; } return ra_zone; } function GetmnameAdform(format,mname){ if((format == 1 || format == 28 || format == 31 || format == 6) && (navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i))){ var name = "f"+mname+"m"; }else{ var name = "f"+mname; } return name } function GetwAdform(format){ if(format == 1 || format == 28){ if(navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = 320; }else{ var my_sizes = 728; } }else if(format == 31){ if(navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = 300; }else{ var my_sizes = 970; } } else if(format == 30){ if(navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = [[320,100],[300,100]] }else{ var my_sizes = [[728, 90], [320, 100], [300, 100]]; } } else if(format == 6){ if(navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = 320; }else{ var my_sizes = 728; } }else{ var my_sizes = format_w_adform[format]; } return my_sizes; } function GethAdform(format){ if(format == 1 || format == 28){ if(navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = 100; }else{ var my_sizes = 90; } }else if(format == 31){ if(navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = 250; }else{ var my_sizes = 250; } }else if(format == 6){ if(navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = 100; }else{ var my_sizes = 90; } }else{ var my_sizes = format_h_adform[format]; } return my_sizes; } function GetsizeTriplelift(format,custom_footer){ if(format == 6){ if(navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = [[1,1],[320,50],[300,50],[320,100],[300,100]]; }else{ if(custom_footer == 1){ var my_sizes = [[1,1],[728,90],[728,250],[970,90],[1000,90],[1000,30],[990,90],[950,90]]; }else{ var my_sizes = [[1,1],[728,90],[728,250],[970,90],[1000,90],[1000,30],[990,90],[950,90],[300,250]]; } } } return my_sizes; } function Getsize(format,custom_footer){ var custom_footer = custom_footer || 0; if(format == 1 || format == 28){ if(navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = [[320,50],[300,50],[320,100],[300,100]]; }else{ var my_sizes = [[728,90],[320,50],[300,50],[320,100],[300,100]]; } }else if(format == 31){ if(navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = [[300,250]]; }else{ var my_sizes = [[970, 250],[1000, 30],[1000, 90],[800, 250],[950, 250],[900, 250],[970, 90]]; } }else if(format == 6){ if(navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = [[1,1],[320,50],[300,50],[320,100],[300,100]]; }else{ if(custom_footer == 1){ var my_sizes = [[1,1],[728,90],[970,90],[1000,90],[1000,30],[990,90],[950,90]]; }else{ var my_sizes = [[1,1],[728,90],[970,90],[1000,90],[1000,30],[990,90],[950,90],[300,250]]; } } }else if(format == 15){ if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = [[300,50],[320, 50],[300, 250],[320, 480],[480, 320],[320, 400],[1, 1]]; }else{ var my_sizes = [[300, 250],[1024, 768],[300, 600],[336, 280],[320, 400],[750, 300],[950, 250],[250, 250],[400, 400],[1, 1]]; } }else{ var my_sizes = format_size[format]; } return my_sizes; } function GetsizeRubicon(format){ if(format == 26322 || format == 30012){ if(navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = [43,67,44,59,117,16]; return my_size }else{ var my_sizes = [2,43,67,44,59,117,16]; } }else if(format == 39287){ if(navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = '15'; }else{ var my_sizes = [15,57,55,56,116,125]; } }else{ var my_sizes = format_size_rubicon[format]; } return [my_size]; } tmzr.que.push(function(){ window.bidder_geo = 0; //tmzr.aliasBidder("criteo", "missenanative", {gvlid: 91}); const PUBLISHER_MISSENA_TOKEN = 'PA-96372155'; const MISSENA_NATIVE_NETWORK_ID = '10593'; const MISSENA_NATIVE_ZONE_ID = '1628646'; const MISSENA_NATIVE_PUBLISHER_SUB_ID = 'PA-96372155:criteo-prebid-native'; var videoAdUnit = [ { code: 'video', ortb2Imp: { ext: { gpid: "/104906/new-challenge123.com/" + GetMobileDesktop() + "/45111", data: { placement: "11", divId: "sas_45111", pbadslot: "sas_45111" } } }, mediaTypes: { video: { sizes: [ [300, 250], [300, 600], [300, 50], [355, 50], [640, 480] ] }, banner: { sizes: [ [300, 250], [300, 600], [300, 50], [355, 50], [640, 480] ] }, video: { context: 'outstream', playerSize: [640, 480], mimes: ['video/mp4', 'video/x-ms-wmv'], protocols: [2,3,5,6], api: [2], maxduration:30, linearity: 1, }, }, bids: [ ]}, { code: 'video', ortb2Imp: { ext: { gpid: "/104906/new-challenge123.com/" + GetMobileDesktop() + "/45111", data: { placement: "11", divId: "sas_45111", pbadslot: "sas_45111" } } }, sizes: [ [300, 250], [300, 600], [300, 50], [355, 50], [640, 480] ], mediaTypes: { banner: { sizes: [ [300, 250], [300, 600], [300, 50], [355, 50], [640, 480] ] }, }, bids: [ {bidder: 'moneytizer', params:{ siteId:104906, adId:11, env:GetMobileDesktop() } }, { bidder: 'adform', params: { inv: 2623, mname: GetmnameAdform('11','527625'), pdom: 'new-challenge123.com', priceType: 'net', rcur:'USD', adxDomain: 'adx3.adform.com', w:GetwAdform('11'), h:GethAdform('11') } }, { bidder: "onetag", params: { pubId: "2a897e3f18e6769", ext: { placement_name: '45111_104906' } } }, { bidder: 'amx', params: { tagId: "dGhlbW9uZXl0aXplci5jb20", adUnitId : "104906-11" } }, { bidder: "smilewanted", params: { zoneId: "themoneytizer.com_header_bidding_display" } }, { bidder: 'richaudience', params: { pid:"Lxc17I1VyI", supplyType:"site", player: { init: "open", end: "close", skin: "light" } } }, ]}, ] var nativeAdUnit = [] var cornerAdUnit = [] var skinAdUnit = [] var interstitialAdUnit = [] var footerLiteAdUnit = [] var footerAdUnit = [ { code: '26328', ortb2Imp: { ext: { gpid: "/104906/new-challenge123.com/" + GetMobileDesktop() + "/26328", data: { placement: "6", divId: "sas_26328", pbadslot: "sas_iframe_fixed_26328" } } }, sizes: Getsize('6','0'), mediaTypes: { banner: { sizes:Getsize('6','0') } }, bids: [ {bidder: 'moneytizer', params:{ siteId:104906, adId:6, env:GetMobileDesktop() } }, { bidder: "missena", params: { apiKey: 'PA-96372155', }, }, {bidder: 'criteo', params:{ zoneId: GetMobileDesktopId(1630059, 1630054), publisherSubId : '527624', pubid: '7WYFHG' } }, { bidder: 'sharethrough', params: { pkey: GetMobileDesktopId('Uh8Ls2TPFlPGbiy8tcW7hifd', 'uvUcrgH1iI5FR6NxYAaO8zZX').toString(), } }, {bidder: 'openx', params:{ unit: '559248288', delDomain: 'moneytizer-d.openx.net' } }, { bidder: 'amx', params: { tagId: "dGhlbW9uZXl0aXplci5jb20", adUnitId : "104906-6" } }, { bidder: 'adform', params: { inv: 2623, mid: 1868303, pdom: '', priceType: 'net', rcur:'USD', adxDomain: 'adx3.adform.com', w:GetwAdform('6'), h:GethAdform('6') } }, { bidder: 'richaudience', params: { pid:GetRichAudienceZone(6,"jZaJqwrYQo",""), supplyType:"site" } }, { bidder: "smilewanted", params: { zoneId: "themoneytizer.com_header_bidding_display" } }, {bidder: 'adagio', params:{ organizationId: '1015', site: '104906-new-challenge123-com', adUnitElementId: 'sas_26328', placement: '6', splitKeyword: 'learning' } }, { bidder: "onetag", params: { pubId: "2a897e3f18e6769", ext: { placement_name: '26328_104906' } } }, {bidder: 'rubicon', params:{ accountId:'11740', siteId: '38330', zoneId:'1124634', referrer:'https://new-challenge123.com', inventory:{'siteid':104906}, keywords:['104906'], floor: 0.01 } }, ]}, ] isEmpty(nativeAdUnit)&&whenFormatFctDefined(window,"Adcall_48311")&&window.Adcall_48311(),isEmpty(skinAdUnit)&&whenFormatFctDefined(window,"Adcall_26325")&&window.Adcall_26325(),isEmpty(cornerAdUnit)&&whenFormatFctDefined(window,"Adcall_80234")&&window.Adcall_80234(),isEmpty(footerAdUnit)&&whenFormatFctDefined(window,"Adcall_26328")&&window.Adcall_26328(),isEmpty(videoAdUnit)&&whenFormatFctDefined(window,"Adcall_45111")&&window.Adcall_45111(),isEmpty(interstitialAdUnit)&&whenFormatFctDefined(window,"Adcall_26755")&&window.Adcall_26755(); var adUnits = [ { code: '35757', ortb2Imp: { ext: { gpid: "/104906/new-challenge123.com/" + GetMobileDesktop() + "/35757", data: { placement: "30", divId: "sas_35757", pbadslot: "sas_35757" } } }, mediaTypes: { banner: { sizes: Getsize(30) } }, bids: [ {bidder: 'moneytizer', params:{ siteId:104906, adId:30, country: window.bidder_geo, env:GetMobileDesktop() } }, ]}, ]; // Adagio AB test tmzr.addAdUnits(videoAdUnit); tmzr.addAdUnits(nativeAdUnit); tmzr.addAdUnits(cornerAdUnit); tmzr.addAdUnits(skinAdUnit); tmzr.addAdUnits(footerAdUnit); tmzr.addAdUnits(footerLiteAdUnit); tmzr.addAdUnits(adUnits); tmzr.addAdUnits(interstitialAdUnit); window.top.closeButtonDelay = true; if(navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ for (var i = 0; i < tmzr.adUnits.length; i++) { for(var j = tmzr.adUnits[i].bids.length -1; j >= 0 ; j--){ if (tmzr.adUnits[i].bids[j].bidder == "richaudience" && tmzr.adUnits[i].code == "26325") { tmzr.adUnits[i].bids.splice(j, 1); } } } } tmzr.aliasBidder('teads', 'teads_video', {gvlid: 132}); tmzr.aliasBidder('teads', 'teads_display', {gvlid: 132}); tmzr.aliasBidder('teads', 'teads_display2', {gvlid: 132}); tmzr.aliasBidder('appnexus', 'gingerad', {gvlid: 32}); tmzr.bidderSettings = { standard: { storageAllowed: true }, moneytizer: { allowZeroCpmBids: true, }, gingerad: { bidCpmAdjustment: function(bidCpm, bid){ return bidCpm * 0.7; }, storageAllowed: true }, missena: { bidCpmAdjustment: function(bidCpm, bid){ return bidCpm * 1.0542 * 0.92; }, }, //missenanative: { //bidCpmAdjustment: function(bidCpm, bid){ return bidCpm * 1.0542 * 0.5; //}, //}, onetag: { bidCpmAdjustment : function(bidCpm){ return bidCpm * 1.0542*.85; }, }, eplanning: { storageAllowed: true }, adagio: { storageAllowed: true }, oftmedia: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .6; }, }, richaudience: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .9; }, }, blueroostermedia: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .7; }, }, adtelligent: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .9; }, }, '33across': { bidCpmAdjustment: function(bidCpm, bid){ return bidCpm * 0.8; }, }, impactify: { bidCpmAdjustment: function(bidCpm, bid){ return bidCpm * 0.8; }, }, teads: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .9; }, }, blueroostermedia_old: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .7; }, }, adform: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .88; }, }, criteo: { bidCpmAdjustment : function(bidCpm){ return bidCpm * 1.0542; }, }, teads_display: { bidCpmAdjustment : function(bidCpm){ return bidCpm * 1.0542*.83; }, }, teads_video: { bidCpmAdjustment : function(bidCpm){ return bidCpm * 1.0542*.83; }, }, teads_display2: { bidCpmAdjustment : function(bidCpm){ return bidCpm * 1.0542*.83; }, }, standard: { adserverTargeting: [{ key: "hb_bidder", val: function(bidResponse) { if(bidResponse.bidderCode=="rubiconLite"){ return "rubicon"; }else if(bidResponse.bidderCode=="stickyadstv"){ return "stickyads"; }else{ 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*1.22/1.0542; if(bidResponse.adUnitCode == "video" || bidResponse.adUnitCode == "26328" || bidResponse.adUnitCode =="26325" || bidResponse.adUnitCode == "48311"){ if (cpm < 0.02) { return '0.01'; }else if (cpm < 0.03) { return '0.02'; }else 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 < 40.00) { return (Math.floor(cpm * 2) / 2).toFixed(2); } else { return '40.00'; } }else{ return cpm; } } }] } }; tmzr.enableAnalytics({ provider: 'adagio', options: { organizationId: "1015", site: "104906-new-challenge123-com", } } ); tmzr.setConfig({ enableTIDs: true, deviceAccess: true, auctionOptions: { secondaryBidders: ['richaudience'] }, ortb2:{ site:{ name:'new-challenge123.com', ext: { data: { pagetype: "article", category: "news", } } }, }, realTimeData: { auctionDelay: 500, dataProviders: [{ name: "SirdataRTDModule", waitForIt: false, params: { partnerId: 29567, key: 50, setGptKeyValues: false, contextualMinRelevancyScore: 50, actualUrl: top.location.href, bidders: [{ bidder: 'rubicon' },{ bidder: 'triplelift' },{ bidder: 'criteo' },{ bidder: 'improvedigital' },{ bidder: 'teads' }, { bidder: 'smilewanted' }, { bidder: 'taboola' }] } }, { name: "adagio", params: { organizationId: "1015", site: "104906-new-challenge123-com", }, }] }, outbrain: { bidderUrl: 'https://b1h.zemanta.com/api/bidder/prebid/bid/', usersyncUrl: 'https://b1h.zemanta.com/usersync/prebid' }, userSync: { aliasSyncEnabled: true }, useBidCache: true, "schain": { "validation": "off", "config": { "ver":"1.0", "complete": 1, "nodes": [ { "asi":"themoneytizer.com", "sid":"96842", "hp":1 } ] } }, rubicon: {singleRequest: true}, improvedigital: {singleRequest: true,usePrebidSizes:true}, userSync: { aliasSyncEnabled: true, auctionDelay :30, filterSettings: { iframe: { bidders: '*', filter: 'include' }, image: { bidders: '*', filter: 'include' } }, userIds: [{ name: "33acrossId", params: { pid: "0015a00002vNEdMAAW", storeFpid: true }, storage: { name: "33acrossId", type: "html5", expires: 30, refreshInSeconds: 8 * 3600 } }, { name: "criteo" }, { name: "quantcastId", }, { name: "id5Id", params: { partner: 12 }, storage: { type: "html5", name: "id5id", expires: 45 } },{ name: "sharedId", params: { syncTime: 60 }, storage: { name: "sharedid", type: "cookie", expires: 90 }, }, {name: "lotamePanoramaId", params: { clientId: "17553" }}],syncsPerBidder: 50,syncDelay: 3000},enableSendAllBids: false, timeoutBuffer: 400 ,pubcid: {enable: true},disableAjaxTimeout: false, maxRequestsPerOrigin: 60,consentManagement: { gdpr: { cmpApi: 'iab', rules: [{ purpose: 'basicAds', enforcePurpose: false, enforceVendor: true, vendorExceptions: ['gingerad'] }], timeout: 60000, allowAuctionWithoutConsent: true } }}); //tmzr.requestBids({ //adUnitCodes :["35757"], //timeout: 3000, //bidsBackHandler: function(bidResponses) { //bid = tmzr.getHighestCpmBids('video')[0]; //window.vastUrl = bid && bid.vastUrl; //window.targetingParams = tmzr.getAdserverTargeting(); //for (var property in window.targetingParams) { //if (window.targetingParams.hasOwnProperty(property)) { //whenFormatFctDefined(window, 'Adcall_'+property); //} //} whenFormatFctDefined(window, 'Adcall_26328'); whenFormatFctDefined(window, 'Adcall_45111'); whenFormatFctDefined(window, 'Adcall_26326'); whenFormatFctDefined(window, 'Adcall_35757'); whenFormatFctDefined(window, 'Adcall_79570'); //} //}); }); var counter_refresh = []; function Timeout(fn, interval) { var id = setTimeout(fn, interval); this.cleared = false; this.clear = function () { this.cleared = true; clearTimeout(id); }; } var smart_prebid2 = {"26322":"55794","26300":"55789","26323":"55792","26324":"55798","26711":"55790","26706":"55795","30012":"55793","39287":"55791","50677":"55796","28108":"55797"}; function manipulateSmartAdunit(formatid){ for (var i = 0; i < tmzr.adUnits.length; i++) { if (tmzr.adUnits[i].code == formatid) { for (var j = 0; j < tmzr.adUnits[i].bids.length; j++) { if (tmzr.adUnits[i].bids[j].bidder == "smartadserver") { tmzr.adUnits[i].bids[j].params.formatId = smart_prebid2[formatid]; return tmzr.adUnits[i].bids[j]; } } } } return null; } var arr_width = {26322:728,26300:300,26323:300,26324:120,26711:300,26706:160,28108:300,30012:728,39287:970,35:50677,51410:728,28108:300}; var arr_height = {26322:90,26300:250,26323:600,26324:600,26711:250,26706:600,28108:150,30012:90,39287:250,35:50677,51410:90,28108:250}; function refreshSlot(formatid,capping){ var strformatid = formatid.toString(); tmzr.getTrueHighestCpmBids = function(formatid) { var adid = tmzr.getAdserverTargeting(formatid)[formatid].hb_adid; var getBidResponsesForAdUnitCode = tmzr.getBidResponsesForAdUnitCode(formatid).bids; for(bid in getBidResponsesForAdUnitCode){ if(getBidResponsesForAdUnitCode[bid].adId == adid) return [getBidResponsesForAdUnitCode[bid]]; } return false; } if(counter_refresh[formatid] == null ){ counter_refresh[formatid] = 0; }else{ counter_refresh[formatid] = counter_refresh[formatid]+1; } if(counter_refresh[formatid] < capping){ if(formatid==26300 || formatid==26711){ document.getElementById("sas_"+formatid).style.width = "300px"; document.getElementById("sas_"+formatid).style.height = "250px"; document.getElementById("sas_"+formatid).style.margin = "auto"; } if(formatid==26324){ document.getElementById("sas_"+formatid).style.width = "120px"; document.getElementById("sas_"+formatid).style.height = "600px"; document.getElementById("sas_"+formatid).style.margin = "auto"; } if((formatid==26322 || formatid==30012) && (navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i))){ document.getElementById("sas_"+formatid).style.width = "728px"; document.getElementById("sas_"+formatid).style.height = "90px"; document.getElementById("sas_"+formatid).style.margin = "auto"; } if((formatid==26322 || formatid==30012) && (navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i))){ document.getElementById("sas_"+formatid).style.width = "320px"; document.getElementById("sas_"+formatid).style.height = "100px"; document.getElementById("sas_"+formatid).style.margin = "auto"; } if(formatid==26328){ if(window.top.document.getElementById("sas_iframe_fixed_26328-1")){ window.top.document.getElementById("sas_iframe_fixed_26328-1").remove(); } if(window.top.document.getElementById("sas_iframe_fixed_26328")){ window.top.document.getElementById("sas_iframe_fixed_26328").remove(); } } var strformatid = formatid.toString(); manipulateSmartAdunit(formatid); document.getElementById("sas_"+formatid).innerHTML = ""; let divs = document.querySelectorAll("div[id^='sas_intextContainer_']"); divs.forEach(div => div.style.display = 'none'); tmzr.que.push(function() { tmzr.requestBids({ adUnitCodes:[strformatid], bidsBackHandler: function() { window.targetingParams = tmzr.getAdserverTargeting(); (function roo(){ if (window.targetingParams && !isEmpty(window.targetingParams[formatid]) || window.RefreshisReady == 1){ window.targetingParams = window.targetingParams || []; if(window.targetingParams[formatid]){ } var browser_size = {width: window.innerWidth || document.body.clientWidth}; bid = tmzr.getTrueHighestCpmBids(strformatid)[0]; if(bid && bid.adUnitCode === "26323"){ function verboseTmzr(m) { const urlParams = new URLSearchParams(window.location.search); if(urlParams.has('tmzr_debug')) { console.log("%cTheMoneytizer%c", "background: linear-gradient(to right, #ff8a00, #da1b60, #00d2ff); color: white; padding: 5px;", "color: black;", m); } } let currentBids = tmzr.getBidResponsesForAdUnitCode("26323").bids; let mRectangleList = []; let hPageList = []; let skipList = [] tmzr.getAllWinningBids().forEach((r,k) => { skipList.push(r.adId); }); currentBids.forEach((r,k) => { if(!skipList.includes(r.adId)){ if(r.size==="300x250"){ mRectangleList.push(r); } if(r.size==="300x600"){ hPageList.push(r); } } }) verboseTmzr({list: mRectangleList, type: "medium_rectangle"}); verboseTmzr({list: hPageList, type: "half_page"}); if(mRectangleList.length > 1){ mRectangleList.sort((a, b) => b.cpm - a.cpm); let totalCPM = parseFloat(mRectangleList[0].cpm) + parseFloat(mRectangleList[1].cpm); verboseTmzr("Double medium rectangle found ! ", {totalCPM: totalCPM, extra1: mRectangleList[0], extra2: mRectangleList[1]}); if(totalCPM>=window.targetingParams["26323"].hb_bid){ let i = document.createElement("iframe"); i.frameBorder=0; i.width="300px"; i.height="250px"; i.id="sas_iframe_26323"; i.setAttribute("scrolling", "no"); i.setAttribute("marginheight", 0); i.setAttribute("marginwidth", 0); i.setAttribute("topmargin", 0); i.setAttribute("leftmargin", 0); i.setAttribute("allowtransparency", true); let i2 = document.createElement("iframe"); i2.frameBorder=0; i2.width="300px"; i2.height="250px"; i2.id="sas_iframe_26323_2"; i2.setAttribute("scrolling", "no"); i2.setAttribute("marginheight", 0); i2.setAttribute("marginwidth", 0); i2.setAttribute("topmargin", 0); i2.setAttribute("leftmargin", 0); i2.setAttribute("allowtransparency", true); document.getElementById("sas_26323").appendChild(i); document.getElementById("sas_26323").appendChild(i2); let iframeDoc = i.contentWindow.document; let iframeDoc2 = i2.contentWindow.document; tmzr.renderAd(iframeDoc, mRectangleList[0].adId); tmzr.renderAd(iframeDoc2, mRectangleList[1].adId); verboseTmzr({m: "Two bids has been rendered !", extra1: mRectangleList[0], extra2: mRectangleList[1]}); return; } verboseTmzr("Total CPM of double medium rectangle is lower than winning bid 😕"); } let i = document.createElement("iframe"); i.frameBorder=0; i.width="300px"; i.height="600px"; i.id="sas_iframe_26323"; i.setAttribute("scrolling", "no"); i.setAttribute("marginheight", 0); i.setAttribute("marginwidth", 0); i.setAttribute("topmargin", 0); i.setAttribute("leftmargin", 0); i.setAttribute("allowtransparency", true); document.getElementById("sas_26323").appendChild(i); let iframeDoc = i.contentWindow.document; let hb_adid = window.targetingParams["26323"].hb_adid; verboseTmzr("No double medium rectangle could be rendered, here informations about current render"); verboseTmzr(window.targetingParams["26323"]); tmzr.renderAd(iframeDoc, hb_adid); return; } else if (bid && bid.bidder == "improvedigital" && bid.mediaType == "video") { var arr_width_video ={26300:300,26711:300,26323:300,39287:444,45111:640}; var creatediv = document.createElement("div"); creatediv.id = formatid; creatediv.setAttribute("style","width:"+arr_width_video[formatid]+"px;margin:auto;"); document.getElementById("sas_"+formatid).appendChild(creatediv); var iframeDoc = document; } else if(bid && bid.adUnitCode == 26328) { args = { func: tmzr.renderAd, hb_adid: bid.adId, height: bid.height, width: bid.width, bidder: bid.bidder, footerPositionTopMobile: false,footerPositionTop: false, } window.whatToLoad(6, args); }else if(bid && bid.adUnitCode == 116434) { args = { func: tmzr.renderAd, hb_adid: window.targetingParams[formatid].hb_adid, height: bid.height, width: bid.width, } window.whatToLoad(44, args); }else if(bid && bid.adUnitCode == 26755) { argsInter = { func: tmzr.renderAd, hb_adid: window.targetingParams[formatid].hb_adid, height: bid.height, width: bid.width, bidder: bid.bidder, closeButtonDelay: true, } window.whatToLoad(15, argsInter); }else if(bid && bid.mediaType == 'native' && bid.bidder == 'smilewantedfalse') { args = { func: tmzr.renderAd, hb_adid: window.targetingParams[formatid].hb_adid, bidder: bid.bidder, adUnitCode: bid.adUnitCode, native: bid.native } window.whatToLoad('native', args); } else { var myiframe = document.createElement('iframe'); myiframe.frameBorder=0; if((formatid == 26322 || formatid == 30012) && GetMobileDesktop() == "mobile"){ myiframe.width="320px"; myiframe.height="100px"; }else{ myiframe.width=arr_width[formatid]+"px"; myiframe.height=arr_height[formatid]+"px"; } myiframe.id="sas_iframe_"+formatid; myiframe.setAttribute("scrolling", "no"); myiframe.setAttribute("marginheight", 0); myiframe.setAttribute("marginwidth", 0); myiframe.setAttribute("topmargin", 0); myiframe.setAttribute("leftmargin", 0); myiframe.setAttribute("allowtransparency", true); document.getElementById("sas_"+formatid).appendChild(myiframe); var iframeDoc = myiframe.contentWindow.document; } var hb_adid = window.targetingParams[formatid].hb_adid; if (bid && bid.adUnitCode!="26328") { tmzr.renderAd(iframeDoc, hb_adid); } tmzrCountExec(104906, tagsObject[formatid]['ad_id'], 1); if(window.targetingParams && !isEmpty(window.targetingParams[formatid]) && window.tm_getpublica == 1){ tmzrCountExec(104906, tagsObject[formatid]['ad_id'], 2); } }else{ setTimeout(function(){ roo(); },50); } })(); setTimeout(function(){window.RefreshisReady = 1;}, 2000); } }); }); } } function refreshSlotFooter(formatid, capping) { var strformatid = formatid.toString(); if (counter_refresh[formatid] == null) { counter_refresh[formatid] = 0; } else { counter_refresh[formatid] = counter_refresh[formatid] + 1; } if (counter_refresh[formatid] < capping) { tmzr.que.push(function () { tmzr.requestBids({ adUnitCodes: [strformatid], bidsBackHandler: function () { document.getElementById("sas_" + formatid).innerHTML = ""; let divs = document.querySelectorAll("div[id^='sas_intextContainer_']"); divs.forEach(div => div.style.display = 'none'); var parentsas = window.parent.document.getElementById('sas_' + formatid) || window.top.document.getElementById('sas_' + formatid); if (parentsas) { parentsas.innerHTML = ""; } window.targetingParams = tmzr.getAdserverTargeting(); window.targetingParams[formatid] = window.targetingParams[formatid] || 0; if (window.targetingParams[formatid] == 0) { var moneybid = ""; } else { var hb_adid = "hb_adid=" + window.targetingParams[formatid].hb_adid; var hb_pb = "hb_pb=" + window.targetingParams[formatid].hb_bid; var hb_bidder = "hb_bidder=" + window.targetingParams[formatid].hb_bidder; if (window.targetingParams[formatid].hb_height == "250") { var hb_format = "hb_format=" + formatid + "-1"; } else { var hb_format = "hb_format=" + formatid; } var moneybid = ";" + hb_adid + ";" + hb_pb + ";" + hb_bidder + ";" + hb_format; } sas.cmd.push(function() { sas.setEids(tmzr.getUserIdsAsEids()); }); sas.refresh(formatid,{target:moneybid}); tmzrCountExec(104906, tagsObject[formatid]['ad_id'], 1); } }); }); } } } var refreshVisibility35757 = function(){ var observers = []; var fetchAdsArea = document.querySelectorAll('*[id^="sas_"]'); var slowBidders = ["teads_video","teads_display","teads_display2","richaudience","blueroostermedia","sharethrough"]; window.slowBidders = slowBidders; var slowBiddersTimer = ["60000","60000","60000","30000","30000","40000"]; var adsAreaId =35757; var visibleRefreshRate =9999999; var invisibleRefreshRate =99999999; var adsCappingLimit = 50; var slowdown = 60000; var evt = {}; evt.lastPos = 0; evt.lastTime = Date.now(); window.adsArea35757= {}; var visibilitySupport = false; if ('IntersectionObserver' in window) { visibilitySupport = true; } var refreshTimeTableVisible = { 26322: 19000, 26300: 18500, 26323: 20000, 26324: 21500, 26711: 18500, 26706: 23000, 28108: 27000, 30012: 23500, 39287: 19500, 50677: 21000, 51410: 22000, 26328: 25000, 80234: 99999999, 116434: 99999999, 26755: 99999999 }; var refreshTimeTableInvisible = { 26322: 36000, 26300: 37000, 26323: 49000, 26324: 52000, 26711: 47000, 26706: 54000, 28108: 56000, 30012: 58000, 39287: 60000, 50677: 62000, 51410: 57000, 26328: 45000, 80234: 99999999, 116434: 99999999, 26755: 99999999 }; //window.adsArea35757= el; window.adsArea35757.isVisible = null; window.adsArea35757.isClosed = false; window.adsArea35757.refreshTimer = Date.now(); window.adsArea35757.formatId = adsAreaId; window.adsArea35757.refreshRate = refreshTimeTableVisible[adsAreaId]; window.adsArea35757.capping = 1; window.adsArea35757.cappingLimit = adsCappingLimit; if (visibleRefreshRate != undefined) { refreshTimeTableVisible[adsAreaId] = visibleRefreshRate; } if (invisibleRefreshRate != undefined) { refreshTimeTableInvisible[adsAreaId] = invisibleRefreshRate; } if (visibilitySupport) { var option = { root: null, rootMargin: '0px', threshold: [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0] } var callback = function (entries, observer) { entries.forEach(entry => { if ((Math.floor(entry.intersectionRatio * 100) > 50 && !window.adsArea35757.isVisible) || window.adsArea35757.isVisible === null) { window.adsArea35757.isVisible = true; window.adsArea35757.refreshRate = refreshTimeTableVisible[adsAreaId]; } else if ((Math.floor(entry.intersectionRatio * 100) < 50 && window.adsArea35757.isVisible) || window.adsArea35757.isVisible === null) { window.adsArea35757.isVisible = false; window.adsArea35757.refreshRate = refreshTimeTableInvisible[adsAreaId]; } }); }; observers35757 = new IntersectionObserver(callback, option); observers35757.observe(document.querySelector("#sas_" + adsAreaId)); } else { window.adsArea35757.lastPos = 0; window.adsArea35757.lastTime = Date.now(); evt.scroll = window.addEventListener('scroll', function (e) { if ((Math.abs(window.adsArea35757.lastPos - window.scrollY) > 200) || (Date.now() - window.adsArea35757.lastTime > 500)) { window.adsArea35757.lastPos = window.scrollY; window.adsArea35757.lastTime = Date.now(); var visibilitySensor = true; style = window.getComputedStyle(el); if (style.getPropertyValue('display') == 'none') { visibilitySensor = false; } if (style.getPropertyValue('opacity') < 0.8) { visibilitySensor = false; } if (el.parentElement) { style = window.getComputedStyle(el.parentElement); if (style.getPropertyValue('overflow') == 'hidden' || style.getPropertyValue('overflow-x') == 'hidden' || style.getPropertyValue('overflow-y') == 'hidden') { if (el.parentElement.getBoundingClientRect.width < el.getBoundingClientRect.width || el.parentElement.getBoundingClientRect.height < el.getBoundingClientRect.height) { visibilitySensor = false; } } } if ( el.getBoundingClientRect().top + (el.getBoundingClientRect().height / 2) < 0 || el.getBoundingClientRect().left < 0 || el.getBoundingClientRect().right > (window.innerWidth || document.documentElement.clientWidth) || el.getBoundingClientRect().bottom - (el.getBoundingClientRect().height / 2) > (window.innerHeight || document.documentElement.clientHeight) ) { visibilitySensor = false; } if ((visibilitySensor && !window.adsArea35757.isVisible) || window.adsArea35757.isVisible === null) { window.adsArea35757.isVisible = true; window.adsArea35757.refreshRate = refreshTimeTableVisible[adsAreaId]; } else if ((!visibilitySensor && window.adsArea35757.isVisible) || window.adsArea35757.isVisible === null) { window.adsArea35757.isVisible = false; window.adsArea35757.refreshRate = refreshTimeTableInvisible[adsAreaId]; } } observers.push(evt); }); } refreshQueueManager35757 = function (formatId, capping) { window.adsArea35757.capping++; window.adsArea35757.refreshTimer = Date.now(); var isClosed = false; if(window.adsArea35757.isClosed != undefined){ if(window.adsArea35757.isClosed){ isClosed = true } } if(formatId == 26328&&false){ if(isClosed == false){ refreshSlotFooter(35757, window.adsArea35757.capping); } }else{ if(isClosed == false){ refreshSlot(35757, window.adsArea35757.capping); } } } setInterval(function(){loopChecker35757();}, 1000); loopChecker35757 = function() { if (typeof tmzr.getAllWinningBids == 'undefined') {return} el = window.adsArea35757; if (!isNaN(el.refreshRate) && el.capping < el.cappingLimit && el.formatId != '26328') { lastBidder35757 = {"bidderCode":undefined, "responseTimestamp":0}; tmzr.getAllWinningBids().forEach(function(bid){ if(bid.adUnitCode==el.formatId){ if(bid.responseTimestamp > lastBidder35757.responseTimestamp){ lastBidder35757 = bid; } } }) window.adsArea35757.lastBidder = lastBidder35757; if(slowBidders.indexOf(el.lastBidder.bidder)==-1){ slowdown = 0; } else { slowdown = parseInt(slowBiddersTimer[slowBidders.indexOf(el.lastBidder.bidder)]); } if ((window.adsArea35757.refreshTimer + el.refreshRate) < Date.now()) { if(((el.refreshTimer + slowdown) < Date.now()) && slowBidders.includes(el.lastBidder.bidder) == true) { refreshQueueManager35757(el.formatId, el.capping); } else if(slowBidders.includes(el.lastBidder.bidder) == false){ refreshQueueManager35757(el.formatId, el.capping); } } } else if (el.formatId != '26325' && el.formatId != '26328' && el.capping < el.cappingLimit) { lastBidder35757 = {"bidderCode":undefined, "responseTimestamp":0}; if(el.lastBidder == undefined || slowBidders.indexOf(el.lastBidder.bidder)==-1){ slowdown = 0; } else { slowdown = parseInt(slowBiddersTimer[slowBidders.indexOf(el.lastBidder.bidder)]); } tmzr.getAllWinningBids().forEach(function(bid){ if(bid.adUnitCode==el.formatId){ if(bid.responseTimestamp > lastBidder35757.responseTimestamp){ lastBidder35757 = bid; } } }) window.adsArea35757.lastBidder = lastBidder35757; if (window.adsArea35757.refreshTimer + 25000 < Date.now() && !slowBidders.includes(el.lastBidder.bidder)) { refreshQueueManager35757(el.formatId, el.capping); } else if ((window.adsArea35757.refreshTimer + slowdown < Date.now() && slowBidders.includes(el.lastBidder.bidder))) { refreshQueueManager35757(el.formatId, el.capping); } } else if (el.formatId == '26328' && el.capping < el.cappingLimit) { lastBidder35757 = {"bidderCode":undefined, "responseTimestamp":0}; if(el.lastBidder == undefined || slowBidders.indexOf(el.lastBidder.bidder)==-1){ slowdown = 0; } else { slowdown = parseInt(slowBiddersTimer[slowBidders.indexOf(el.lastBidder.bidder)]); } tmzr.getAllWinningBids().forEach(function(bid){ if(bid.adUnitCode==el.formatId){ if(bid.responseTimestamp > lastBidder35757.responseTimestamp){ lastBidder35757 = bid; } } }) window.adsArea35757.lastBidder = lastBidder35757; if (window.adsArea35757.refreshTimer + el.refreshRate < Date.now()) { refreshQueueManager35757(el.formatId, el.capping); } } }; } if(typeof crtg_content === 'undefined'){var crtg_content = "";} if(typeof moneybid === 'undefined'){var moneybid = "";} var mydiv = document.getElementById("104906-30"); var creatediv = document.createElement("div"); creatediv.id = "sas_35757"; mydiv.appendChild(creatediv); var sc = document.createElement("script"); sc.type = "text/javascript"; sc.async = true; sc.text = sas.cmd.push(function(){sas.call('std',{siteId: 567966, pageId: 1722151, formatId: 35757, target: crtg_content+moneybid});}); creatediv.appendChild(sc);