WINdows Phone AdMediation 控件不适用于 adduplex [英] WIndows Phone AdMediation control doesn't work with adduplex

查看:19
本文介绍了WINdows Phone AdMediation 控件不适用于 adduplex的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经集成了 AdMediation 控件 进入我的 Windows Phone 应用程序.这适用于 pubCenter 和 Google AdMob,但不适用于 adduplex.

I've integrated the AdMediation control into my Windows Phone app. This works fine for pubCenter and Google AdMob but not for adduplex.

根据文档,我已经使用了 adduplex 中的 App ID(adduplex 仪表板中的 App 键),但我仍然显示配置错误横幅.我发现这个博文几天前.该帖子说我必须使用广告单元 ID(adduplex 仪表板中的横幅)而不是 App 键,但这也不起作用.

According to the documentation, I've used the App ID from adduplex (App key in adduplex dashboard) but I still get a configuration error banner displayed. I found this blog post a few days ago. The post says that I have to use the Ad unit ID (banner in adduplex dashboard) instead of the App key but this it does not work either.

将 AdMediation 控件与 adduplex 结合使用的人能否以正确的方式向我解释?

Can somebody who is using the AdMediation control with adduplex explain me the right way?

推荐答案

AdDuplex 使用了自 AdDupplex 插页式广告.

AdDuplex uses new identifiers since the introduction of AdDupplex Interstitial ads.

AppId 标识符已被替换为 AdUnitIdAppKey,但当时广告中介仍使用旧版本的 AdDuplex SDK写作.

The AppId identifier has been replaced with AdUnitId and AppKey, but the ad mediator still uses an older version of AdDuplex SDK at the time of writing.

如何让它发挥作用

在 AdDuplex 中所做的概念更改向后兼容.广告单元 ID 可与旧 SDK 使用的 App ID 互换.

The conceptual changes made in AdDuplex are backwards compatible. The Ad unit ID is made to be interchangeable with App ID used by older SDKs.

因此,您只需将 Ad Mediator 配置中的 App ID 设置为 AdDuplex Ad unit Id.

So you will just have to set the App ID in the Ad Mediator configuration to AdDuplex Ad unit Id.

我仍然收到广告配置错误

如果您使用模拟器进行测试,您仍会收到广告配置错误.出于某种原因,广告中介在模拟器中运行时使用不同的配置.它基本上会忽略您的设置,只使用 0 作为 App ID

If you are using an emulator for testing you will still get the ad configuration error. For some reason ad mediator uses a different configuration when run in an emulator. It basically ignores your settings and just uses 0 for App ID

对此有一个解决方法.可以在 AdMediator.config 文件中编辑测试配置,该文件通过广告中介控件添加到项目中.找到 TestConfiguration 标记并将其 AppId 值从 0 更改为您的 Ad unit Id

There is a workaround for this. The test configuration can be edited in the AdMediator.config file, which is added to the project with the ad mediator control. Find the TestConfiguration tag and change it's AppId value from 0 to your Ad unit Id

这篇关于WINdows Phone AdMediation 控件不适用于 adduplex的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆