function adupdate(adunit, adcode){
if(document.getElementsByClassName(adunit).length>0){
document.getElementsByClassName(adunit)[2].insertAdjacentHTML('afterEnd',adcode);
}
}
//wt_creative_1x1
//adupdate('adsbygoogle','
');
// window.googletag = window.googletag || {cmd: []};
// googletag.cmd.push(function() {
// googletag.defineSlot('/22648351385/wt_creative_1x1', [1, 1], 'div-gpt-ad-1709789705776-0').setTargeting('website', //location.hostname).addService(googletag.pubads());
// googletag.pubads().enableSingleRequest();
// googletag.enableServices();
// });
// googletag.cmd.push(function() { googletag.display('div-gpt-ad-1709789705776-0'); });
//先文中再置底
adupdate('adsbygoogle','');
var adloadstart = 500;
function adload(){
if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){
// document.write("mobile");
var adloadtime = 500;
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag.defineSlot('/22675675822/wavenet_ir_top', [[1, 1], [336, 280], [728, 90], [320, 640], [300, 250], [320, 100]], 'div-gpt-ad-1661918914866-0').setTargeting('website', location.hostname).setTargeting('url', location.pathname).addService(googletag.pubads());
googletag.defineSlot('/22675675822/wavenet_mobile_bottom', [[320, 50], [1, 1], [300, 50], [320, 100]], 'div-gpt-ad-1661918957402-0').setTargeting('website', location.hostname).setTargeting('url', location.pathname).addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.pubads().enableLazyLoad({fetchMarginPercent: 100, renderMarginPercent: 50, mobileScaling: 1.0});
googletag.enableServices();
});
setTimeout(function(){
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1661918914866-0'); });
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1661918957402-0'); });
},adloadtime);
}else{
var adloadtime = 500;
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag.defineSlot('/22675675822/wavenet_ir_top', [[1, 1], [336, 280], [728, 90], [300, 250], [320, 100]], 'div-gpt-ad-1661918914866-0').setTargeting('website', location.hostname).setTargeting('url', location.pathname).addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.pubads().enableLazyLoad({fetchMarginPercent: 100, renderMarginPercent: 50, mobileScaling: 1.0});
googletag.enableServices();
});
setTimeout(function(){
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1661918914866-0'); });
},adloadtime);
// document.write("not mobile");
}
}
setTimeout(function(){adload();},adloadstart);
var wave_gpt3 = document.createElement("script");
wave_gpt3.src = "https://www.googletagmanager.com/gtag/js?id=G-EWGW3C80CQ";
document.head.appendChild(wave_gpt3);
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-EWGW3C80CQ');
var wave_gpt4 = document.createElement("script");
wave_gpt4.src = "https://www.googletagmanager.com/gtag/js?id=UA-222890203-4";
document.head.appendChild(wave_gpt4);
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-222890203-4');