Xamarin Forms Advertisements : Platform switching best practice?

Stewart 106 Reputation points
2020-12-15T17:26:04.867+00:00

Please spend 5 mins helping.

I started with Xamarin Forms, Android and implemented Google Advertisements at Forms xaml level (with an Ads control).

When I added a UWP project I notice the Google Ads are not working so my next step is to develop Microsoft Advertisements in UWP.

What is best practice?

Should I switch platform specific Ads in XAML, C#?

Should, in fact, Google Ads work in UWP?

Many thanks
Stew

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,301 questions
Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
393 questions
0 comments No comments
{count} vote

Accepted answer
  1. Stewart 106 Reputation points
    2020-12-17T16:27:32.507+00:00

    The monetization programme was ended June 2020
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/db8d44cb-1381-47f7-94d3-c6ded3fea36f/microsoft-ad-monetization-platform-shut-down-as-of-june-1st?forum=aiamgr

    Is there an example/tutorial for using one of the following as per the article?

    IronSource https://brands.ironsrc.com/windows Email: digital-web-sdk@ironsrc.com
    Pubfinity (https://pubfinity.com) Email: support@pubfinity.com
    Vungle https://publisher.vungle.com/sdk/sdks/windows Email: windowsplatform@vungle.com

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Stewart 106 Reputation points
    2020-12-16T15:20:02.907+00:00

    https://montemagno.com/xamarin-forms-uwp-ads/ @James Montemagno will your example still work and is recommended? I need an 'Adrenderer' per platform.
    https://learn.microsoft.com/en-us/windows/uwp/monetize/display-ads-in-your-app @James Montemagno or is this one better and should be accordingly coded?

    0 comments No comments