AdMob Integration
This one’s a bit more involved than the other integrations because AdMob uses OAuth instead of a simple API key. But it’s still doable in about 10 minutes.
Prerequisites
- A Google AdMob account with active apps
- Access to Google Cloud Console
- Owner access to your Apps Finboard project
Step 1: Enable the AdMob API
- Go to the Google Cloud Console
- Select or create a project
- Go to APIs & Services > Library
- Search for AdMob API and enable it
Step 2: Create OAuth credentials
- In Google Cloud Console, go to APIs & Services > Credentials
- Click Create Credentials > OAuth client ID
- If prompted, configure the OAuth consent screen first:
- Choose External user type
- Fill in the required app information
- Add your AdMob account email as a test user
- Important: Click Publish App so that the refresh token doesn’t expire after 7 days
- Back in Credentials, select Web application as the application type
- Add
https://developers.google.com/oauthplaygroundas an Authorized redirect URI - Click Create
- Note the Client ID and Client Secret
Step 3: Get a refresh token
- Go to Google OAuth Playground
- Click the gear icon (⚙️) in the top right
- Check Use your own OAuth credentials
- Enter your Client ID and Client Secret from Step 2
- In the left panel, find AdMob API v1 and select the scope:
https://www.googleapis.com/auth/admob.report - Click Authorize APIs
- Sign in with the Google account that owns your AdMob account
- Click Exchange authorization code for tokens
- Copy the Refresh Token - you’ll need this in the next step
Important: If you didn’t publish your OAuth consent screen app (Step 2), the refresh token will expire after 7 days and you’ll need to repeat this process.
Step 4: Find your Publisher ID
- Go to AdMob Console
- Click Settings (gear icon) > Account
- Your Publisher ID is displayed here - it looks like
pub-1234567890123456
Step 5: Add to Apps Finboard
- In your Apps Finboard dashboard, go to your project’s Data Sources page
- Click Add Data Source and select AdMob
- Fill in the required fields:
- ADMOB_CLIENT_ID - The OAuth Client ID from Step 2
- ADMOB_CLIENT_SECRET - The OAuth Client Secret from Step 2
- ADMOB_REFRESH_TOKEN - The Refresh Token from Step 3
- ADMOB_PUBLISHER_ID - Your Publisher ID from Step 4
- Click Save
The first sync will start automatically and pull in your available ad revenue history.
What gets synced
Mediation reports from AdMob:
- Ad earnings from all mediation partners (AdMob network, Meta Audience Network, Unity Ads, etc.)
- Per-app daily breakdown
We use the Mediation Report API (not Network Report), so you get revenue from all ad sources - not just the AdMob network itself.
Data availability
- Ad revenue data has approximately a 1-hour delay
Data accuracy
- 99% match with bank payout, if a 4% correction factor is used (because admob’s earnings are slightly off compared to bank payouts)
- Recent data may fluctuate due to invalid traffic and tax adjustments from AdMob