gpt4 book ai didi

android - 谷歌奖励视频加载失败

转载 作者:行者123 更新时间:2023-11-29 01:02:36 25 4
gpt4 key购买 nike

我在我的应用程序中使用 admob 奖励视频。但每次我收到以下日志时,视频都无法加载。我没有使用任何中介网络。我尝试删除我的 adunit 并创建一个新的,但它工作了 1 次,之后就停止工作了。我也有同一个项目的横幅 View ,它工作正常。

我也尝试在我的代码中使用测试设备,但这也没有帮助

我尝试下载奖励视频的谷歌示例应用程序并替换了我的 appid 和 adunit id,但仍然无法正常工作。我什至尝试更改我的包名,但都是徒劳的

04-27 13:05:48.838 27993-27993/com.phomotech.dicegame I/Ads: Updating ad debug logging enablement.
04-27 13:05:48.880 27993-27993/com.phomotech.dicegame I/Ads: Starting ad request.
04-27 13:05:48.882 27993-27993/com.phomotech.dicegame I/Ads: Use AdRequest.Builder.addTestDevice("B445576D53CC2D3C563D556644F72240") to get test ads on this device.
04-27 13:05:48.908 27993-27993/com.phomotech.dicegame D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraMobileAdsSettingManagerCreatorImpl
04-27 13:05:48.917 27993-27993/com.phomotech.dicegame I/Ads: Updating ad debug logging enablement.
04-27 13:05:48.921 27993-27993/com.phomotech.dicegame I/Ads: Starting ad request.
04-27 13:05:48.922 27993-27993/com.phomotech.dicegame I/Ads: Use AdRequest.Builder.addTestDevice("B445576D53CC2D3C563D556644F72240") to get test ads on this device.
04-27 13:05:48.953 27993-29240/com.phomotech.dicegame W/Ads: Update ad debug logging enablement as false
04-27 13:05:48.953 27993-29213/com.phomotech.dicegame W/Ads: Update ad debug logging enablement as false
04-27 13:05:49.691 27993-28016/com.phomotech.dicegame I/Ads: No fill from ad server.
04-27 13:05:49.819 27993-27993/com.phomotech.dicegame W/Ads: Failed to load ad: 3
04-27 13:05:50.096 27993-27993/com.phomotech.dicegame I/Ads: Scheduling ad refresh 70000 milliseconds from now.
04-27 13:05:50.133 27993-27993/com.phomotech.dicegame I/Ads: Ad finished loading.

最佳答案

W/Ads: Failed to load ad: 3

根据文档,您收到以下错误代码:

public static final int ERROR_CODE_NO_FILL

The ad request was successful, but no ad was returned due to lack of ad inventory.

Constant Value: 3

基于帖子 onFailedToReceiveAd - 广告请求成功,但在使用 admob 时由于缺少广告资源而没有返回广告:

If you are getting this error, then your code is correct. The issue is that AdMob does not always have an ad to return for every request. This may happen particularly if you have just registered your AdMob publisher ID, as it takes some time and multiple requests before the new ID starts returning ads.

Another reason your fill rate may be low is that you don't have AdSense backfill enabled, or you have filtered out some ads. Check your app settings to see if that is the case.

复制自:https://stackoverflow.com/a/33712905/1427445

关于android - 谷歌奖励视频加载失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50060305/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com