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" />