新开发中心平台和旧Windows 8 [英] New Dev Center platform and old Windows 8

查看:61
本文介绍了新开发中心平台和旧Windows 8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好! :D $


我正面临一些麻烦,试图将一些新的广告引用放到Windows 8应用程序中。 Pubcenter帐户不再提供任何创建Windows 8广告的方法。考虑到这一点,我使用新的DevCenter货币化页面来创建一些"PC /平板电脑"。
广告。



创建新的"PC /平板电脑"后广告,我登录到我的Pubcenter Acc以检查它们的大小,因为它没有通知Dev Center Acc,因此需要Windows 8实施。我发现广告单元的大小由
自动创建,新的Dev Center Acc为300x250。比我编写以下代码示例:



*使用和引用Microsoft Advertising SDK for Windows 8(JS) - 版本6.1;



< script src =" /MSAdvertisingJS/ads/ad.js">< / script> 

<! - (...) - >

< div id =" myAd" style =" border:1px solid #ccc; ;上:200px;左:0px;宽度:300px;身高:250px; z-index:1"
data-win-control =" MicrosoftNSJS.Advertising.AdControl"
data-win-options =" {applicationId:'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',adUnitId:'xxxxxxxx'}">
< / div>

我也尝试了测试示例:



< div id =" myAd" style =" border:1px solid #ccc; ;上:200px;左:0px;宽度:300px;身高:250px; z-index:1" 
data-win-control =" MicrosoftNSJS.Advertising.AdControl"
data-win-options =" {applicationId:'d25517cb-12d4-4699-8bdc-52040c712cab',adUnitId:'10043055'}">
< / div>

没有成功,没有广告...



我曾经实现这种方式,但在Windows 10和新开发中心发布后,它似乎不再起作用。 

有关正在发生的事情或要做什么的任何想法?


任何人都面临Windows 8.1的这种情况吗?


感谢您的建议! :D
$





解决方案

我有完全相同的问题。我使用xaml。


任何人都可以提供一个在Windows 8.1应用程序上显示开发中心广告单元的示例吗?


非常感谢。


Hello! :D

I'm facing some troubles trying to put some new Ad references to a Windows 8 Application. The Pubcenter account does not present any way to create Windows 8 Ads anymore. Thinking on this, I used the new DevCenter monetizations page to create some "PC/Tablets" Ads.

After create new "PC/Tablets" Ads, I logged into my Pubcenter Acc to check the size of them, because it's not informed at Dev Center Acc and it is necessary to Windows 8 implementation. I discovered that the Ad Unit size created autommatically by the new Dev Center Acc is 300x250. Than I wrote the follow sample of Code:

*Using and referenced Microsoft Advertising SDK for Windows 8 (JS) - Version 6.1;

<script src="/MSAdvertisingJS/ads/ad.js"></script>

<!-- (...) -->

<div id="myAd" style="border: 1px solid #ccc; ; top: 200px; left: 0px; width: 300px; height: 250px; z-index: 1" 
             data-win-control="MicrosoftNSJS.Advertising.AdControl" 
             data-win-options="{applicationId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', adUnitId: 'xxxxxxxx'}">
        </div>

I tried the test examples too:

<div id="myAd" style="border: 1px solid #ccc; ; top: 200px; left: 0px; width: 300px; height: 250px; z-index: 1" 
             data-win-control="MicrosoftNSJS.Advertising.AdControl" 
             data-win-options="{applicationId: 'd25517cb-12d4-4699-8bdc-52040c712cab', adUnitId: '10043055'}">
        </div>

No success, no Ads...

I used to implement that way, but after release of Windows 10 and new Dev Center, it seems to not work anymore. 
Any ideas of what is happening or something to do?

Anyone facing this situation with the Windows 8.1 too?

Thanks in advice! :D


解决方案

I have exactly the same question. I use xaml.

Can any one help with providing an example of showing dev center ad units on windows 8.1 application?

Thanks very much.


这篇关于新开发中心平台和旧Windows 8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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