AdMob doesn't load the module

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By melka24

I’d like to use ads in my Android mobile game. I set the Android module to:

org/godotengine/godot/GodotAdMob

In my singleton script I used this code:

func _ready():
    if Engine.has_singleton("AdMob"):
        print("success")
    else:
        print("error")

Unfortunately, every time I run the app, the console prints “error”.

Any ideas?

when you run, do you run it on android or something else?

rustyStriker | 2020-01-12 19:06

:bust_in_silhouette: Reply From: DrMoriarty

For Godot 3.2.3 you can use binary precompiled modules for ad mediation networks: Applovin-MAX and Tapdaq. Both of them allow you connect AdMob account to the mediation stack.
All binary modules and adapters can be easy installed from NativeLib repository. NativeLib addon you can find at AssetLib.
More info at: