This repository is a Godot Engine Plugin that makes it easy to display AdMob ads in your game, just download and use, no need to worry about building or version compatibility.
The plugin supports most versions of Godot from 3.x to 4.x and is compatible with both Android and iOS.
- Supports Almost all AdFormats💵:
Banner
,Interstitial
,Rewarded
,Rewarded Interstitial
- EU Consent for GDPR compliance 🏦 EU Consent/UMP
- Targeting specific ⭕ audience segments
- Has
CI/CD
to test ✅, build 🛠️ and release versions 📨 - Concise documentation 📄
- Same behavior as iOS Plugin 🍎
Banner | Interstitial | Rewarded | Rewarded Interstitial |
---|---|---|---|
- Basic knowledge about usage of Godot Plugins and AdMob
- Usage of AdMob Editor Plugin
- YouTube Tutorial
- Download the
android-?-template-v{{ your_godot_version }}.zip
in the releases tab, we recommend you to use always the latest. - Extract the content downloaded 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 namecom.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"/>
- Export the project enabling the
Use Custom Build
andAdMob Plugin
.
- Download the
godot-lib*.aar
- Rename
godot-lib*.aar
togodot-lib.aar
- Paste
godot-lib.aar
into./godot-lib/
folder
- Open Terminal and run:
./gradlew build
- For complete and detailed documentation check here: LINK
This project is licensed under the MIT License.