gpt4 book ai didi

ios - 生产 AdMob 横幅广告无法在 iOS 上加载

转载 作者:行者123 更新时间:2023-11-28 23:50:36 24 4
gpt4 key购买 nike

在制作我的 iOS 应用时,我使用了测试 AdMob AppID 和 AdUnitID。

每次都会显示测试广告。

今天我创建了一个 AdMob 帐户并获得了生产 AppID 和 AdUnitID。

我复制了它们并替换了我应用中的测试。

我存档了该应用程序,以便使用 XCode 中的发布设置。

然后我将它上传到 AppStore。

但是,当我从 TestFlight 下载应用程序时,没有显示任何广告。

我错过了什么?

附言- GoogleAds 框架是最新的- AdMob 帐户已填满所需信息。

AppDelegate

GADMobileAds.configure(withApplicationID: <AdMob AppID>)

View Controller

bannerAd.adUnitID = <AdMob adUnitID>
bannerAd.rootViewController = self
bannerAd.load(GADRequest())

最佳答案

Admob Help :

When apps are newly registered with AdMob, it takes some time and a few ad requests to allow inventory to build. Because of this, you may not see live impressions immediately.

Once your app is making more requests, you should see more consistent results. Please note that test ads operate through the same channels as live ads. Being able to return a test ad ensures that your application is communicating properly with our network.

我建议等待 24-48 小时才能开始看到实时广告,具体取决于您所在的地区。

关于ios - 生产 AdMob 横幅广告无法在 iOS 上加载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52045374/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com