Shin-NiL / Godot-Android-Admob-Plugin

Android AdMob plugin for Godot Game Engine 3.2 or higher
MIT License
548 stars 67 forks source link

Admob real ad not showing the ads. #70

Open ravanxgames opened 4 years ago

ravanxgames commented 4 years ago

Godot version: 3.2.2 AdMob Plugin version: 4.0.0 Issue description:

is_real = true for production build done. But the real ad not showing in the game. When i give the test Ad appID its working perfectly.

How to solve the issue? no error showing. while taking signed build, i just followed all setting.

ravanxgames commented 4 years ago

Attached the screenshot of my settings.

Screenshot 2020-08-21 at 3 10 15 PM Screenshot 2020-08-21 at 3 10 25 PM Screenshot 2020-08-21 at 3 10 51 PM
Shin-NiL commented 4 years ago

First of all, you should not edit the AdMob lib gdscript file, you should edit their properties in the inspector. To debug your app, you can use logcat either via command line or Android Studio, this way you can get more helpful information.

M0liusX commented 4 years ago

I am getting the same issue I believe. Only tests ads show up even when I set is_real = true in the inspector

Additionally none of the signals seem to be working from AdMob.

Here are my error messages from logcat: onAdLoadedError AdmobSignals

Shin-NiL commented 4 years ago

@M0liusX don't use the demo code from the main branch, download the source code zip file from the release tab or make sure you're navigating in the correct tag version, ex: https://github.com/Shin-NiL/Godot-Android-Admob-Plugin/tree/v4.0.0.

M0liusX commented 4 years ago

@Shin-NiL That fixed the signals! Thanks.

However Now I get a different error whenever I try to put is_real = true. No ads show up and I get the following in logcat:

image

M0liusX commented 4 years ago

Never mind... this is an error with AdMob and out of scope as you said. I will go ahead and figure this out on my own. Thanks for the help!

Lamelynx commented 4 years ago

Did you manage to get real ads? I have a similar problem with only test ads is loading.

M0liusX commented 4 years ago

@Lamelynx I haven't tried it since then... sorry. However, I've only ran it using a debug apk. I am under the impression that it needs to be a release version of the apk to work. If you ever figure out the real reason let me know too. Haha

Lamelynx commented 4 years ago

@M0liusX @Shin-NiL

I have released open beta but only got test ads. I have set AndroidManifest.xml <meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="ca-app-pub-XXXXXXXXXXXXXX~XXXXXXXX"/>

admob

Set permission "Access Network State" Used admob-lib 4.0.0 from release zip.

I found out i missed the "internet" permission so it may be this that cause the problem?

Anyway, test ads works perfectly (with my personal admob id's) so the code would probably not be the problem.

Shin-NiL commented 4 years ago

@Lamelynx are you getting error code 3 too? If so, check this.

Lamelynx commented 4 years ago

@Shin-NiL

When i added "Internet" permission I did get error code 3 so it seems to be fine. As I understand it there is no ads to load, hopefully everything else is ok. Thanks for the help.

JaimeIsMe commented 4 years ago

Sorry to hijack this thread but it's related to my problem. I'm done with the silly game I created. I just put in 1 interstitial ad at the end of the game. It works great when I use googles testings id's. But when I put my id's in, it still shows "test ad". Is this normal behaviour or should I be seeing real ads?

Lamelynx commented 4 years ago

You probably won't see any real ads. You should get error code 3 in logcat. After you checked "is real" I think you need to save your project before export. I also believe that you can't get any real ads if exporting with debug. Have you dubble checked AndroidManifest.xml?

albemala commented 4 years ago

I was receiving the same error code 3, I solved the problem following this answer on SO: https://stackoverflow.com/a/57964366/3305693

TL;DR:

disanapa commented 3 years ago
Version 4.1.1
Doesn't show real ads, only test ads.
I checked it on several devices, shows constantly different ads, but with the inscription Test Ad 

2021-04-01_05-34-28

2021-04-01_05-48-12 There are clicks, rewards are fixed