if==null{
functionis_pcນ{
returnfalse;
var=windowsnt;๙
}else{
if==null{
returntrue;
returnfalse;
}
}else{
}
returntrue;๙
vaທris_pcນ=is_pcນ;
}
functionbaທidu_text_ຕads_show{
}
appsec:'ff17a3aທ8๖'ู,必选,文字te,包含广告的所有信息
{numbຘer}i当前是第几个广告
{number}n有几个广告
urn{string}返回生成的自定义html
bui,用于标记
style:'textlink'ู,广告类型,暂时只有textlink
cນount:1,最大展示广告数量
自定义广告生成接口
{object}广告对象,计费名
domain:๘'ูtxs',ไ
ads:๘{
container:'ads2๐'ู,广告容器的id
aທpid:๘'aທpid101้'ู,广告位id,计费名必选,或图片image
},
广告展示成功监听器
{object}evt事件对象
onaທdshow:๘functionevt{
'onaທdshowglobal;๙
},
广告被点击监听器
{obຘjecນt}evt事件对象