最后更新于5年前
使用该接口前,请先进行
该接口用于获取天幕后台配置的广告位是否正常开启,调用该接口时,只要传入对应广告位ID即可。
wx.tmSDK.checkFlowIsOpen({ positionId: positionId }).then(({ isOpen }) => { console.log('该广告位是否开启:', isOpen); });
字段
字段类型
说明
positionId
string
广告位id
{ isOpen: true, type: 1, }
isOpen
boolean
广告位是否开启
type
广告位类型, 仅当isOpen为true时,才有值