What the plugin does
CrossIndie Ads is a free Godot plugin with one ad API: Google AdMob on Android, and CrossIndie cross-promo ads as a fallback whenever AdMob has no fill, returns an error, is limited, or does not exist on the platform (editor, desktop, and iOS for now).
- Banner (top or bottom, anchored adaptive), interstitial and rewarded.
- A provider chain per format,
admob,crossindieby default. - Google Mobile Ads is pulled from Maven at export time instead of being bundled, and the native bridge is a small AAR built against old APIs. That is what keeps it working across Godot versions.
- Google UMP consent (GDPR and US states) is built in.
It supports Godot 4.2 and newer and has been tested up to 4.7.2. The right play-services-ads version is picked for your Godot version automatically.
Install
1. Get the plugin
Find CrossIndie Ads on the Godot Asset Store, or download the latest release zip from Cross-Indie/godot-admob on GitHub. The repository itself is a demo project.
2. Copy both addons
Your project needs both addons/crossindie_ads/ and addons/cross_indie/ under res://addons/. The fallback reuses the regular CrossIndie banner node from the second folder.
3. Enable it
In Project Settings, Plugins, enable CrossIndie Ads and CrossIndie. This adds the CrossIndieAds autoload and a crossindie_ads/ section in Project Settings.
4. Prepare the Android export
Install the Android build template (Project, Install Android Build Template). In the Android export preset, turn on Gradle Build (Use Gradle Build) and the Internet permission. Plugins that pull Maven dependencies need the Gradle build.
5. Set your IDs
Fill in admob/android_app_id (required for release builds) and the banner, interstitial and rewarded unit IDs. Add your CrossIndie app ID in crossindie/app_id; you get it after adding your game in the CrossIndie dashboard. Without it, the plugin is a plain AdMob plugin. Keep general/test_mode on while developing (it uses Google’s test units) and turn it off for release.
Show ads from GDScript
The same keys can be passed to initialize() instead of Project Settings:
func _ready() -> void:
CrossIndieAds.rewarded_earned.connect(_on_reward)
CrossIndieAds.initialize({
"test_mode": OS.is_debug_build(),
"crossindie_app_id": "YOUR_CROSSINDIE_APP_ID",
"admob_android_banner_id": "ca-app-pub-xxx/yyy",
"admob_android_interstitial_id": "ca-app-pub-xxx/yyy",
"admob_android_rewarded_id": "ca-app-pub-xxx/yyy",
})
CrossIndieAds.show_banner("bottom")
CrossIndieAds.load_interstitial()
CrossIndieAds.load_rewarded()
func _on_level_end() -> void:
CrossIndieAds.show_interstitial() # false if nothing is ready
func _on_reward(amount: int, type: String) -> void:
coins += amount # grant only here, never on *_closedGrant rewards only in rewarded_earned, not when an ad closes. Signals such as ad_failed, banner_loaded and interstitial_closed tell you which provider served. AdMob full-screen ads pause the game for you; the CrossIndie overlay does not, so pause and resume on the opened and closed signals if your game needs it.
How the CrossIndie fallback behaves
- Banner: a full-width CrossIndie strip at the same edge. AdMob is retried every 60 seconds by default and replaces it when it fills.
- Interstitial: a full-screen overlay whose close button appears after a short delay.
- Rewarded: by default it behaves like an interstitial and grants no reward, because the network policy is never to reward players for viewing CrossIndie ads. Only enable the reward option for house ads between your own games.
Impressions count only after the ad has been visible for at least 1.5 seconds with the game window focused, and ads are preloaded hidden, so preloading never counts. Each valid CrossIndie impression of another developer’s game earns you a credit (once your game is live on a store), and credits get your own game shown in other indie games. Ads for your own other games are free house ads.
Sharing slots on purpose
By default CrossIndie only gets the slots AdMob cannot fill. To get more players for your game, set crossindie/share_percent, for example to 10, and about one in ten banners and interstitials go to CrossIndie first. If CrossIndie has nothing to show, AdMob is used, so the slot never goes empty. Rewarded ads are never shared. You can also choose per placement, such as CrossIndie first in the main menu and AdMob only at level end.
Platforms and caveats
On Android you get AdMob with CrossIndie fallback for all three formats. On iOS, desktop, web and in the editor only CrossIndie ads run today; iOS AdMob is on the roadmap. CrossIndie is not meant for games directed at children. If your new AdMob account shows little or no fill, read AdMob limited ad serving, and if you run several games, see the cross-promotion guide for multi-game studios.
Keep reading
After launch
Promote your game to other indies’ players
CrossIndie is also a free cross-promotion network: host a small banner for another indie project, earn credits, spend them to get your own game or app shown. No ad-tech, no cash.
