iOS中的AdMob原生高级广告收到无效回复

时间:2018-06-05 06:48:01

标签: iphone swift admob google-admob native-ads

我已下载google admob测试项目。

https://github.com/googleads/googleads-mobile-ios-examples/tree/master/Swift/admob/NativeAdvancedExample

这个项目成功运行但没有展示广告。

总是打电话给didFailToReceiveAdWithError方法

并收到无效回复。

 2018-06-05 11:55:10.072277+0530 NativeAdvancedExample[3880:87303] <Google:HTML> undefined is not an object (evaluating 'a.tracking_urls_and_actions') 

<GADAdLoader: 0x6040002a7c20> failed with error: Request Error: Received invalid response.

任何人都可以弄明白?

的错误

1 个答案:

答案 0 :(得分:2)

我认为您默认使用的是Google提供的测试ID。

  use "YOUR_ADMOB_APP_ID"