Ad mediation in the Windows Universal Application (xaml)

I have a universal application for Windows (or WP8.1 XAML and Windows 8.1) with adControl. In every application, adcontrol is included in userControl because it is used on different platforms.

At the moment, everything is working well in my WP8.1 application and in my Windows 8.1 application.

Today I tried to replace AdControl with an ad broker in my Windows Phone application. I completed this documentation: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn864359.aspx

My WP8.1 application has good ads.

BUT, the ads in the Windows 8.1 app have disappeared.

I don’t have an error, the ability to check "Internet (client)", "Microsoft Advertising SDL for Windows 8.1 (XAML)" was added to my project links. But more advertising ...

Does anyone have the same issue after adding “ad mediation”? Is this because Ad Mediation is replacing some packages somewhere in my project?

+4
source share
3 answers

I have no answer, but you can do these tests:

  • Display an ad with test values ​​(test values ​​are determined by Microsoft to test the ads):

: http://msdn.microsoft.com/en-us/library/advertising-windows-test-mode-values(v=msads.10).aspx

, .

, , appId adId .

, , .

  • AdControl

728x90, adControl 364x45, adControl 728x90.

, adControl. , .

-

adControl 364x45, 728x90.

, , , , , .

Ad ( WP). ( Windows).

, , , Ad mediation Microsoft Advertising SDK, , SDK , AdControl . - , , .

0

, AdMediator.config . , id adunit , dev.

:

var adunit = new Microsoft.AdMediator.WindowsPhone8.AdMediatorControl
{
    Name = "AdMediator_XXXXXX",
    Id = "AdMediator-Id-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
    Width = 480,
    Height = 80,
    HorizontalAlignment = HorizontalAlignment.Left,
    VerticalAlignment = VerticalAlignment.Top,
    Visibility = App.SettingsViewModel.IsTrial ? Visibility.Visible : Visibility.Collapsed
};

PS MSDN , , Microsoft .

0

, Windows 10... , 300x250. , , pub ( dev ). , Microsoft .

300xx250 10, admediator = 300 height = 250, .

0

All Articles