Integrate IronSource with Mediation
This guide explains how to utilize the Google Mobile Ads SDK for loading and presenting ads from IronSource through mediation. It provides instructions on integrating IronSource into the mediation configuration of a Godot app and integrating the IronSource SDK and adapter into your Godot app.
This document is based on:
Supported integrations and ad formats
The AdMob mediation adapter for IronSource has the following capabilities:
| Integration | |
|---|---|
| Bidding | ✅ |
| Waterfall | ✅ |
| Formats | |
|---|---|
| Banner | ✅ |
| Interstitial | ✅ |
| Rewarded | ✅ |
| Rewarded Interstitial | ✅ 1 |
| Native |
Prerequisites
- Complete the Get started guide
- Complete the mediation Get started guide
Step 1: Set up IronSource
We recommend following the tutorial for Android or iOS, as it will be the same for both.
Step 2: Configure mediation settings for your AdMob ad unit
We recommend following the tutorial for Android or iOS, as it will be the same for both.
Step 3: Import the IronSource SDK plugin
- Download the plugin for Android.
- Extract the
.zipfile. Inside, you will find anironsourcefolder. - Copy the contents of the
ironsourcefolder and paste them into the Android plugin folder atres://addons/admob/android/bin/.
The IronSource adapter is already included in the standard iOS plugin download. If you followed the iOS Installation guide, you should already have the necessary files (poing-godot-admob-ironsource.gdip and related frameworks) in your res://ios/plugins/ directory.
Step 4: Enable the plugin
Make sure to enable IronSource in Project Settings (under Admob > Android > Mediation > Ironsource).
Make sure to check both Ad Mob and Ad Mob Iron Source under the Plugins list in your iOS Export Presets (as well as entering your AdMob App ID in the Plists config).
Step 5: Optional steps (Regulatory Settings)
EU consent and GDPR
Under the Google EU User Consent Policy, you must make certain disclosures to users in the European Economic Area (EEA) and obtain their consent for the use of cookies or other local storage, and for the use of personal data.
To pass GDPR consent info to the IronSource SDK, use the following code:
CCPA
To comply with the CCPA, you can set metadata settings. The following sample code shows how to pass this information to the IronSource SDK:
User ID
To set the IronSource User ID for rewarded ad integrations, use the following code:
-
This format is only supported in waterfall integration. ↩