本文介绍了iTunes Connect测试飞行不会播放AdMob测试广告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我刚刚仔细检查了Xcode项目,上传到iTunes Connect的内部版本已启用AdMob测试广告.但是,在测试飞行的内部测试过程中,该内部版本并未播放AdMob测试广告,而是在播放实时广告.
I just double checked in my Xcode Project and the build I uploaded to iTunes Connect has AdMob test ads ON. However, this same build during Test Flight's Internal Testing is not playing the AdMob test ads, it's playing live ads.
如何在Beta测试期间播放AdMob测试广告?
How do I make it play AdMob test ads during beta testing?
推荐答案
要获取测试admob广告,您需要指定测试设备.否则,只会在模拟器中显示测试广告.
To get test admob ads, you need to specify test device. otherwise, only in simulator it shows test ads.
要指定测试设备:
GADRequest *request = [GADRequest request];
request.testDevices = @[ @"2077ef9a63d2b398840261c8221a0c9a"]; //my iPhone's UDID
[self.bannerView loadRequest:request];
这篇关于iTunes Connect测试飞行不会播放AdMob测试广告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!