Mobile Ad Network Integration
Connect major ad networks to maximize mobile app revenue
How PubDragons Mediation Works
PubDragons uses server-side mediation to connect with major mobile ad networks. When a publisher's app requests an ad through our SDK, our backend makes real-time API calls to configured ad networks, optimizes by eCPM, and returns the highest-paying ad.
Server-Side
All network calls happen on our servers
eCPM Optimized
Automatic waterfall by country & device
Fast Response
Under 1 second ad serving
Integration Workflow
Choose Ad Network
Select from 20+ supported mobile ad networks
Get Network Credentials
Sign up with the network and obtain API keys, app IDs
Configure in PubDragons
Add network in Admin → Ad Networks with credentials
Set eCPM & Priority
Configure expected eCPM rates and waterfall priority
Enable for Publishers
Allow specific publishers or all publishers to use network
SDK Auto-Mediates
SDK automatically serves highest eCPM ads
Supported Mobile Ad Networks
Request Flow
1. App SDK requests ad
SDK calls PubDragons API with placement ID
2. Server gets publisher config
Fetch allowed networks and eCPM data
3. Calculate eCPM by country
Determine expected eCPM for user's location
4. Sort networks by eCPM
Create waterfall (highest → lowest)
5. Request from top network
Server-to-server API call to ad network
6. Fallback if needed
Try next network if request fails
7. Return ad to SDK
SDK displays winning ad
Benefits of Server-Side
Secure Credentials
API keys never exposed in mobile app - all stored securely on server
Lightweight SDK
No need to bundle multiple network SDKs - keeps app size small
Dynamic Updates
Add/remove networks without app updates - changes live instantly
Real-Time Optimization
Update eCPM rates and priorities without SDK changes
Admin Dashboard Steps
1.Navigate to Ad Networks page
2.Click "Add Ad Network"
3.Fill in network details:
- • Network name (e.g., "Google AdMob")
- • Network type (banner, interstitial, video, etc.)
- • Platform support (iOS, Android, or both)
4.Configure mobile_sdk_config:
- • ios_app_id: Your iOS app/ad unit ID
- • android_app_id: Your Android app/ad unit ID
- • sdk_name: Network SDK name
5.Set eCPM rates and priority
6.Save and test with demo mode
Configuration Fields
{
"mobile_sdk_config": {
"ios_app_id": "ca-app-pub-xxx~xxx",
"android_app_id": "ca-app-pub-xxx~xxx",
"sdk_name": "Google AdMob",
"initialization_code": "Optional init params"
},
"current_ecpm": 5.00,
"country_ecpm_tiers": {
"tier_1": 8.50, // US, UK, CA, AU
"tier_2": 4.20, // BR, MX, FR, ES
"tier_3": 1.80 // IN, PH, ID, VN
},
"priority": 8, // 1-10, higher = first
"status": "active"
}⚠️ API Keys & Security
Never expose network API keys in your mobile app code. All network credentials are stored securely on PubDragons servers. The SDK only needs your PubDragons API key.
✅ Testing Networks
Use demo mode to test mediation without real network calls. Once configured, test with real requests in development apps before production.
Ready to Connect Networks?
Add your first mobile ad network and start maximizing revenue with intelligent mediation