【问题标题】:Google Mobile Ad issue with Web Trends SDK on iOS appiOS 应用上的 Web Trends SDK 的 Google 移动广告问题
【发布时间】:2015-09-17 08:45:04
【问题描述】:

我们的 iOS 应用已经在我们的 iOS 应用中集成了 Web Trends SDK,现在我们面临着一个奇怪的问题。 GoogleMobileAds 在与 iOS 应用程序集成后无法正常工作,但如果我们删除 Web Trends SDK 则它可以工作。 GoogleMobileAds 是否与 Web Trends SDK 不兼容? 我正在使用以下代码显示谷歌横幅广告。

adView = DFPBannerView(frame:CGRectMake(0, 0, 320, 50))
adView.adUnitID = "/6499/example/banner"
adView.rootViewController = self;
adView.rootViewController = self;
let adrequest = DFPRequest()
adView.loadRequest(adrequest)

我们正在以下控制台中获取日志,可能对您有所帮助。

2015-09-17 12:15:26.275 WebTrendsDemo[270:13293] -[GADAdView previewItem]: unrecognized selector sent to instance 0x157ef560
2015-09-17 12:15:26.276 WebTrendsDemo[270:13293] *** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: <NSInvalidArgumentException> -[GADAdView previewItem]: unrecognized selector sent to instance 0x157ef560

我已经通过创建几个演示应用程序对其进行了测试,但使用 Google Ad 的 Web Trend SDK 得到了相同的结果,但没有成功。 如果我删除 Web Trend SDK,那么 Google Ad start 就像我上面提到的那样工作。您可以通过使用带有 Google Ad 的 Web Trend SDK 创建一个演示应用程序来检查它。 如果您通过创建演示应用成功地使用 Google Ad 实现了 Web Trend SDK,请与我分享。 谢谢

【问题讨论】:

  • 我面临同样的问题。

标签: ios swift google-dfp ios8.4 webtrends


【解决方案1】:

Web Trends SDK 3.0.4 版中存在此问题。请使用 Web Trends SDK 3.0.6 版。 Web Trends 解决了当前 iOS WT SDK 版本中的问题。我能够在 Web Trends 当前 SDK 版本(3.0.6)中获得 Google 移动广告。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-10-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-12-28
    • 1970-01-01
    相关资源
    最近更新 更多