Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我无法让真正的广告工作,在 xcode 模拟器中我可以看到测试广告,现在我正在使用 Xib 和 AdViewController 来显示广告。
这是我收到的消息:无法填写广告请求。这是一种常见的情况。AdMob:在 AdViewController 中接收广告失败
我在这个问题上需要一些帮助,因为我被卡住了,谢谢。
您将在您提交的真实应用中获得真实的广告。在模拟器上,只有测试广告才能显示一切正常。
使用模拟器时,您会遇到各种情况。有时您会收到测试广告并且一切正常。有时您实际上会得到模拟错误。后者是为了让您可以测试您的代码,以便它可以处理处理广告时的所有情况。