未能在Windows 10 Advertising SDK的UWP应用中使用真实广告横幅和插页式广告 [英] Fail to use real ads banners and interstitial in UWP app with Windows 10 Advertising SDK

查看:89
本文介绍了未能在Windows 10 Advertising SDK的UWP应用中使用真实广告横幅和插页式广告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我拼命想让广告在我的UWP应用程序中运行。


我在我的网站中实现了横幅和插页式广告C ++ / XAML应用程序分别使用Microsoft :: Advertising :: WinRT :: UI :: AdControl和Microsoft :: Advertising :: WinRT :: UI :: InterstitialAd对象。使用此演练中提供的测试appID和
unitID值,一切正常:  https://msdn.microsoft.com/en-us/library/Mt125365%28v=MSADS.100%29.aspx?f = 255& MSPPError = -2147217396#Native10WhatsInThisSDK


但是,我无法使用自己的ID工作。为此,我去了我的开发中心仪表板,因为看起来pubCenter现在已被弃用(我是对的吗?)。然后我进入"通过广告获利/货币化"我的应用的页面。在"Microsoft
广告广告单元"中,我可以创建新的横幅广告和插页式广告。第一个问题:
如何选择横幅尺寸 ???因为开发中心没有选项。如果我继续使用我的pubCenter信息中心,我可以看到我新制作的广告,并且说我的横幅广告是300x250,但我无法更改它们。


当我尝试使用我的横幅和插页式ID,没有任何作用。例如,在使用我的插页式广告ID时,我会收到"无效的XML"字样。错误通过  ErrorOccurred事件。我该如何使用自己的ID?我找不到关于
的任何信息。


谢谢

解决方案

我终于成功了。该帖子解释了解决方案:  https://social.msdn.microsoft.com/Forums/en-US/82b50e95-59bc-44cf-b25d-2dd5950847ea/interstitialad-video-never-showed-up?forum = aiasdk


但是,我仍然无法选择广告横幅尺寸。说真的......仍然没有选择使用Windows开发中心网站的选项,我无法通过pubCenter网站进行任何修改。我所能做的只是创建300x250横幅。


这是一个严重的情况,我真的很惊讶微软似乎并不关心它......


Hi,

I desperately trying to make ads work in my UWP application.

I implemented both banners and interstitial in my C++/XAML app using respectively a Microsoft::Advertising::WinRT::UI::AdControl and a Microsoft::Advertising::WinRT::UI::InterstitialAd object. Everything works fine using test appID and unitID values provided in this walkthrough: https://msdn.microsoft.com/en-us/library/Mt125365%28v=MSADS.100%29.aspx?f=255&MSPPError=-2147217396#Native10WhatsInThisSDK

However, I can't make them work using my own ID. To do that, I went to my dev center dashboard because it seems that the pubCenter is now deprecated (am I right?). Then I go in the "Monetization/Monetize with ads" page of my app. In the "Microsoft advertising ad units", I can create new banners and interstitials. First question: how to I choose the banner size??? Because there is no options in the dev center. If I go on my pubCenter dashboard, I can see my newly created ads, and it says that my banners are 300x250, but I have no way to change them.

When I try to use my banners and interstitial IDs, nothing works. For example, when using my interstitial ID, I receive a "Invalid XML" error through the ErrorOccurred event. How am I supposed to use my own IDs? I can't find any info about it.

Thanks

解决方案

I finally managed to make it work. The solution is explained in this post: https://social.msdn.microsoft.com/Forums/en-US/82b50e95-59bc-44cf-b25d-2dd5950847ea/interstitialad-video-never-showed-up?forum=aiasdk

However, I still cannot choose my ad banner size. Seriously... There is still no option to choose using the Windows Dev Center website, I can't do any modification through the pubCenter website. All I can do is create 300x250 banners.

This is a serious situation, and I'm really surprised that Microsoft doesn't seem to care about it...


这篇关于未能在Windows 10 Advertising SDK的UWP应用中使用真实广告横幅和插页式广告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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