+3 votes

Ads In Godot Games.

Hello,
I'm planning to be launching a game on the Google play store for android, but I would like to integrate ads into my game. How would I put ads into my Godot game? What do you also think is the best ad place such as Admob, Unity Ads?

Thank you in advance.

in Engine by (41 points)

for future reference to the people who could not find the plugin option under export->android->options . download the .aar file from godot engine download page and paste it into android/plugin folder (without extracting the .aar file).

2 Answers

+5 votes

This is the best method I'm currently aware of:

https://github.com/Shin-NiL/Godot-Android-Admob-Plugin

by (22,069 points)

Thank you.
I'll check out the link - https://github.com/Shin-NiL/Godot-Android-Admob-Plugin.

Thank you once again for your help.

I have reviewed the link and I'm not sure how I can choose the ads I would like my users to see?

Thank you.

Which ads are served has nothing to do with the plugin. That is determined by the ad provider. You would configure that in your AdMob account.

Ok.
Thank you.

Hello.
I'm using the Admob plugin from Shin_nil. when i set the banner to show on bottom, it shows relative to phone screen, not to game window. because of scaling and keeping the aspect ratio, there are black bars on top and bottom of the screen. the banners show up in the black area blocking virtual controls on bottom (which violates Google policies because it leads to accidental clicks) and hiding the top bar where the time and notch are.

How can i make them show on top or bottom relative to game window instead of phone screen?

Thank you.

+1 vote

You can use precompiled modules for Applovin-Max and for Tapdaq. They have adapters for many ad networks include AdMob and Facebook audience network.
The modules can be installed from NativeLib repository. NativeLib addon you can find in AssetLib.
More info:
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.