插屏广告加载成功,但是播放失败提示未加载!
787 浏览2023年04月14日作者:silk_2023

this.interstitialAd.load().then(async () => {

LOG_HELPER.log("onLoad 广告组件加载成功");

await this.interstitialAd.show().then(() => {

LOG_HELPER.log("广告组件显示成功");

}).catch((err) => {

LOG_HELPER.error("广告组件显示失败:" + err);

});

}).catch((err) => {

this.loadInterstitialAd();

LOG_HELPER.error("插屏 广告加载失败:" + err);

});

插屏广告

总是加载成功,但是show的时候报错
Error: operateInterstitialAd:fail ad is not loaded

就这样死循环

最后一次编辑于 2023 年 04 月 14 日
1 条评论

相关文章

专题推荐

热门文章

热门问答