在发布应用程序的AdMob表现测试间隙 [英] AdMob showing test interstitials in released application

查看:106
本文介绍了在发布应用程序的AdMob表现测试间隙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我添加了AdMob的间隙到我的iPhone应用程序,他们做工精细的模拟器,显示出测试间隙。然而,在我的应用程序在App Store的发布,我意识到间隙仍显示测试间隙不能活/支付插播式广告。我错过了一些东西呢?

I've added AdMob interstitials to my iOS application and they work fine on the simulator, showing test interstitials. However, upon the release of my application on the App Store I've realized that the interstitials are still showing test interstitials and not live/paid interstitial ads. Have I missed something here?

推荐答案

听起来像是你忘了从您的AdMob广告请求删除您的测试ID。您的要求应该是这个样子:

Sounds like you forgot to remove your test ID from your AdMob request. Your request should look something like this:

// 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] 并提交的更新您的应用程序。

Remove or comment out request.testDevices = @[ @"myTestID"] and submit an update for your application.

这篇关于在发布应用程序的AdMob表现测试间隙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆