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
就这样死循环