Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ADMOB_ACCOUNTNoPublisher ID (pub-XXXXXXXXXXXXXXXX). Only needed when your login can access multiple accounts.
ADMOB_TOOLSETSNoComma-separated toolsets to enable.
ADMOB_READ_ONLYNotrue to skip write tools.
GOOGLE_CLIENT_IDNoOAuth client ID (env sign-in).
GOOGLE_CLIENT_SECRETNoOAuth client secret (env sign-in).
GOOGLE_REFRESH_TOKENNoOAuth refresh token (env sign-in).
ADMOB_CREDENTIALS_DIRNoDirectory for oauth_client.json / token.json.
ADMOB_OAUTH_CLIENT_FILENoPath to the OAuth client JSON used by auth.

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
list_accountsA

Lists the AdMob publisher accounts accessible with the current credentials. Use this to find your publisher ID (pub-XXXXXXXXXXXXXXXX).

get_accountA

Gets an AdMob publisher account: publisher ID, reporting currency, and reporting time zone. Defaults to the configured or auto-discovered account.

list_appsA

Lists the apps registered in the AdMob account, including app ID (ca-app-pub-...~...), platform, store link state, and approval state.

create_appA

Creates an app in the AdMob account. Provide appStoreId to link a published store listing, or displayName to register an unpublished app manually. Requires the admob.monetization scope.

list_ad_unitsA

Lists the ad units in the AdMob account, including ad unit ID (ca-app-pub-.../...), format, and the app they belong to.

create_ad_unitA

Creates an ad unit under an app in the AdMob account. Requires the admob.monetization scope.

generate_network_reportA

Generates an AdMob Network earnings/performance report (requests, impressions, clicks, estimated earnings, match rate, RPM...). Monetary metrics are converted from micros to whole currency units (see currencyCode).

generate_mediation_reportA

Generates an AdMob Mediation report across ad sources (waterfall/bidding): impressions, estimated earnings, observed eCPM per AD_SOURCE, MEDIATION_GROUP, and more. Monetary metrics are converted from micros to whole currency units (see currencyCode).

generate_campaign_reportA

Generates a report for AdMob cross-promotion campaigns: impressions, clicks, installs, estimated cost. Date range must be within the last 30 days. Monetary metrics are converted from micros to whole currency units (see currencyCode).

list_ad_sourcesA

Lists the mediation ad sources (ad networks) available to the AdMob account, with their ad source IDs.

list_adaptersA

Lists the adapters of a mediation ad source, including the adapter ID and required ad unit configuration keys (needed for create_ad_unit_mapping).

list_mediation_groupsA

Lists the mediation groups in the AdMob account, including targeting (format, platform, ad units) and mediation lines.

list_ad_unit_mappingsA

Lists the ad unit mappings (third-party network placements) attached to an AdMob ad unit.

create_ad_unit_mappingA

Creates an ad unit mapping that links an AdMob ad unit to a third-party network placement via an adapter. Get the adapter ID and required configuration keys from list_adapters. Requires the admob.monetization scope.

create_mediation_groupA

Creates a mediation group targeting a format/platform and a set of ad units, with optional mediation lines for third-party ad sources. Requires the admob.monetization scope.

update_mediation_groupA

Patches a mediation group. Pass the fields to change in mediationGroup and list their paths in updateMask (e.g. "display_name,targeting.ad_unit_ids"). Requires the admob.monetization scope.

create_mediation_ab_experimentA

Creates an A/B experiment on a mediation group: the treatment variant serves the given mediation lines against the existing setup. Requires the admob.monetization scope.

stop_mediation_ab_experimentA

Stops the running A/B experiment on a mediation group by choosing the winning variant. Requires the admob.monetization scope.

Prompts

Interactive templates invoked by user choice

NameDescription
top_performing_appsRank your apps by AdMob revenue over a recent period
revenue_summarySummarize AdMob revenue trends over a recent period
compare_ad_formatsCompare how each ad format (banner, interstitial, rewarded...) monetizes

Resources

Contextual data attached and managed by the client

NameDescription
network-report-specValid dimensions and metrics for generate_network_report
mediation-report-specValid dimensions and metrics for generate_mediation_report
campaign-report-specValid dimensions and metrics for generate_campaign_report

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/ParkSangGwon/admob-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server