Adduplex showing error “ad unit configuration error”

这一生的挚爱 提交于 2019-12-11 19:57:16

问题


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

I have entered these in MainPage.xaml

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

and

<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:


回答1:


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



来源:https://stackoverflow.com/questions/26850498/adduplex-showing-error-ad-unit-configuration-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!