AdMob在已发布的应用程序中显示测试插页式广告

我已将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"]并提交应用程序的更新。