AdMob广告在生产环境中不再显示

移动开发 2026-07-10

我在Google Play上发布了我的Flutter应用,2天前。昨天我把应用与AdMob账户关联起来。我在应用中添加了app-ads.txt,AdMob显示应用已就绪。从那时起就没有广告展示。奇怪的是,在发布应用之前,我还能看到测试广告和真实广告。我等了超过24小时,但没有任何变化。我也尝试更新依赖项,但没有帮助。

请问有人能否解释我应该怎么做,是继续等待,还是检查我的代码或AdMob设置中的某些内容?

感谢任何帮助。我的日志:

04-01 18:00:34.423 17313 17370 I Ads     : Updating ad debug logging enablement.
04-01 18:00:34.432 17313 17377 W Ads     : Update ad debug logging enablement as false
04-01 18:00:34.473 17313 17391 I Ads     : Use RequestConfiguration.Builder().setTestDeviceIds(Arrays.asList("7B09E9E505F21D8552AD47ABBF4E2398")) to get test ads on this device.
04-01 18:00:34.521 17313 17381 W Ads     : Invoke Firebase method getInstance error.
04-01 18:00:34.521 17313 17381 W Ads     : The Google Mobile Ads SDK will not integrate with Firebase. Admob/Firebase integration requires the latest Firebase SDK jar, but Firebase SDK is either missing or out of date
04-01 18:00:34.600 17313 17387 W Ads     : Not retrying to fetch app settings
04-01 18:00:34.738 30411 30411 I Ads     : Received log message: <Google:HTML> You are currently using version 260480999.250930000.1 of the SDK, which is out of date. Please consider updating your SDK to the most recent SDK version to get the latest features and bug fixes. The latest SDK can be installed from https://goo.gle/android-install-instructions. More information about the SDK deprecation schedule is available at https://developers.google.com/admob/android/deprecation.
04-01 18:00:34.749 30411 17492 I Ads     : SDK version: afma-sdk-a-v260480999.250930000.1
04-01 18:00:34.749 30411 17492 I Ads     : HTTP timeout: 60000 milliseconds.
04-01 18:00:34.853 30411 17492 W Ads     : Received error HTTP response code: 400
04-01 18:00:34.862 17313 17313 I Ads     : Ad failed to load : 3
04-01 18:00:35.247 17313 17313 I Ads     : JS: The jsLoaded GMSG has been sent (https://googleads.g.doubleclick.net/mads/static/sdk/native/sdk-core-v40.html:1058)
`

解决方案

广告开始显示了。 我做了什么改动:我新建了一个广告单元并再次发布。起初我仍然收到了403/3错误,但大约2 小时后广告开始显示。 我的怀疑:

  1. 将应用绑定到AdMob之后,我需要等待大约48小时。
  2. 在发布应用之前创建的广告单元在发布后就不可用。
站内所有文章版权归属LeftHeroAI导航站,无授权禁止任何主体转载、抄袭、复制内容,亦不得私自架设镜像站点。一经侵权,本站将通过法律途径追责。

相关文章