小游戏bannerAd创建失败unexpected advertisement type 134?
代码:
let bannerAd = wxlet bannerAd = wx.createBannerAd({
adUnitId: "adunit-bac5bd09acb51eaa",
style: {
left: 0,
top: 0,
width: 350
}
})
bannerAd.show()
bannerAd.onError(err => {
console.log("wx banner0 err:", err.errCode)
console.log("wx banner0 err1:", err.errMsg)
结果:
wx banner0 err1: unexpected advertisement type 134
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。