+1 vote

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?

in Engine by (20 points)

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

1 Answer

0 votes

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:
https://github.com/DrMoriarty/godot-applovin-max
https://github.com/DrMoriarty/godot-tapdaq
https://github.com/DrMoriarty/nativelib

by (214 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.