Admob广告请求始终返回代码3 [英] Admob ad request always return code 3

查看:734
本文介绍了Admob广告请求始终返回代码3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在自己的android应用程序中实现了Admob。第一次有一个横幅添加我的应用程序的波纹管。但是在8个项目之后在RecylearView中添加横幅广告之后,就会出现问题。 90%的情况下,它返回响应代码3。

I implement Admob in one of my android application. First time it has a banner add bellow of my application. But after adding banner ad in RecylearView after 8 items then problem occurs. 90% cases it returns response code 3.

显示给我的最长时间:


I / Ads:广告服务器未填满。
W / Ads:无法加载广告:3

I/Ads: No fill from ad server. W/Ads: Failed to load ad: 3

此处响应代码:3表示 The广告请求成功,但由于缺少广告资源而没有退回任何广告。 ,但其他经常在同一设备上显示广告的应用。

Here response code: 3 means The ad request was successful, but no ad was returned due to lack of ad inventory. But other apps showing ads frequently in same device.

注意:


  • 当我在TestDevice中测试时显示演示广告

  • 仅在非测试设备上出现问题

  • 很少成功返回广告的情况。

有人可以帮助我从中恢复吗?问题。我的ad_unit或adMob是否存在任何问题?

Can anyone please help me to recover from this issue.Is there any issue in my ad_unit or adMob?

推荐答案

在这里,我的代码是正确的。问题是AdMob并不总是有一个广告可为每个请求返回。尤其是如果您刚刚注册了AdMob发布商ID,则可能会发生这种情况,因为新ID开始返回广告需要一段时间和多次请求。

Here my 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.

填充率的另一个原因可能是因为您没有启用AdSense补余广告,或者您滤除了一些广告。

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.

根据文档:-

 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

这意味着:-


如果遇到此错误,则您的代码正确。问题是
,AdMob并不总是有一个广告可针对每个请求返回。
这种情况​​尤其可能发生,如果您刚刚注册了AdMob
发布者ID,因为
新ID开始返回广告需要花费一些时间和多次请求。

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.

填充率较低的另一个原因是您没有启用
AdSense补余,或者您滤除了一些广告。检查
您的应用程序设置以查看是否是这种情况。

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.

谢谢:)

这篇关于Admob广告请求始终返回代码3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆