选择AdMediator.config的广告单元ID [英] Choice of Ad Unit ID for AdMediator.config

查看:71
本文介绍了选择AdMediator.config的广告单元ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从"通过广告获利"页面下载中介配置时,我会获得不同的广告单元ID,即"Microsoft广告广告单元"中显示的广告单元ID。


哪些是我将用于AdMediator.config吗?







解决方案

您好pcyanide,


根据您的描述,我想是的您在Windows 8.1或Windows Phone 8.1中创建项目。您不需要下载AdMediator.config,请耐心等待以下步骤。

如果您已安装


When Download Mediation Configuration from 'Monetize with ads' page, I get different Ad Unit IDs, that the ones litsed at 'Microsoft advertising ad units'.

Which ones whould I use for AdMediator.config ?



解决方案

Hi pcyanide,

Based on your description, I guess that you create your project in Windows 8.1 or Windows phone 8.1.You don't need to download AdMediator.config, please be patient to read the following step.
If you have installed Microsoft Advertising SDK for Windows and Windows Phone 8.x, in Visual Studio you create Windows 8.1 project and right click References---Add Reference—Ad Mediator SDK for Windows 8.1 XAML.
Then you modify the XAML,

xmlns:AdMediatorControl="using:Microsoft.AdMediator.Windows81"

after that you drag new AdMediatorControl into the designer from the Toolbox, and right click Add Connected Service, please note  making sure your project targets the applicable processor architecture for your app (for example, x86) rather than Any CPU. The control cannot be added to the designer if the project targets Any CPU for the build platform.

Choose Ad Mediator and click configure,

Click OK and then you can find that there is AdMediator.config in your project.

When you package your project and upload your package in the Dashboard, the AdMediator.config will be configured in the Windows ad mediation in Monetize with ads page. You don’t need to download this unless you want to modify these value after publishing the app, because you have configure these value in Visual studio.
More detailed information you could refer to Adding and using the ad mediation control.


这篇关于选择AdMediator.config的广告单元ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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