Skip to main content
Glama
jerry2247

admob-mcp

by jerry2247

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ADMOB_READONLYNoSet to 1 to disable all write tools.
GOOGLE_CLIENT_IDYesOAuth client id. Required.
ADMOB_PUBLISHER_IDNoDefault account, for example pub-1234567890123456.
ADMOB_MCP_LOG_LEVELNodebug, info (default), warn, or error.
ADMOB_REFRESH_TOKENNoRefresh token supplied directly, skipping the stored file.
GOOGLE_CLIENT_SECRETNoOAuth client secret. Optional for Desktop clients but usually set.
ADMOB_MCP_CREDENTIALS_PATHNoOverride the stored credentials file path.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription
admob_revenue_reviewGuide a review of AdMob earnings over a date range using the network and mediation reports.
admob_setup_checkVerify credentials and report which AdMob capabilities are available for this account.

Resources

Contextual data attached and managed by the client

NameDescription
capabilitiesWhat this server can do via the AdMob API versus what is UI-only or human-only.
report-enumsAllowed dimensions and metrics for network, mediation, and campaign reports.
accountSummary of the AdMob publisher account for the active credentials.

Latest Blog Posts

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