}
}
var TAG = [Dev] JsSdk
var DEFAULT_LISTENER = {
onAdShow: function(){//推广成功展示事件
console.log(TAG, onAdShow
},
onAdClick: function(){//推广被点击事件
console.log(TAG, onAdClick
},
onAdFailed: function(){//推广无法继续展示;onReceiveFail可能继续展示推广
console.log(TAG, onAdFailed
},
onAdSwitch: function(){//推广轮转事件
console.log(TAG, onAdSwitch
},
onReceiveSuccess: function(){//从服务器成功接收到推广的事件
console.log(TAG, onReceiveSuccess
},
onReceiveFail: function(reason){//从服务器接收推广失败的事件,网络异常等可能触发该事件
console.log(TAG, onReceiveFail, reason);
}
}
if( !is_pc){
// Demo Entry
baidu_ads_show();
}
//setTimeout(demo, 4000);
if( is_pc){
$_("ads1").style.display="none