错误/ZestADZAdView SDK(30873):在 Android 中将 Zest 与 adwhirl 集成时,在 fetchConfig() 中捕获 IOException

发布于 2024-12-27 09:32:31 字数 601 浏览 3 评论 0原文

我在使用 Zest (Komli) AdNw 和 Adwhirl 时没有收到任何广告 并且代码引发了这个异常.. 谁能告诉我为什么??

与任何 adNw 一样..我只是将 SDK 放入应用程序中..声明所需的权限..然后请求广告.. 它与 Admob 配合良好..

    LinearLayout adLayout = (LinearLayout) findViewById(R.id.ads);
        AdWhirlLayout adWhirlLayout = new AdWhirlLayout(this, "Key");
        RelativeLayout.LayoutParams adWhirlLayoutParams = new RelativeLayout.LayoutParams(LayoutParams.FILL_PARENT,
        LayoutParams.WRAP_CONTENT);
        adLayout.addView(adWhirlLayout, adWhirlLayoutParams);
//        AdWhirlTargeting.setTestMode(true);
        adLayout.invalidate();

I'm not receiving any ads while using Zest (Komli) AdNw with Adwhirl
and the code fires this excpetion..
Can anyone tell me why??

Like any adNw ..i just put the SDK in the application..declaring Needed Permsissons..then requesting the ads..
It works fine with Admob..

    LinearLayout adLayout = (LinearLayout) findViewById(R.id.ads);
        AdWhirlLayout adWhirlLayout = new AdWhirlLayout(this, "Key");
        RelativeLayout.LayoutParams adWhirlLayoutParams = new RelativeLayout.LayoutParams(LayoutParams.FILL_PARENT,
        LayoutParams.WRAP_CONTENT);
        adLayout.addView(adWhirlLayout, adWhirlLayoutParams);
//        AdWhirlTargeting.setTestMode(true);
        adLayout.invalidate();

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夏末 2025-01-03 09:32:31

此问题发生在源 这里,在方法中的某个地方,只是尝试获取配置并将响应 json 转换为字符串。看起来像是在 AdWhirl 中配置 id 时出现问题。尝试击打

http://mob.adwhirl.com/getInfo.php? appver=311&appid=YOUR_APP_KEY

并将 YOUR_APP_KEY 替换为您的实际应用密钥。看看您是否在回复中发现了异常之处。

This issue is happening in the source here, somewhere in the method that is just trying to fetch the config and convert the response json into a String. It looks like an issue with configuring your ids in AdWhirl. Try hitting

http://mob.adwhirl.com/getInfo.php?appver=311&appid=YOUR_APP_KEY

and replacing YOUR_APP_KEY with your actual app key. See if you find something out of the ordinary in the response.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文