Ads not working with game

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By yeeshu06
:warning: Old Version Published before Godot 3 was released.


i have a game working on one engine, and ads working separately ( GitHub - Shin-NiL/godot-admob: Module Admob for Godot engine ). I generated the apk templates by adding module as per instructions. But when i add the ads to the game, ads dont work. I need help asap please.


did you recompile the android template with ads module?
Did you try to set the test banner display? If it works you may have problems with your admob unit.

jospic | 2017-10-24 12:51

did you check what adb logcat says?

volzhs | 2017-10-24 13:56

Hi It is not going pass following code, n i placed it in under ready function when a certain level starts:


Saying that value is null. So hence it cannot find the next line:

admob = Globals.get_singleton("AdMob")
admob.init(isReal, get_instance_ID())

It is perfectly working alone (The admob). But as soon as i put this in my game, it does nothing (Can’t find singleton for admob). My game is built on “godot-2.1.2-stable”. I need urgent help with this please. Thanks

yeeshu06 | 2017-10-26 10:18


I am just using the template he provided. Did not compile my own for this. I am testing the interstitial. What do you mean ‘set test banner display’ ? - Thank you

yeeshu06 | 2017-10-26 10:20

Pay attention:

you write


but must be:



jospic | 2017-10-26 10:29

Hi Yes. I had it as


except it was “AdMob” and i just changed the ‘M’ to ‘m’. Yet still does not go through Singleton :frowning: .

yeeshu06 | 2017-10-26 10:38

But are you trying with .apk file? Please note that AdMob not works by running the application in Godot’s editor…

When you exporting .apk, did you link the generated template in the export settings?


jospic | 2017-10-26 10:44

I am using .apk file. Yes in the export settings, I do include the templates in ‘custom package’, provided by GitHub - Shin-NiL/godot-admob: Module Admob for Godot engine. This was last updated 4 days ago. I did find another one GitHub - Shin-NiL/godot-admob: Module Admob for Godot engine , however this was 5 months ago. Please advise which one you used. Thank you

yeeshu06 | 2017-10-26 10:50

This was last updated 4 days ago, but templates are too older.
I have recompiled them, since I use Godot 2.1.4.


jospic | 2017-10-26 10:54

I attempted to recompile them. I am using 2.1.4. I am worried that if i shift my whole game to 2.1.4 , if some things will work or not.

yeeshu06 | 2017-10-26 10:57

Hi Can you direct me as to where i can find the godot v 2.1.4 stable to download, then I will try run my game with that and see if ads can work using 2.1.4. Thanks. Appreciate it.

yeeshu06 | 2017-10-30 10:42

This is the official source repository:

Releases · godotengine/godot · GitHub

if you want to recompile a custom version.

Otherwise, from here there is offcial binaries:

Download - Godot Engine


jospic | 2017-10-30 12:02

:bust_in_silhouette: Reply From: veermetri

If you add a release keystore the ads start to show. The admob also needs time to verify your traffic. I tried to see real ads on my game but they didn’t show up until I added release keystore to the export. I wanted to upload my game to the Play Store and I had to add the release keystore and then I installed the apk in my phone and after few hours the ads started to show. I hope this solution works.

:bust_in_silhouette: Reply From: DrMoriarty

For godot 3.2.3 you can use precompiled binary modules for Applovin-MAX and for Tapdaq. Both of them allow you use several ad networks at the same time (they are mediation solutions). So you can use AdMob and Facebook audience network.
All binary modules can be installed from NativeLib repository. NativeLib addon you can find in AssetLib.
More info at: