HI,
I'm considering to migrate one of my old project in Xamarin Forms 3.5. I read a post but it is old and I don't know thing this post is still valid.
Is there any updated implementation for adding adv in apps? Is there any guide?
I think it's not very difficult to implement the AdMob. For Xamarin.Forms, we just create a custom content view on PCL and set up the configurations on each platform using custom renderer. Maybe some Apis will have some updates, but you only need to focus on the specific platforms. The Xamarin.Firebase.Ads for Android side and the Xamarin.Firebase.iOS.AdMob for iOS side. The updates will not affect the Forms version you are using.
If you want some newer blogs talking about how to implement AdMob for Xamarin.Forms, you could refer to: https://xamarinhelp.com/admob-xamarin-forms-display-google-ads-mobile-app/ https://www.c-sharpcorner.com/article/google-admob-display-ads-in-xamarin-forms/
Answers
I think it's not very difficult to implement the AdMob. For Xamarin.Forms, we just create a custom content view on PCL and set up the configurations on each platform using custom renderer. Maybe some Apis will have some updates, but you only need to focus on the specific platforms. The Xamarin.Firebase.Ads for Android side and the Xamarin.Firebase.iOS.AdMob for iOS side. The updates will not affect the Forms version you are using.
If you want some newer blogs talking about how to implement AdMob for Xamarin.Forms, you could refer to:
https://xamarinhelp.com/admob-xamarin-forms-display-google-ads-mobile-app/
https://www.c-sharpcorner.com/article/google-admob-display-ads-in-xamarin-forms/
Hi @EnricoRossini
you can use my free plugin https://www.nuget.org/packages/MarcTron.Admob.
It supports Banner, Interstitial and Rewarded Video for Android and iOS and it's incredibly easy to use.
On my blog you can also find a tutorial: https://www.xamarinexpert.it/blog/admob-made-easy
If you need help, let me know.
Hi @MarcoTroncone Thank you for your post! It is useful. Are you planning to create an implementation for
UWP
?