- Home /
Unity and Admob using latest Play Services Plugin
The latest AdMob plugin for unity updates are over 6 months old, and google seems to be saying it is now integrated in the play services plugin, so how do I stop using the admob plugin and start using just the play services plugin? There doesn't seem to be anything like "using GooglePlayGames.Admob;" or similar, so how in the world do I use types like "BannerView" and "AdRequest", which the admob plugin relied on? Am I missing something here, or has google forgotten about ol' unity?
Play Games Services plugin: https://github.com/playgameservices/play-games-plugin-for-unity
Admob Plugin (now apparently obsolete): https://github.com/googleads/googleads-mobile-unity
You should use them both (in case you want both google play services and admob in your game), notice that Admob was updated only 6 days ago... it's not obsolete. The recent update of these 2 plugin came because there were many problems integrating both of them together. Good luck
Answer by VegaStudio_Kevin · Mar 10, 2017 at 07:08 AM
I had this problem also today and i hav found a wunderful solution! :D Check this plugin! I Love it!
Answer by DroidifyDevs · Feb 09, 2016 at 01:15 AM
Google Admob and Google leaderboards are HORRIBLY done in Unity (like most Google products, Google doesn't like to support things properly). I was able to get either Admob OR Google play Leaderboards to work, but not both (since they have some conflicting .JAR files). So keep that in mind if you're already using Google Leaderboards. This tutorial claims to have them both work at the same time, but I didn't have much luck with it: https://www.youtube.com/watch?v=kBRb9ba71qI
Watch the tutorial and it should work!
Well since this question, I've been able to integrate both, as well as prior to this question, and it took a bit of tinkering but I posted how to fix that problem on the page where the Ad$$anonymous$$ob plugins hosted, and another user went into more detail about fixing it. Anyway yeah I came to discover that despite it being built into play services (as far as I can tell if you were using eclipse and android sdk you wouldn't need another plugin) but within unity I still have to use the plugins. Both of them. It is strange how the changes have been rolled out by google, but I would see the convenience of having everything unified in one plugin, but apparently we don't see that benefit, and still require the dated plugin. Someone (please) correct me if I'm wrong...
Well, there was an update a few days ago that supposedly fixed the issue of the 2 plugins clashing. I might give it another shot if I need to! It would be really nice from Google if they combined all the services into 1 plugin, ins$$anonymous$$d of using 2 separately. However it doesn't look like Google is too interested in Unity at the moment so don't expect that soon.
Answer by bigjobs · Aug 08, 2016 at 03:59 PM
firebase version unity plugin may solve your problem. https://github.com/unity-plugins/Firebase-Admob-Unity
Answer by liortal · Mar 10, 2017 at 08:27 PM
I believe this is the official plugin from Google: https://github.com/googleads/googleads-mobile-unity
Also, you should check out the latest documentation here: https://firebase.google.com/docs/admob/unity/start
Answer by nurulhuda_rizal · Sep 07, 2017 at 06:56 PM
see this video for best ways
https://www.youtube.com/playlist?list=PLOW2-VkIXKtXxFkZ8zGdsinHzteTbDIxR
Your answer
Follow this Question
Related Questions
Admob calculating banner Ad size 0 Answers
I am not getting reward after the ad (Admob) 0 Answers
How do I enable AdMob to respond to inputs? 0 Answers
Unity + Admob dependencies 0 Answers
admob related question 2 Answers