我已将 AdMob 插页式广告添加到我的 iOS 应用程序中,它们在模拟器上运行良好,显示了测试插页式广告。但是,在 App Store 上发布我的应用程序后,我意识到插页式广告仍然显示测试插页式广告,而不是实时/付费插页式广告。我在这里错过了什么吗?
最佳答案
听起来您忘记从您的 AdMob 请求中删除您的测试 ID。您的请求应如下所示:
// AdMob Interstitial Request
interstitial.adUnitID = myPublisherID; // Your publisher ID
GADRequest *request = [GADRequest request]; // Creates the request
request.testDevices = @[ @"myTestID"]; // Your test ID
[interstitial loadRequest:request]; // Loads the request
删除或注释掉 request.testDevices = @[ @"myTestID"]
并为您的应用程序提交更新。
关于ios - AdMob 在已发布的应用程序中显示测试插页式广告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30029287/