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

  1. Go to the Google Cloud Console
  2. Select or create a project
  3. Go to APIs & Services > Library
  4. Search for AdMob API and enable it

Step 2: Create OAuth credentials

  1. In Google Cloud Console, go to APIs & Services > Credentials
  2. Click Create Credentials > OAuth client ID
  3. 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
  4. Back in Credentials, select Web application as the application type
  5. Add https://developers.google.com/oauthplayground as an Authorized redirect URI
  6. Click Create
  7. Note the Client ID and Client Secret

Step 3: Get a refresh token

  1. Go to Google OAuth Playground
  2. Click the gear icon (⚙️) in the top right
  3. Check Use your own OAuth credentials
  4. Enter your Client ID and Client Secret from Step 2
  5. In the left panel, find AdMob API v1 and select the scope: https://www.googleapis.com/auth/admob.report
  6. Click Authorize APIs
  7. Sign in with the Google account that owns your AdMob account
  8. Click Exchange authorization code for tokens
  9. 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

  1. Go to AdMob Console
  2. Click Settings (gear icon) > Account
  3. Your Publisher ID is displayed here - it looks like pub-1234567890123456

Step 5: Add to Apps Finboard

  1. In your Apps Finboard dashboard, go to your project’s Data Sources page
  2. Click Add Data Source and select AdMob
  3. 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
  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