Skip to content

MtAdmob – Admob plugin for Xamarin and Windows

Add banners, interstitials and rewarded videos to your Xamarin Android and iOS and Windows apps in just a couple of minutes. for Free!

Get started with MTAdmob

A quick introduction on how to use the plugin

Banner

 

Using XAML:

<controls:MTAdView />

*Remeber to add this line in your XAML:

xmlns:controls=”clr-namespace:MarcTron.Plugin.Controls;assembly=Plugin.MtAdmob”

Using code:

MTAdView ads = new MTAdView();

Then add this view to any of your page controls.

Admob Banner
Admob interstitial

Interstitial

 

To load:

CrossMTAdmob.Current.LoadInterstitial(“xx-xxx-xxx-xxxxxxxxxxxxxxxxx/xxxxxxxxxx”);

To show:

CrossMTAdmob.Current.ShowInterstitial();

Rewarded Video

 

To load:

CrossMTAdmob.Current.LoadRewardedVideo(xx-xxx-xxx-xxxxxxxxxxxxxxxxx/xxxxxxxxxx);

 

To show:

CrossMTAdmob.Current.ShowRewardedVideo();

Admob Rewarded Video

You can now focus on pure development, MtAdmob will take care of the ads.