为什么我的AdControl总是触发ErrorOccured事件? [英] Why my AdControl always fires ErrorOccured event ?

查看:95
本文介绍了为什么我的AdControl总是触发ErrorOccured事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天我在Microsoft Pubcenter注册时创建了新的应用程序和新的广告单元,将他们的ID复制到我的AdControl但没有任何反应。它始终使用"无可用广告"触发ErrorOcured事件。这是我的代码

Today I registered in Microsoft Pubcenter created new application and new ad unit, copy their id's to my AdControl but nothing happens. It always fires ErrorOcured event with "No Ad Available". Here is my code

<UI:AdControl 
            ApplicationId="1dccea31-9046-4db7-8b3b-fe52fbff0cb3" 
            AdUnitId="110581" 
            HorizontalAlignment="Left" 
            Height="125" 
            Margin="0,0,0,0" 
            VerticalAlignment="Top" 
            ErrorOccurred="AdControl_ErrorOccurred_1"
            Width="250"/>

有人可以帮忙吗?

推荐答案

尝试更改pubcenter中显示的广告类型
Try changing what type of ads are being displayed in the pubcenter


这篇关于为什么我的AdControl总是触发ErrorOccured事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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