Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Boyaxchyan · Aug 16, 2017 at 11:28 AM · admobdevelopment build

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?

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image sriram90 · Oct 30, 2017 at 07:40 AM 0
Share

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?

avatar image Boyaxchyan sriram90 · Oct 30, 2017 at 07:52 AM 0
Share

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.

avatar image bbddkksarkar · Apr 19, 2019 at 05:12 PM 0
Share

is there any solution for this??/ ,is there any solution???

3 Replies

· Add your reply
  • Sort: 
avatar image
1

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

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image romilexe · Aug 12, 2019 at 08:26 AM 0
Share

This worked for me. Thanks a lot.

avatar image
0

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.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image FerdinandBuagas · Oct 25, 2017 at 12:31 PM 0
Share

Still no answer for this. Anyone? we need help :(

avatar image FerdinandBuagas · Nov 01, 2017 at 07:07 AM 0
Share

Found a solution: Link

avatar image
0

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. !

Comment
Add comment · Show 22 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image FerdinandBuagas · Oct 30, 2017 at 08:48 AM 0
Share

Hello @chiragjksol , What do you mean direct build? the usual build? and then the admob is now showing?

avatar image chiragjksol FerdinandBuagas · Oct 30, 2017 at 08:51 AM 0
Share

Yes.! Exactly

avatar image FerdinandBuagas · Oct 30, 2017 at 08:52 AM 0
Share

hmmm, ok I'll try it. Thanks buddy.

avatar image FerdinandBuagas · Oct 30, 2017 at 11:22 AM 0
Share

Still not working for me :(

avatar image FerdinandBuagas · Oct 30, 2017 at 11:23 AM 0
Share

It only shows when development build is checked :(

avatar image chiragjksol FerdinandBuagas · Nov 01, 2017 at 05:10 AM 0
Share

Shall you try with another Ads id ?

avatar image FerdinandBuagas · Nov 01, 2017 at 05:13 AM 0
Share

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.

avatar image chiragjksol FerdinandBuagas · Nov 01, 2017 at 05:16 AM 0
Share

What do you mean by build system "Gradle"? Describe me here. please. i'm trying to make build for IOS.

avatar image FerdinandBuagas chiragjksol · Nov 01, 2017 at 05:24 AM 0
Share

File>Build Settings> Build System(I chose "gradle" on this)

Show more comments
avatar image Boyaxchyan FerdinandBuagas · Nov 01, 2017 at 06:50 AM 0
Share

If you don't run it in gradle Unity will not let you build your game because you have the Google Admob plugin

avatar image FerdinandBuagas Boyaxchyan · Nov 01, 2017 at 06:52 AM 0
Share

@Boyaxchyan did you solve your issue bro?

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

75 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

The ads on my game runs when I run it on development build but not in release build. 1 Answer

Development Build 0 Answers

Unable to Show Admob ads | Development Build 1 Answer

Active Canvas Button AdMob 0 Answers

[Unity game admob] Why interstitial ad doesn't work? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges