How to Set Up the Google Ads MCP Server in Claude

Paid search manager reviewing campaign results with a colleague at a laptop

The Google Ads MCP is Google's official open-source server that lets Claude and other AI assistants query your Google Ads accounts with GAQL, the Google Ads Query Language. Its read tools pull reports. A small set of write tools creates assets and manages labels behind a confirm step. As of December 2026 no tool can create or edit campaigns, budgets, bids or keywords.

This guide covers the setup for Claude Desktop and Claude Code, including the developer-token change most setup guides still miss. It's part of our MCP series with the Google Analytics MCP, the Search Console MCP and the Screaming Frog MCP.

Is there an official Google Ads MCP server?

Yes. Google maintains it at googleads/google-ads-mcp on GitHub under the Apache 2.0 license. Google's Ads developer channel introduced it in an October 2025 video. Google documents it in a developer integration guide. The latest release as of December 2026 is v0.0.6, published November 2, 2026.

The low version number matters. v0.0.6 was the release that added the write tools. Each tool name carries a namespace prefix such as search_search. Pin a version in your config and read the release notes before you upgrade.

What can the Google Ads MCP do?

Three read tools and four write tools come with the server. It also mounts four reference resources that Claude can read for context. They hold the API discovery document, the metrics and segments reference, and the latest API release notes.

Tool (v0.0.6 name)TypeWhat it does
customers_list_accessible_customersReadLists the customer IDs your credentials can reach directly
search_searchReadBuilds and runs a GAQL query from structured inputs (resource, fields, conditions, ordering, limit)
metadata_get_resource_metadataReadLists the selectable, filterable and sortable fields for a resource such as campaign
assets_create_assetWriteCreates text, image, YouTube video, sitelink, callout and structured snippet assets
assets_upload_video_assetWriteUploads a local video file to YouTube for use as an asset (local mode only)
labels_manage_labelsWriteCreates, updates and removes account labels
labels_manage_label_associationsWriteApplies labels to or removes them from campaigns, ad groups, criteria and customers

Reporting is where the server earns its keep. Anything GAQL can select is reachable through search_search. That includes campaign cost, search terms and Quality Score. The full list of resources and fields sits in Google's API fields reference.

Is the Google Ads MCP read-only?

Out of the box it reads and makes limited writes. Every write tool runs a propose-and-confirm workflow. The first call is a dry run that validates the change and returns a list of change items plus a checksum. Only a second call with the same parameters and that checksum commits anything. The server rejects a missing or mismatched checksum.

You can also make it strictly read-only. The server reads a tools_config.yaml file that switches tool groups on or off. Step 5 below shows a short version that disables writes entirely.

What changed with developer tokens in September 2026?

Google sunset developer tokens on September 9, 2026. API access now belongs to the Google Cloud project that owns your OAuth client or service account. Clients can still send a token in the request header. Google says the API servers ignore it.

Several guides ranking for this query still tell you to request a token from the API Center in a manager account. Google now asks developers to skip the API Center and request access on the Google Ads API Overview page in the Cloud console. Three details from Google's page shape the MCP setup.

  • Enabling the Google Ads API on a new project gives it Test access. Test access only reaches test accounts.
  • A Test-level project calling a real account gets CLOUD_PROJECT_NOT_APPROVED_FOR_PRODUCTION on API v25 and later. The fix is to apply for Explorer access from the Overview page.
  • New Basic and Standard applications need brand verification on the Cloud project first.

The MCP server reflects the change. Its code still reads an optional GOOGLE_ADS_DEVELOPER_TOKEN variable. Google's integration guide leaves that variable out of the config entirely. The access levels page lists what each level allows.

What you need before you start

  • Python 3.11 or higher plus pipx. Version 0.0.6 on PyPI accepts Python 3.10. Google's integration guide also says 3.10. The repository's main branch has since moved to 3.11 or later. Installing 3.11 covers both.
  • The gcloud CLI from Google's install guide.
  • A Google Cloud project with the Google Ads API enabled and at least Explorer access for live accounts.
  • A Google account with access to the Ads accounts, either directly or through a manager account (MCC).
  • Claude Desktop or Claude Code. Both can start local MCP servers.

Step 1. Enable the API and check your access level

In the Cloud console, open the project you'll use and enable the Google Ads API. Then open the Google Ads API Overview page for that project. It shows the current access level. Apply for Explorer there if it still reads Test and you need live data.

If your agency already used the API before September 9, check which project inherited the old token's level. Google moved levels automatically based on API activity in the 90 days before the sunset.

Step 2. Create Application Default Credentials with the Ads scope

The server signs in through Application Default Credentials. Create an OAuth desktop client in the same project (Google's Manage OAuth Clients page shows how) and download its JSON. Then run the command from Google's guide.

gcloud auth application-default login \
  --scopes=https://www.googleapis.com/auth/adwords,https://www.googleapis.com/auth/cloud-platform \
  --client-id-file=PATH_TO_CLIENT_SECRET_JSON

Here the OAuth client matters more than in the GA4 setup. Its Cloud project decides your API access level. When the command finishes, copy the path printed after Credentials saved to file.

For shared or scheduled use, a service account works too. Point GOOGLE_APPLICATION_CREDENTIALS at its key file. The same gcloud command also accepts --impersonate-service-account.

Step 3. Connect it to Claude Desktop

Open claude_desktop_config.json. On macOS it's in ~/Library/Application Support/Claude/ and on Windows in %APPDATA%\Claude\. Add the server under mcpServers. This block pins v0.0.6, matching Google's guide.

{
  "mcpServers": {
    "google-ads-mcp": {
      "command": "pipx",
      "args": ["run", "--spec", "google-ads-mcp==0.0.6", "google-ads-mcp"],
      "env": {
        "GOOGLE_CLOUD_PROJECT": "YOUR_PROJECT_ID",
        "GOOGLE_APPLICATION_CREDENTIALS": "PATH_TO_CREDENTIALS_JSON",
        "GOOGLE_ADS_LOGIN_CUSTOMER_ID": "1234567890"
      }
    }
  }
}

Keep GOOGLE_ADS_LOGIN_CUSTOMER_ID only if you reach client accounts through a manager account. Enter the manager's 10-digit ID with no hyphens. Google's page on API call structure explains the header it sets.

Write every path in full. If Claude Desktop can't start the server, run which pipx in a terminal and use that absolute path as "command". Quit and reopen the app to load the config.

Step 4. Connect it to Claude Code

The README suggests pasting the same JSON into a Claude Code settings file. Anthropic's Claude Code MCP docs register servers with claude mcp add. This is the equivalent command.

claude mcp add google-ads-mcp \
  --scope user \
  -e GOOGLE_CLOUD_PROJECT="YOUR_PROJECT_ID" \
  -e GOOGLE_APPLICATION_CREDENTIALS="PATH_TO_CREDENTIALS_JSON" \
  -- pipx run --spec google-ads-mcp==0.0.6 google-ads-mcp

Add -e GOOGLE_ADS_LOGIN_CUSTOMER_ID="1234567890" for manager-account access. Check the result with claude mcp list. Inside a session, /mcp shows whether the server connected.

Save this file somewhere permanent, for example next to your credentials.

namespaces:
  customers: true
  search: true
  metadata: true
  labels: false
  assets: false

Add GOOGLE_ADS_MCP_TOOLS_CONFIG to the server's environment with the full path to that file. Google's guide recommends the explicit variable for local hosts because their working directory can differ from your project folder. If the path is wrong, the server refuses to start. Defaults never load silently in its place.

Step 6. Test the connection

Ask Claude "What customers do I have access to?" A list of customer IDs means authentication works. Then ask for something small on one account, such as active campaigns with clicks and cost for the last seven days. Include the customer ID in the prompt. Google's README notes that most tools need one.

What can you ask the Google Ads MCP?

Each question below maps to one GAQL resource. Naming the resource and fields in your prompt keeps Claude from guessing. The server's own tool description tells the model to look up fields with the metadata tool first.

QuestionGAQL resource and fields
Which campaigns spent the most last month, split by devicecampaign with metrics.cost_micros, segments.device
Which search terms cost money and never convertedsearch_term_view with metrics.cost_micros, metrics.conversions
Which campaigns lose impressions to budgetcampaign with metrics.search_budget_lost_impression_share
Which keywords carry a low Quality Scorekeyword_view with ad_group_criterion.quality_info.quality_score
Who changed what in the account this weekchange_event (queries need a LIMIT of 10,000 or less)

PPC workflows worth running

Weekly search term review

Ask for search terms from the last 14 days with cost above a threshold and zero conversions. Have Claude group them by theme and draft a negative keyword list. The server can't add negatives in v0.0.6. You review the list and apply it in the Google Ads interface or Editor.

Budget-limited campaign check

Pull search budget lost impression share for every enabled campaign. Pair it with cost per conversion. Campaigns that lose share to budget at a healthy cost per conversion are candidates for more money. The decision stays with a person who knows the margins.

Run the search terms report next to the Search Console MCP in one conversation. Ask Claude which paid search terms also have organic positions in the top three. That list is the starting point for a brand and non-brand overlap test. Our paid search team plans ads around the topics where organic results still leave a client out. For conversion data on the site side, the Google Analytics MCP lists linked Ads accounts and runs conversion reports.

Gotchas that skew Google Ads numbers

Cost comes back in micros. The field reference gives budget amounts in micros of the account's local currency. One micro is a millionth of a unit. A cost_micros value of 25,000,000 is 25 units of currency. Ask Claude to convert before it summarizes.

Status fields show today's status. Query hints added to the server after v0.0.6 warn that filtering a date range on campaign.status = 'ENABLED' drops campaigns paused during that range. Totals then understate cost and conversions. Filter on status only when the question is about what runs right now.

Dates need the YYYY-MM-DD format with both ends of the range. Customer IDs go in without hyphens. The server strips stray punctuation itself.

Troubleshooting the Google Ads MCP

SymptomLikely causeFix
CLOUD_PROJECT_NOT_APPROVED_FOR_PRODUCTIONThe Cloud project has Test accessApply for Explorer access on the Google Ads API Overview page
ACTION_NOT_PERMITTED on older API versionsSame cause on v24 and earlierSame fix
Authentication or scope errorsADC created without the adwords scopeRerun the gcloud login from Step 2 with both scopes
Empty results or permission errors on a client accountThe account sits under a manager and no login customer ID was sentSet GOOGLE_ADS_LOGIN_CUSTOMER_ID to the manager's ID
Server fails at startup after adding a tools fileThe config path is wrong or the YAML is invalidCheck the full path in GOOGLE_ADS_MCP_TOOLS_CONFIG
Saved prompts or allowlists stop matching tool namesThe names were written without the namespace prefixUpdate names to the prefixed form, or set an empty prefix ("") for that namespace in the tools file
spawn pipx ENOENT in Claude DesktopThe app can't see your shell's PATHUse the absolute path from which pipx

Other Google Ads MCP options

Hosted Google Ads MCP servers from third-party vendors connect through a sign-in link with no local setup. Some vendors market theirs as able to run ads for you. They require handing a third party OAuth access to your ad accounts. Read their data handling terms before you connect a client account.

Google itself offers two companions for developers. A set of Google Ads API agent skills helps coding agents write valid GAQL. The Google Ads API Developer Assistant is a plugin for Claude Code and Antigravity that Google labels as not officially supported.

Ads data is one input among several. Our guide to using Claude for SEO covers the verification habits that keep AI-assisted reporting honest across every channel.

Want this for your brand

See where your brand stands in AI answers today, benchmarked against your competitors, no pitch required.