Godot AdMob

A Godot's plugin for Android and iOS of AdMob.

This repository is for a Godot Engine Plugin that allows showing the ads offered by AdMob in an easy way, without worrying about the building or version, just download and use.

The purpose of this plugin is to always keep up to date with Godot, supporting ALMOST ALL versions from 3.x to 4.x (when it is released), and also make the code compatible on Android and iOS, so each advertisement will work identically on both systems.

Installation

Android (v3.2.2+):

  • Tutorial: https://www.youtube.com/watch?v=5J_RP2sCf7Y

  • Download the android-?-template-v{{ your_godot_version }}.zip in the releases tab.

  • Enable Android Build Template. Check the tutorial here

  • Extract the content in android-?-template-v{{ your_godot_version }}.zip into res://android/plugins directory on your Godot project

  • Add your AdMob App ID to your app's res://android/build/AndroidManifest.xml file by adding a <meta-data> tag with name com.google.android.gms.ads.APPLICATION_ID, as shown below.

  • (Optional) If you are using UMP, you can add too the Delay app measurement inside AndroidManifest.xml

  • Export the project enabling the Use Custom Build and AdMob Plugin:
    68747470733a2f2f692e696d6775722e636f6d2f4d50626e6d6f442e706e67

iOS (v3.3+):

User Messaging Platform (UMP):

  • To use UMP due of EUROPE ePrivacy Directive and the General Data Protection Regulation (GDPR), you first need to do configure your Funding Choices.
  • If your app is "ForChildDirectedTreatment" then the UMP won't appear and signals won't work for consent, this is normal so don't worry.
  • To show personalized or non-personalized ads, then you need to change inside your AdMob Account

68747470733a2f2f692e737461636b2e696d6775722e636f6d2f307631654c2e706e67

GitHub

https://github.com/Poing-Studios/Godot-AdMob-Android-iOS