admob-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ADMOB_CURRENCY | No | Default report currency (ISO 4217), e.g. `USD`. Defaults to the account currency. | |
| ADMOB_CLIENT_ID | No | Use this instead of the saved credentials file (CI, containers). | |
| ADMOB_ACCOUNT_ID | No | Default publisher ID (`pub-…`) when the Google user has several accounts. | |
| ADMOB_CONFIG_DIR | No | Directory holding `credentials.json` (default `~/.config/admob-mcp`, `%APPDATA%\admob-mcp` on Windows). | |
| ADMOB_CLIENT_SECRET | No | Use this instead of the saved credentials file (CI, containers). | |
| ADMOB_REFRESH_TOKEN | No | Use this instead of the saved credentials file (CI, containers). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Read-only access to Google AdMob.
Start with get_earnings_summary for overviews, compare_periods for "why did it change", detect_anomalies for "what broke".
Use run_network_report / run_mediation_report / run_campaign_report for custom breakdowns.
Money values are already converted from micros to the account currency. Ratios (CTR, match rate) are fractions shown as %.
Dates are in the account's reporting time zone; last_N_days presets exclude today. The last 1-2 days may still be updating.
If a call fails with an authentication error, tell the user to run
admob-mcp authin a terminal.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_accountsA | Lists the AdMob publisher accounts the signed-in Google user can access, with their currency and reporting time zone. Call this first if you are unsure which account_id to use. |
| list_appsA | Lists apps in an AdMob account with their app IDs (ca-app-pub-…~…), platform, store ID and approval state. App IDs can be used as APP filter values in reports. |
| list_ad_unitsA | Lists ad units (ca-app-pub-…/…) with their app and format. Ad unit IDs can be used as AD_UNIT filter values in reports. |
| list_ad_sourcesA | Lists the mediation ad sources (ad networks) available to the account, e.g. AdMob Network, Meta Audience Network. IDs match the AD_SOURCE dimension of mediation reports. |
| run_network_reportA | Runs an AdMob Network report: earnings and performance of ads served by the AdMob Network, broken down by any dimensions (date, app, ad unit, country, format, platform, versions…). Use for most revenue questions. Money is in currency units (not micros); eCPM = IMPRESSION_RPM. |
| run_mediation_reportA | Runs an AdMob Mediation report: performance per ad source (network), ad source instance and mediation group, alongside app / ad unit / country breakdowns. Use to compare networks in your waterfall/bidding setup. OBSERVED_ECPM is the third-party network's estimated eCPM. |
| run_campaign_reportA | Runs an AdMob Campaign report for house-ad / cross-promotion campaigns (impressions, clicks, installs, cost). Date range is limited to 30 days. Filtering and sorting are applied after fetching. |
| get_earnings_summaryA | One-call overview of AdMob Network performance for a period: KPI totals (earnings, impressions, eCPM, requests, match rate, show rate, CTR), a daily (or weekly, for ranges over 35 days) trend, and the top contributors by app, ad unit, country, format or platform. Best starting point for 'how are we doing?' questions. |
| compare_periodsA | Compares AdMob Network KPIs between a period and a baseline (previous period, same period last year, or custom), overall and per app / ad unit / country / format / platform / version. Rows are ranked by their absolute contribution to the change, and show whether it came from volume (impressions) or price (eCPM). Use for 'why did revenue change?'. |
| detect_anomaliesA | Finds apps / ad units / countries / formats / platforms whose recent daily performance deviates sharply from their own baseline. Method: mean of the last |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| weekly_revenue_review | Review last week's AdMob revenue: KPIs, trend, top apps, week-over-week changes and anomalies. |
| investigate_revenue_drop | Drill down into why AdMob earnings dropped: which apps, countries, formats or versions, and whether volume or eCPM fell. |
| mediation_performance_audit | Compare ad sources (networks) by earnings, eCPM, fill and latency to spot under-performers. |
| country_breakdown | Where the money comes from: earnings, eCPM and growth by country. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
The four list_* tools target clearly separate resources, and the three run_*_report tools map to distinct report types (network, mediation, campaign). The only real overlap is get_earnings_summary versus run_network_report, which both cover AdMob Network performance, though the descriptions differentiate them as a quick overview versus a customizable breakdown.
All ten tools follow a consistent snake_case verb_noun pattern (list_accounts, run_network_report, get_earnings_summary, compare_periods, detect_anomalies). The verbs are meaningful and predictably paired with the resource or operation they act on.
Ten tools is well within the ideal range and each one earns its place: four discovery/list tools, three report runners, and three analysis helpers. Nothing appears redundant or padding.
The reporting surface is thorough, covering network, mediation, and campaign reports plus summary, comparison, and anomaly detection. Minor gaps exist: there is no listing of mediation groups or ad source instances, and no per-app or per-ad-unit detail lookup beyond the bulk list tools.