Admob plugin

Hi all,
I've created a free plugin for Admob to add Banners, Interstitials and Rewarded Videos with a single line of code.
It works on Android and iOS.

Some examples:

Do you want to add a Banner in XAML?
<controls:AdView AdsId="xxxxxxxxxxxxxxxxxx"></controls:AdView>

Do you want to add a Banner via code?
AdView ads = new AdView();

Want to show an interstitial?
Add this code:
CrossMTAdmob.Current.ShowInterstitial("xx-xxx-xxx-xxxxxxxxxxxxxxxxx/xxxxxxxxxx");

A Rewarded Video?
CrossMTAdmob.Current.ShowRewardedVideo("xx-xxx-xxx-xxxxxxxxxxxxxxxxx/xxxxxxxxxx");

The nuget package is: https://www.nuget.org/packages/MarcTron.Admob

You can also find a tutorial on my blog: https://www.xamarinexpert.it/blog/admob-made-easy/

I hope you like it.

If you have questions or need help, write me here, on my blog or add an issue here:
https://bitbucket.org/marcojak81/mtadmob/issues

Sign In or Register to comment.