【问题标题】:AdMob Native Advanced Ads in an iOS Get Received invalid responseiOS 中的 AdMob 原生高级广告收到无效响应
【发布时间】:2018-06-05 06:48:01
【问题描述】:

我已经下载了 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.

谁能弄清楚这是怎么回事?

【问题讨论】:

  • 我使用的是 xcode 9.4 版。

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


【解决方案1】:

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

  use "YOUR_ADMOB_APP_ID"

【讨论】:

    猜你喜欢
    • 2018-04-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-02-14
    • 2018-07-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多