- Home /
Google Admob ads not showing in the game
I got admob showing ads in a development build, but it doesn't show the ads in a final build.
Anyone got an idea why is this happening?
Could you add more information related to what platform and are you receiving any errors? Did you double check the Ad$$anonymous$$ob ID was fine?
The ads were showing in the development builds, but not in final ones and I was not sure if it was ok to publish the development build to the play store.
is there any solution for this??/ ,is there any solution???
Answer by hrpahlevan · Jul 07, 2019 at 07:32 AM
In your project files Search "proguard-user.txt.DISABLED" and open it, then copy the below code into it, and rename file to "proguard-user.txt".
-keep class com.google.unity.** {
*;
}
-keep public class com.google.android.gms.ads.**{
public *;
}
-keep public class com.google.ads.**{
public *;
}
-keepattributes *Annotation*
-dontobfuscate
Answer by FerdinandBuagas · Oct 07, 2017 at 01:27 PM
Same Issue here. it's been 4 days now.. I still don't see my real ads.
Still no answer for this. Anyone? we need help :(
Answer by chiragjksol · Oct 30, 2017 at 08:38 AM
I re-import GoogleMobileAds unity package and make a direct final build. work for me. !
Hello @chiragjksol , What do you mean direct build? the usual build? and then the admob is now showing?
It only shows when development build is checked :(
Hello buddy @chiragjksol , Are you running it on build system "Gradle"?
I just found the solution right now , as in just now lol. I'll post later and i'll tag you. I'm soo happy lol. Just a $$anonymous$$ute.
What do you mean by build system "Gradle"? Describe me here. please. i'm trying to make build for IOS.
File>Build Settings> Build System(I chose "gradle" on this)
If you don't run it in gradle Unity will not let you build your game because you have the Google Admob plugin
@Boyaxchyan did you solve your issue bro?