- Home /
Display admob banner with google play leaderboard..
I am trying to display admob banner with google play leaderboard. Is it OK when I implement them separately. But it doesn't work when I use them both. No error messages, but admob banner does not appear. Leaderboard works well though. I guess I am one step behind. But can't take the last step. I am using GooglePlayGamesPlugin-0.9.07.unitypackage and AdMobUnityPlugin.unitypackage. I thought I did everything needed by the manual. But I may have missed something. Can anyone help me out?
I am facing the same problem. Did you find any solution? I think the problem lies with android manifest.
Answer by Arpit Rastogi · Jun 18, 2015 at 11:27 AM
Hi, i solved this problem.
Implement admob unity plugin to sample project first which includes creating adactivity.jar file from eclipse. [Reference video : https://www.youtube.com/watch?v=NR1xOMxLm04]
Now in your main project implement unity leaderboard official plugin first and make it working after adding the application id successfully. [https://github.com/playgameservices/play-games-plugin-for-unity]
After implementing it, simply add GoogleMobileAdsDemoScript.cs in your Asset folder from sample admob project (e.g. HelloWorld from admob plugin example)
Add GoogleMobileAds folder from sample admob project to Asset folder of working project
Now add AndroidManifest file from sample project following folder C:..Project folder\Assets\Plugins\Android to the respective folder of your main project
Add GoogleMobileAdsPlugin folder to C:..Project folder\Assets\Plugins\Android
Now add adactivity.jar from your sample project's libs folder C:..Project folder\Assets\Plugins\Android\google-play-services_lib\libs to your main project respective libs folder.
And it works that way. Hope it helps.
Answer by mhhk88 · Jun 19, 2015 at 12:23 PM
@Arpit Rastogi I didn't expect anyone would answer to this. But you did. Thank you so much and I will try your solution soon. :)
Your answer
![](https://koobas.hobune.stream/wayback/20220613172622im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unable to convert classes into dex format 1 Answer
Admob banner not showing up? 2 Answers
Need help with admob . 0 Answers