本文介绍了onFailedToReceiveAd(广告请求成功,但使用的AdMob与adwhirl时没有广告回来,由于缺乏广告资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是想知道如果这个问题是服务器端......或者我必须修复的东西在我的code ...

i just want to know if this problem is server side...or i must fix something in my code...

onFailedToReceiveAd(广告请求成功,但由于缺乏广告资源返回广告

onFailedToReceiveAd(Ad request successful, but no ad returned due to lack of ad inventory

我使用的是与adwhirl AdMob的展现在我的Andr​​oid应用程序的广告。

I'm using admob with adwhirl to show ads in my android application.

推荐答案

如果您收到此错误,那么你的code是正确的。问题是,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.

最后一个测试,你可以运行,看看你的AdWhirl code为是要求测试的广告正确实施。您可以通过在AdWhirl指定测试模式下做到这一点:

Finally, a test you can run to see if your AdWhirl code is implemented correctly is to request a test ad. You can do this by specifying test mode in AdWhirl:

AdWhirlTargeting.setTestMode(true);

如果你得到一个测试广告,你就会知道你的code为如预期。

If you get back a test ad, you'll know your code is working as intended.

这篇关于onFailedToReceiveAd(广告请求成功,但使用的AdMob与adwhirl时没有广告回来,由于缺乏广告资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 07:05