简体   繁体   English

Admob 广告未显示:即使在两周后仍出现错误代码 3

[英]Admob Ads not showing up: Error Code 3 even after two weeks

I have created some banner and interstitial ads on AdMob and implemented them in my android studio project.我在 AdMob 上创建了一些横幅广告和插页式广告,并在我的 android studio 项目中实现了它们。 But the live ads aren't showing up in the release as well as debug version.但是实时广告没有出现在发行版和调试版中。 When I set any device as a test device, then the test ads load on that device.当我将任何设备设置为测试设备时,测试广告就会加载到该设备上。 I followed the advice given on some StackOverflow answers and waited for two weeks, but still, the problem persists.我遵循了一些 StackOverflow 答案中给出的建议并等了两个星期,但问题仍然存在。 Some say that the ads will not be shown if your app is not added to the play store.有人说,如果您的应用未添加到 Play 商店,则不会显示广告。 Is it true?这是真的吗?

I have followed the advice given in below questions:我遵循了以下问题中给出的建议:

failed to load ad : 3 无法加载广告:3

Admob No fill from ad server - failed to load ad: 3 Admob 没有来自广告服务器的填充 - 无法加载广告:3

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

3 weeks doesn't matter here. 3周在这里无关紧要。 My AdMob ads didn't work even for 4 weeks but after I uploaded the app to the play store, Everything seemed fine.我的 AdMob 广告甚至在 4 周内都不起作用,但是在我将应用程序上传到 Play 商店后,一切似乎都很好。

Anyways, this also requires the inventory to load return an ad.无论如何,这也需要库存加载返回广告。 If you app was newly registered, then you should wait for enough ad requests.如果您的应用是新注册的,那么您应该等待足够的广告请求。 For me, It worked after around 5k requests.对我来说,它在大约 5k 个请求后工作。

For the ad requests, You can use a trick though I don't recommend it.对于广告请求,您可以使用一个技巧,但我不推荐它。 For time being(while testing the app) you can add a ScheduledExecuterService and request ad multiple times but load them after specific intervals.目前(在测试应用程序时)您可以添加ScheduledExecuterService并多次请求广告,但在特定时间间隔后加载它们。 This may increase chances of returning real ads.这可能会增加返回真实广告的机会。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM