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?
Hi, i solved this problem.
Implement admob unity plugin to sample project first which includes creating adactivity.jar file from eclipse. [Reference video : How to Integrate Admob with Unity for Android - Tutorial - YouTube]
Now in your main project implement unity leaderboard official plugin first and make it working after adding the application id successfully. [GitHub - playgameservices/play-games-plugin-for-unity: Google 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.
@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.