Skip to main content
Glama
MCP Google Ads Server

MCP Google Ads Server

by rusik-denver

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CLIENT_SECRETNoOAuth2 app client secret.
MCP_DEMO_MODENoSet to 0 to disable demo mode and use the live Google Ads API. Demo mode is enabled by default.1
GOOGLE_ADS_CLIENT_IDNoOAuth2 app client ID.
GOOGLE_ADS_CUSTOMER_IDSNoComma-separated managed account IDs.
GOOGLE_ADS_REFRESH_TOKENNoOAuth2 refresh token generated via OAuth2 flow.
GOOGLE_ADS_DEVELOPER_TOKENNoGoogle Ads API developer token from your Google Ads API Center.
GOOGLE_ADS_LOGIN_CUSTOMER_IDNoYour MCC account ID.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

MCP server for Google Ads. Query campaign performance, manage keywords, audit search terms, and monitor account health across multiple ad accounts.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_campaign_metricsB

Pull campaign performance metrics via GAQL.

Args: account_id: Google Ads customer ID (e.g. "123-456-7890"). Defaults to first account. date_range: LAST_7_DAYS, LAST_30_DAYS, LAST_90_DAYS, or THIS_MONTH. status_filter: ALL, ENABLED, or PAUSED.

get_search_termsB

Retrieve search term report with quality signals.

Args: account_id: Google Ads customer ID. Defaults to first account. campaign_name: Filter to a specific campaign. None = all campaigns. min_clicks: Minimum click threshold for inclusion. limit: Maximum rows to return.

get_keyword_metricsB

Keyword-level metrics with quality scores and bid info.

Args: account_id: Google Ads customer ID. Defaults to first account. campaign_name: Filter to a specific campaign. min_quality_score: Only return keywords at or above this QS.

get_geo_performanceC

Geographic performance breakdown.

Args: account_id: Google Ads customer ID. Defaults to first account. min_clicks: Minimum clicks to include a location.

add_negative_keywordB

Add a negative keyword to a campaign or account-level negative list.

Args: keyword: The search term to negate. match_type: EXACT, PHRASE, or BROAD. campaign_name: Target campaign. None = shared negative list. account_id: Google Ads customer ID. Defaults to first account.

set_campaign_budgetB

Adjust the daily budget for a campaign.

Args: campaign_name: Name of the campaign to modify. daily_budget_dollars: New daily budget in dollars (e.g. 50.00). account_id: Google Ads customer ID. Defaults to first account.

adjust_keyword_bidB

Change the CPC bid for a specific keyword.

Args: keyword_id: Keyword resource ID (e.g. "K001"). new_bid_dollars: New max CPC bid in dollars. account_id: Google Ads customer ID. Defaults to first account.

run_account_auditA

Run a comprehensive account audit across all dimensions.

Checks: wasted spend, keyword health, geo performance, ad copy coverage, bid strategy alignment, and doctrine compliance.

Args: account_id: Google Ads customer ID. Defaults to first account.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
list_accountsList all managed Google Ads accounts with IDs and labels.
list_doctrinesOperational doctrines — the rules engine that governs automated decisions.
server_statusServer mode and connection status.

TDQS

A3.5/5.0

Scored across 8 tools

Disambiguation4/5

Each tool targets a distinct resource or dimension: campaign-level metrics, keyword-level metrics, search terms, and geo performance are clearly separated by resource granularity. The only mild overlap is run_account_audit, which is a superset of the individual reads, but its 'comprehensive audit' framing distinguishes it from the targeted get_* tools.

Naming Consistency5/5

All eight tools follow a consistent snake_case verb_noun pattern (get_campaign_metrics, add_negative_keyword, set_campaign_budget, etc.). Verb choices (run/get/add/set/adjust) map sensibly to action types without breaking the pattern.

Tool Count5/5

Eight tools is well-scoped for a Google Ads audit-and-optimize server, covering reads plus targeted writes without redundancy. Each tool earns its place with a distinct analytical or mutation role.

Completeness4/5

The core loop of audit → inspect metrics/search terms/geo → negate keywords, adjust budgets and bids is fully covered. Gaps exist for ad copy edits and campaign/ad group creation or pause/enable, which the audit references but cannot act on, though agents can work around these for the stated optimization purpose.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues