Open ravanxgames opened 4 years ago
Attached the screenshot of my settings.
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.
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:
@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.
@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:
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!
Did you manage to get real ads? I have a similar problem with only test ads is loading.
@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
@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"/>
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
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.
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?
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?
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:
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
There are clicks, rewards are fixed
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.