• Stars
    star
    297
  • Rank 135,443 (Top 3 %)
  • Language
    Kotlin
  • License
    MIT License
  • Created about 4 years ago
  • Updated 18 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Godot's AdMob Plugin for Android with support for Mediations.


GodotAdMob
Godot AdMob Android

A Godot's plugin for Android of AdMob.

About β€’ Installation β€’ Docs β€’ Downloads

About

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.

Preview

(Preview)

Features

Ad Formats Available πŸ€–
Banner βœ”οΈ
Interstitial βœ”οΈ
Rewarded βœ”οΈ
Rewarded Interstitial βœ”οΈ
Native is REMOVED ❗
Others Available πŸ€–
EU consent βœ”οΈ
Targeting βœ”οΈ
Mediation ❌
CI/CD βœ”οΈ

Installation

Android (v3.2.2+):

  • Tutorial: https://youtu.be/ZnlH3INcAGs
  • Download the android-?-template-v{{ your_godot_version }}.zip in the releases tab, we recommend you to use always the latest.
  • 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.
<!-- Sample AdMob app ID: ca-app-pub-3940256099942544~3347511713 -->
<meta-data
	tools:replace="android:value"
	android:name="com.google.android.gms.ads.APPLICATION_ID"
	android:value="ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy"/>
<meta-data
	android:name="com.google.android.gms.ads.DELAY_APP_MEASUREMENT_INIT"
	android:value="true"/>
  • Export the project enabling the Use Custom Build and AdMob Plugin:
  • Export Project

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 npa-image

Documentation

For a complete documentation of this Plugin, check our wiki.

Alternatively, you can check the docs of AdMob itself of Android and iOS.

Contribute

We are a dedicated area to how contribute for Android and iOS on our wiki.

Getting help

DISCUSSIONS