Waterfall Ads Mediation Package for Unity
Modular, thread-safe Unity monetization SDK supporting multi-network waterfall mediation with Firebase Remote Config and analytics.
- Result
- Zero-overhead multi-network ad mediation
- When
- Sep 2023 – Present
- Area
- Unity / Packages
Highlights
- Built unified waterfall mediation abstraction over Google AdMob and major ad networks
- Enabled dynamic mediation waterfall tuning via Firebase Remote Config without app updates
- Engineered failover chains and thread isolation preventing game loop frame drops
Overview
A lightweight, decoupled Unity monetization package that abstracts multiple ad networks (Google AdMob, Unity Ads, AppLovin) into a unified, event-driven C# facade with dynamic cloud mediation rules.
The challenge
Monetization SDKs frequently introduce main-thread stutters, fail to handle orientation transitions safely, and require rebuilding and re-submitting games to app stores just to re-order ad networks or change impression timeouts.
What I built
Architected a thread-safe C# mediation layer with non-blocking async callbacks that isolates third-party native SDK calls from the Unity game loop.
Integrated Firebase Remote Config to dynamically update waterfall network priorities, fallback timeouts, and rewarded video cooldowns on the fly.
Added automated failover chains ensuring an ad always loads or fails gracefully without interrupting gameplay.
Outcome
Adopted across live commercial mobile games, increasing ad fill rates by 25% and maximizing eCPMs without requiring client app updates.
Cut new project ad integration time from days to minutes.