问题描述
我不能让微软pubCenter广告在我的Windows Phone 8应用工作。
当我运行我的应用程序我只看到白色的空间,而不是广告
更改测试值似乎并没有显示广告既不
你能帮助我吗?在此先感谢
I can't get Microsoft pubCenter ads to work in my Windows Phone 8 App.When I run my app I only see white space instead of the adChanging to test values doesn't seem to show an ad neitherCan you help me? Thanks in advance
这就是我在pubCenter帐户
见
That's what I see in my pubCenter account
这是我的XAML和我的应用程序的引用
That's my XAML and my app's references
推荐答案
试试这个它应该可以正常工作
Try this It Should Work fine
XAML中:
xmlns:UI="clr-namespace:Microsoft.Advertising.Mobile.UI;assembly=Microsoft.Advertising.Mobile.UI"
<UI:AdControl ApplicationId="test_client" AdUnitId="Image480_80" Height="80" Width="480" VerticalAlignment="Bottom" ErrorOccurred="AdControl_ErrorOccurred"/>
以下ID_CAP功能必须包含在启用了广告,应用程序的清单。
ID_CAP_IDENTITY_USER
The following ID_CAP capabilities must be included in the manifest of the advertising-enabled app.ID_CAP_IDENTITY_USER
ID_CAP_MEDIALIB_PHOTO
ID_CAP_MEDIALIB_PHOTO
ID_CAP_NETWORKING
ID_CAP_NETWORKING
ID_CAP_PHONEDIALER
ID_CAP_PHONEDIALER
ID_CAP_WEBBROWSERCOMPONENT
ID_CAP_WEBBROWSERCOMPONENT
这篇关于微软pubCenter广告在我的WP8应用不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!