google-ads-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Optional. Log level: debug, info, warn, error. | info |
| GOOGLE_ADS_CLIENT_ID | Yes | Required. OAuth client ID. | |
| GOOGLE_ADS_CLIENT_SECRET | Yes | Required. OAuth client secret. | |
| GOOGLE_ADS_ENABLE_WRITES | No | Optional. Set to '1' to register the 7 write tools. Unset by default. | |
| GOOGLE_ADS_REFRESH_TOKEN | Yes | Required. Refresh token from the consent flow. | |
| GOOGLE_ADS_DEVELOPER_TOKEN | Yes | Required. Developer token from the API Center, Basic Access or above. | |
| GOOGLE_ADS_LOGIN_CUSTOMER_ID | No | Optional. Manager (MCC) account ID. Dashes are accepted and stripped. |
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
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| google_ads_list_accountsA | List Google Ads customer accounts accessible with the current credentials. If an accessible customer is a manager account, also attempts to include enabled child accounts from customer_client. |
| google_ads_get_account_detailsA | Get detailed information for a specific Google Ads customer account. |
| google_ads_run_gaqlB | Execute a raw GAQL (Google Ads Query Language) query. Full flexibility for any reporting need. Example: SELECT campaign.name, metrics.impressions FROM campaign WHERE campaign.status = 'ENABLED' AND segments.date DURING LAST_30_DAYS ORDER BY metrics.impressions DESC LIMIT 100 |
| google_ads_get_insightsA | Query Google Ads performance insights with intelligent query planning. Auto-generates GAQL, handles metric/segment incompatibilities by splitting queries. Use google-ads://metrics for available metrics, google-ads://dimensions for dimensions. |
| google_ads_get_campaignsA | List campaigns for a Google Ads account with status, budget, channel type, and bidding strategy. |
| google_ads_get_adgroupsA | List ad groups for a Google Ads account, optionally filtered by campaign. |
| google_ads_get_keyword_performanceB | Get keyword-level performance data from keyword_view resource. Shows quality score, impressions, clicks, cost. |
| google_ads_validate_queryA | Validate metric/dimension/resource compatibility BEFORE executing a query. Checks segment restrictions and resource availability. |
| google_ads_health_checkA | Read-only connectivity check. Verifies credential presence, Google Ads API access, login customer visibility, API version, and actionable warnings without returning secrets. |
| google_ads_get_account_hierarchyA | List accessible customers and, where possible, manager/client relationships from GAQL customer_client. Falls back to accessible customers if hierarchy queries are unavailable. |
| google_ads_get_conversion_actionsA | List conversion actions with status, type, category, primary/include-in-conversions flags, owner customer, and last activity dates when supported. |
| google_ads_get_change_eventsA | Fetch recent change_event rows. Enforces Google Ads constraints: date window within the last 30 days and LIMIT <= 10000. |
| google_ads_get_recommendationsA | List Google Ads recommendations with type, resource, campaign/ad group links, dismissed state, and impact when supported. |
| google_ads_get_budgetsB | List campaign budgets with amount, status, delivery method, and recommended budget fields when supported. |
| google_ads_get_bidding_strategiesA | List portfolio bidding strategies. Includes metrics only when startDate/endDate are provided; otherwise returns structure only. |
| google_ads_get_search_termsB | Fetch search term performance from search_term_view or campaign_search_term_insight depending on reportType. |
| google_ads_get_landing_pagesA | Fetch landing_page_view performance with final URL, campaign/ad group context, traffic, conversion, and landing-page quality metrics when supported. |
| google_ads_get_pmax_assetsB | List Performance Max asset group assets from asset_group_asset with asset group/campaign context and optional date-range performance metrics. |
| google_ads_get_simulationsA | Read-only planning/forecast query for campaign, ad group, or portfolio bidding simulations. Returns simulation metadata and projected point lists when available, with a metadata fallback. |
| google_ads_get_paid_organic_search_termsA | Read-only paid/organic search terms report. Uses paid_organic_search_term_view when available and falls back to paid-only search_term_view if organic fields are unavailable. |
| google_ads_get_shopping_productsA | Read-only Merchant Center product catalog/eligibility report via shopping_product. Supports account, campaign, and ad group scopes with performance metrics when the account has Shopping/PMax e-commerce data. |
| google_ads_get_shopping_performanceA | Read-only Shopping performance report keyed by Merchant Center product dimensions. Useful for joining spend/conversions to merchant ID, item ID, title, brand, feed label, and custom labels. |
| google_ads_get_pmax_placementsA | Read-only Performance Max placement diagnostics from performance_max_placement_view. Returns placement type, display name, target URL, campaign context, and impressions only. |
| google_ads_get_pmax_asset_diagnosticsA | Read-only Performance Max asset group diagnostics. Returns ad strength, asset coverage action items, primary status reasons, optional performance metrics, and optional top asset combinations. |
| google_ads_generate_keyword_historical_metricsA | Get Keyword Planner search-volume history for supplied keywords. Returns average monthly searches, monthly volumes (up to 48 months), latest volume, computed 3-month and YoY changes, competition, CPC/bid ranges, close variants, and optional device totals. This is a read-only planless RPC. |
| google_ads_generate_keyword_ideasA | Discover Keyword Planner ideas from up to 20 seed keywords, a URL, keywords plus URL, or a whole site. Returns historical volume, monthly trends, computed 3-month/YoY changes, competition, bids, close variants, optional concepts, and pagination. Read-only; no plan is saved. |
| google_ads_generate_keyword_forecast_metricsA | Forecast impressions, clicks, CTR, CPC, cost, conversions, and CPA for a temporary keyword campaign. Supports targeting, negatives, match type, three bidding strategies, explicit future dates, and an optional independent per-keyword breakdown. This read-only planless RPC does not create a campaign or saved plan. |
| google_ads_search_fieldsA | Search Google's live GoogleAdsField catalog. Discovers every queryable GAQL resource, attribute, segment, metric, enum value, and selectable-with compatibility relationship. Read-only and useful before a raw GAQL query. |
| google_ads_suggest_geo_targetsA | Resolve up to 25 location names or geo target IDs to Google Ads geoTargetConstants. Returns criterion IDs, canonical names, target types, status, parents, locale, and approximate reach. Read-only. |
| google_ads_generate_ad_group_themesA | Organize supplied keywords into existing Google Ads ad groups. Returns suggested ad group/campaign pairings, normalized keyword text, and suggested match type without creating or editing keywords. Read-only Keyword Planner RPC. |
| google_ads_run_readonly_rpcA | Advanced read-only escape hatch for allowlisted Google Ads services outside GAQL: Audience Insights, Reach Planner, benchmarks, creator/trending insights, targeting suggestions, Smart Campaign suggestions, identity verification, invoices, and payments accounts. The operation is an enum; arbitrary paths and all mutations/uploads are impossible. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| google-ads-manifest | |
| google-ads-recipes | |
| google-ads-metrics | |
| google-ads-dimensions | |
| google-ads-compatibility |
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/getmcpads-com/google-ads-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server