AdMob停用测试广告(iOS)(AdMob disabling test ads (iOS))

系统教程 行业动态 更新时间:2024-06-14 16:57:40
AdMob停用测试广告(iOS)(AdMob disabling test ads (iOS))

我刚刚注册了AdMob并且已经在我的应用程序中使用测试广告(使用模拟器和我的iPhone)。 我想知道你是否需要在发布到App Store之前以某种方式禁用测试广告?

另外,您应该删除测试设备代码吗? 例如

request.testDevices = @[ @"My_iPhone", kGADSimulatorID ];

I just signed up for AdMob and have got it working in my app with test advertisements (using the simulator and my iPhone). I was wondering if you need to disable test ads somehow before publishing to the App Store?

Also, should you remove the test devices code? E.g.

request.testDevices = @[ @"My_iPhone", kGADSimulatorID ];

最满意答案

在发布之前,您无需删除测试设备。 它是可选的。

kGADSimulatorID适用于您的模拟器。 保持在那里不会有任何不同。 如果您将物理设备添加为另一个测试ID,并希望立即在该设备上获取实时广告,请将其删除。

You don't need to remove the test devices before you can publish. Its optional.

The kGADSimulatorID is for your emulator. keeping there there will not make any different. If you added your physical device as another test id, and want to get live ads now on that device, remove that.

更多推荐

本文发布于:2023-04-13 12:14:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/dzcp/5994fed44b3b227faf01edb05232d139.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:测试   广告   AdMob   iOS   ads

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!