Adduplex 显示错误“广告单元配置错误" [英] Adduplex showing error "ad unit configuration error"

查看:34
本文介绍了Adduplex 显示错误“广告单元配置错误"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 Windows Phone 应用程序 我想在其中集成 Adduplex.我按照步骤 在他们的页面.但是当我运行该应用程序时,它显示广告单元配置错误".

I have a Windows Phone App in which I want to integrate Adduplex. I followed the step in their page. But when I run the App it is showing "ad unit configuration error".

我已经在 MainPage.xaml 中输入了这些

I have entered these in MainPage.xaml

xmlns:ad="using:AdDuplex.Universal.Controls.WinPhone.XAML"

<ad:AdControl x:Name="adDuplexAd" 
                AppId="72cf2095-a3a4-44b5-94b0-54f7d40d7d25" Margin="0,3,0,0" Canvas.ZIndex="1" VerticalContentAlignment="Top" VerticalAlignment="Top" />

这是显示错误的屏幕截图:

Here is the screenshot of the displayed error:

推荐答案

修复了问题.问题出在 App ID 上.我提供了 Windows Phone 商店 ID 而不是 ad duplex 提供的 App ID.

Fixed the issue. Problem was in the App ID. I had provided Windows Phone store ID instead of App ID provided by ad duplex.

<ad:AdControl x:Name="adDuplexAd" 
                AppId="123151" Margin="0,3,0,0" Canvas.ZIndex="1" VerticalContentAlignment="Top" VerticalAlignment="Top" />

这篇关于Adduplex 显示错误“广告单元配置错误"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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