admob-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ADMOB_READONLY | No | Set to 1 to disable all write tools. | |
| GOOGLE_CLIENT_ID | Yes | OAuth client id. Required. | |
| ADMOB_PUBLISHER_ID | No | Default account, for example pub-1234567890123456. | |
| ADMOB_MCP_LOG_LEVEL | No | debug, info (default), warn, or error. | |
| ADMOB_REFRESH_TOKEN | No | Refresh token supplied directly, skipping the stored file. | |
| GOOGLE_CLIENT_SECRET | No | OAuth client secret. Optional for Desktop clients but usually set. | |
| ADMOB_MCP_CREDENTIALS_PATH | No | Override the stored credentials file path. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| admob_list_accountsB | List the AdMob publisher account for the signed-in credentials. The AdMob API returns only the account that was most recently signed in to from the AdMob UI. |
| admob_get_accountA | Get details for one AdMob publisher account (publisher id, reporting time zone, currency code). |
| admob_list_appsA | List the apps under an AdMob account, including app id, platform, and approval state. Set all=true to page through every app (capped for output size). |
| admob_list_ad_unitsB | List the ad units under an AdMob account, including ad unit id, parent app id, format, and ad types. |
| admob_list_ad_sourcesB | List the mediation ad sources available to the AdMob account (each has an ad source id and title). |
| admob_list_adaptersA | List the adapters for one ad source. An adapter is a platform-specific SDK implementation; its adapterId and adapterConfigMetadata are needed to create ad unit mappings. |
| admob_list_ad_unit_mappingsC | List the ad unit mappings under one ad unit. |
| admob_list_mediation_groupsA | List the mediation groups under an AdMob account. Supports an optional EBNF filter expression (fields such as DISPLAY_NAME, STATE, PLATFORM, FORMAT combined with AND). |
| admob_run_network_reportA | Generate an AdMob Network report (first-party network earnings and performance). Provide a date range, dimensions to group by, and one or more metrics. |
| admob_run_mediation_reportA | Generate an AdMob Mediation report (earnings and performance across mediated ad sources). Provide a date range, dimensions to group by, and one or more metrics. |
| admob_run_campaign_reportA | Generate an AdMob campaign (App Campaigns) report. v1beta only. The date range is limited to 30 days and the response is a single set of rows (no streaming). |
| admob_create_appA | Create a new app under an AdMob account (v1beta). This method is allowlisted by Google: if you get a 403, your account is not yet granted access. Use dryRun to preview the request. |
| admob_create_ad_unitA | Create a new ad unit under an app (v1beta). This method is allowlisted by Google: a 403 means your account is not yet granted access. Use dryRun to preview the request. |
| admob_create_ad_unit_mappingA | Create an ad unit mapping that connects one ad unit to a mediation adapter (v1beta, allowlisted). adapterId comes from admob_list_adapters; adUnitConfigurations keys are adapterConfigMetadataId values. |
| admob_batch_create_ad_unit_mappingsA | Create up to 100 ad unit mappings in one call (v1beta, allowlisted). Each mapping targets an ad unit under the same account. |
| admob_create_mediation_groupA | Create a mediation group (v1beta, allowlisted). targeting and mediationGroupLines follow the AdMob MediationGroup schema; supply them as objects. |
| admob_update_mediation_groupA | Update a mediation group (v1beta patch, allowlisted). updateMask is required and selects which fields change; repeated fields are fully replaced. See the AdMob docs for supported field mask paths. |
| admob_create_ab_experimentA | Start an A/B experiment on a mediation group (v1beta, allowlisted). Control lines are inherited from the group automatically; you supply the treatment lines and the treatment traffic percentage. Only one experiment can run per group at a time; monitor it via admob_list_mediation_groups. |
| admob_stop_ab_experimentA | Stop the running A/B experiment on a mediation group and pick the winning variant (v1beta, allowlisted). VARIANT_CHOICE_A keeps the original serving lines; VARIANT_CHOICE_B adopts the newly added lines. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| admob_revenue_review | Guide a review of AdMob earnings over a date range using the network and mediation reports. |
| admob_setup_check | Verify credentials and report which AdMob capabilities are available for this account. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| capabilities | What this server can do via the AdMob API versus what is UI-only or human-only. |
| report-enums | Allowed dimensions and metrics for network, mediation, and campaign reports. |
| account | Summary of the AdMob publisher account for the active credentials. |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jerry2247/admob-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server