Skip to content

poingstudios/godot-admob-android

 
 

Repository files navigation

GodotAdMob
Godot AdMob Android

📃Documentation💾Downloads

📖About

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.

💡Features

  • 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 🍎

🕵️‍♂️Preview

Banner Interstitial Rewarded Rewarded Interstitial
Banner Interstitial Rewarded Rewarded Interstitial

🔌Usage

Prerequisites

Installation

  • 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 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"/>
  • Export the project enabling the Use Custom Build and AdMob Plugin.

🔧Development

Prerequisites

Install dependencies

  1. Download the godot-lib*.aar
  2. Rename godot-lib*.aar to godot-lib.aar
  3. Paste godot-lib.aar into ./godot-lib/ folder

Build

  • Open Terminal and run: ./gradlew build

📃Documentation

  • For complete and detailed documentation check here: LINK

🌠Star History

Star History Chart

🪪License

This project is licensed under the MIT License.