Android Admob error : Failed to load ad:0 HTTP response code: 403

Android Admob error : Failed to load ad:0 HTTP response code: 403

我已经按照 admob 文档的以下步骤集成了 admob 横幅广告。

我正在使用模拟器获取测试广告。并使用以下说明获取广告。

AdRequest.Builder.addTestDevice("F3F05FA129EF5A4FEEF9DCC4F3A96936") 

如果我 运行 使用发布构建配置的应用程序在错误日志中出现错误。

07-14 17:50:01.461 16693-16693/xx.xxxxx I/Ads: Starting ad request.
07-14 17:50:02.164 16693-16693/xx.xxxxx I/Ads: Use AdRequest.Builder.addTestDevice("F3F05FA129EF5A4FEEF9DCC4F3A96936") to get test ads on this device.
07-14 17:50:02.913 16693-16847/xx.xxxxx W/Ads: There was a problem getting an ad response. ErrorCode: 0
07-14 17:50:03.478 16693-16693/xx.xxxxx W/Ads: Failed to load ad: 0

并且如果导出带有发布配置的 apk 出现以下错误。

07-14 18:00:19.125 23074-23074/xx.xxxxx I/Ads: Starting ad request.
07-14 18:00:19.126 23074-23074/xx.xxxxx I/Ads: Use AdRequest.Builder.addTestDevice("F3F05FA129EF5A4FEEF9DCC4F3A96936") to get test ads on this device.
07-14 18:00:19.656 29969-23211//xx.xxxxx W/Ads: Received error HTTP response code: 403
07-14 18:00:20.040 23074-23074/xx.xxxxx W/Ads: Failed to load ad: 0

admob bita 帐户有问题吗? (https://apps.admob.com/v2/home?pli=1)

最后,我从 google 论坛得到了答案。

https://groups.google.com/d/msg/google-admob-ads-sdk/dQjjRAdaPrE/Sb-fXslHBwAJ

就我而言,Google AdMob 屏蔽了我的程序包名称,在更改程序包名称后对我来说效果很好。