颤动广告仅在测试模式下显示

时间:2020-03-20 12:46:19

标签: flutter

我尝试在我的flutter应用中实施ad mob软件包。我已经创建了我的admob帐户,选择了奖励广告,我有我的ID群组和我的appId,我已将我的google-services.json添加到app文件夹中,我已经完成了清单。

我的问题是我何时使用

.load(adUnitId: RewardedVideoAd.testAdUnitId, targetingInfo: targetingInfo)

没关系,我可以在按下按钮后看到视频广告,但这不是我的unitID

如果我那样使用我的UnitID

.load(adUnitId:"ca-app-pub-xxxxxxxxxxxx/xxxxxxxxx", targetingInfo: targetingInfo)

按按钮后我没有视频广告 我有这个错误

 error in showing ad: PlatformException(ad_not_loaded, show failed for rewarded video, no ad was loaded, null)

我已经有很长时间的发布模式错误了,所以我只能在调试模式下启动,这可能是我问题的根源吗?

创建admob帐户或集团后是否存在使用延迟? 谢谢

1 个答案:

答案 0 :(得分:3)

广告会在您在商店中发布您的应用时显示,因此,如果测试广告的效果比您的广告效果好