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 Banner](https://www.xamarinexpert.it/wp-content/uploads/2020/07/MTAdmob_Banner-1-511x1024-249x500.png)
![Admob interstitial Admob interstitial](https://www.xamarinexpert.it/wp-content/uploads/2020/07/MTAdmob_interstitial-249x500.png)
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();