Unity Ads SDK Integration: Setup, Rewarded Video & Monetization
We often see this scenario: the game is ready, but monetization via AdMob or Appodeal yields a meager $3–5 eCPM on Tier-1 countries, and the fill rate drops to 40%. Unity Ads isn't just an alternative — for gaming projects, it's the primary ad network with eCPM up to $15 and a fill rate of 95%. But without proper SDK configuration (initialization, placements, mediation), those numbers remain on paper. Let's break down the key integration blocks and common pitfalls.
Why Unity Ads Wins in Games
Unity Ads is an ad network tailored for a gaming audience. Unlike general-purpose networks, advertiser competition for gaming inventory is higher. For rewarded video, bids can be 20–30% higher than through AdMob mediation — that's up to 3x higher eCPM. Meanwhile, the fill rate for quality games is consistently >95%, and the cost per install (CPI) for advertisers is lower — meaning app owners earn more.
What Problems Does Unity Ads Integration Solve?
- Low fill rate in games. Unity Ads specializes in gaming audiences, so advertiser competition is higher — fill rate is consistently >95% for rewarded videos, while universal networks deliver 60–70%.
- Unstable eCPM. Through AdMob mediation, Unity Ads can show bids 20–30% higher than other networks for Tier-1 users (US, Canada, Australia, Western Europe). With proper mediation configuration, eCPM increases by 25%.
- GDPR setup complexity. Without correct consent, the SDK serves non-targeted ads, dropping eCPM by 40%. We configure metadata properly.
- Creative troubles. Unity Ads uses automatic creative generation, but it's vital to configure placements for specific game mechanics — otherwise, conversion rates drop.
How to Properly Configure the Unity Ads SDK
SDK version 4.x is current. Initialization with test mode is mandatory. Code:
UnityAds.initialize(context, "GAME_ID", isTestMode, object : IUnityAdsInitializationListener { override fun onInitializationComplete() { loadInterstitial() } override fun onInitializationFailed(error: UnityAds.UnityAdsInitializationError, message: String) { Log.e("UnityAds", "Init failed: $message") } }) Test mode is mandatory during development. Without it, you risk counting real impressions — leading to budget overruns and account bans. After integration, switch to false and verify with live ads.
How to Integrate GDPR Support
Without user consent, Unity Ads will serve only non-targeted ads, dropping eCPM by 40%. Configure GDPR via MetaData:
val metaData = MetaData() metaData.set("gdpr.consent", true) UnityAds.setMetaData(metaData) Or use UnityAds.setPrivacyConsent(false) if consent is denied. We recommend integrating a CMP (e.g., Google UMP SDK) and passing the signal via callback. For iOS, use UnityAds.setMetaData similarly. Details are in the Unity Ads documentation.
Rewarded Video — The Core Format for Games
Rewarded video is Unity Ads' hallmark. The user receives a reward only after a full view. Load and show pattern:
fun loadAd() { UnityAds.load("rewardedVideo", object : IUnityAdsLoadListener { override fun onUnityAdsAdLoaded(placementId: String) { isAdReady = true } override fun onUnityAdsFailedToLoad( placementId: String, error: UnityAds.UnityAdsLoadError, message: String ) { // Retry after 30 seconds } }) } fun showAd(activity: Activity) { if (!isAdReady) return UnityAds.show(activity, "rewardedVideo", object : IUnityAdsShowListener { override fun onUnityAdsShowComplete( placementId: String, state: UnityAds.UnityAdsShowCompletionState ) { if (state == UnityAds.UnityAdsShowCompletionState.COMPLETED) { grantReward() } } }) } Grant rewards only on COMPLETED — a Unity requirement and fraud prevention. Never reward on SKIPPED; that violates policy and may lead to a ban.
Unity Ads Ad Format Comparison
| Format | Type | eCPM | Use Case |
|---|---|---|---|
| Rewarded video | Optional view | High (up to $15 in Tier-1) | Bonuses, currency, lives |
| Interstitial | Full-screen | Medium ($3–8) | Between levels |
| Banner | Banner | Low ($0.5–2) | Persistent panel |
Unity Ads vs AdMob for Games: Which is Better?
| Parameter | Unity Ads | AdMob |
|---|---|---|
| eCPM rewarded video | Up to $15 | $5–8 |
| Fill rate for games | >95% | 70–80% |
| Specialization | Games | General |
| Creative setup | Automatic | Manual |
| SDK integration | 1–2 days | 1 day |
Unity Ads eCPM is 3x higher than AdMob for rewarded video in Tier-1 countries. This means for a game with 500k monthly active users, the ad network can generate an additional $10,000 per month.
Our Integration Process (Turnkey)
Our team performs integration in 1–3 days:
- Analysis: Select placements, set eCPM floors, configure mediation. Determine whether waterfall mediation or only header bidding is needed. For a hyper-casual game client, we identified that rewarded video frequency was too low, so we increased placement exposure and adjusted frequency capping, resulting in a 40% eCPM lift.
- Development: Initialize SDK, implement rewarded/interstitial/banner, handle events. Write code to pass events to analytics (Firebase, AppsFlyer).
- GDPR: Integrate consent flow via MetaData and optionally a CMP. Test that with consent denial, either no ads or only non-targeted ads appear.
- Testing: Verify test ads, compatibility across OS versions, correct analytics event transmission. Use TestFlight and Firebase App Distribution.
- Deploy: Check live ads, monitor eCPM through Unity Dashboard. For one project, we saw eCPM rise from $2 to $8 after fine-tuning placement frequency and GDPR consent handling.
What You Get
- Integrated Unity Ads SDK with working placements.
- Configured mediation via AdMob (or another platform).
- Ready-to-use reward mechanism.
- Correct GDPR consent handling.
- Documentation describing the integration.
Why Choose Us
We've been doing mobile monetization for 10+ years, completed over 50 projects with Unity Ads — from hyper-casual games to MMOs. We guarantee stable integration per official Unity Ads guidelines. If eCPM doesn't improve after integration, we perform a free configuration audit. Our clients report an average eCPM increase of 40% after proper mediation setup. For a game with 500k monthly active users, this translates to an additional $10,000 per month. Contact us for a consultation on Unity Ads setup. We'll assess your project and suggest the optimal monetization architecture. Request a current configuration audit — it helps identify bottlenecks and increase revenue.







