MCP Ecommerce
Google Ads logo

Installation guide

How to install Google Ads MCP Server

In Claude, ChatGPT, Gemini, Microsoft Copilot, Perplexity, Cursor and Claude Code, with what to check before you start and the first prompts to run.

This is a local install. You run Google's open-source `google-ads-mcp` server on your own machine, and your AI tool starts it over stdio using `pipx`. Authentication uses Google Application Default Credentials (ADC) with the Google Ads API scope, plus a Google Ads API developer token. An optional second mode runs the server over streamable HTTP with an OAuth proxy, for local containers or shared setups.

Have a person who already has access to the Google Ads accounts do this, ideally the account owner or an agency developer working from a manager (MCC) account. They need a Google Cloud project and a developer token requested from the manager account. The README describes mutate tools (assets and labels) as well as read tools. For a strictly read-only setup, disable those in `tools_config.yaml` before first use.

Google Ads MCP Server setup guide: Google's MCP documentation page on github.com, shown in a browser frame (advertising MCP server for e-commerce)
Google Ads MCP Server setup guide preview: Google’s documentation on github.com, captured Nov 26, 2026. The page may have changed since; the link opens the live version.

Before you start

  • A Google Ads API developer token, requested from a Google Ads manager account. Take the exact way to supply it from the project README, because the documentation excerpt we reviewed does not name the setting.
  • Python 3.11 or later and pipx installed on the machine that will run the server.
  • A Google Cloud project with the Google Ads API enabled, and its project ID for GOOGLE_CLOUD_PROJECT.
  • Application Default Credentials for a user or service account with access to the target accounts, including the https://www.googleapis.com/auth/adwords scope. The gcloud CLI is used to create them.
  • The customer ID of each account to query, and the manager account ID if you work through an MCC.
How it runs
Local, runs on your machine
Access
Read-only
Server address
Copy it from the vendor documentation

Google Ads MCP Server in Claude

  1. Create ADC first: run gcloud auth application-default login --scopes=https://www.googleapis.com/auth/adwords,https://www.googleapis.com/auth/cloud-platform --client-id-file=YOUR_CLIENT_JSON_FILE, then note the path printed after Credentials saved to file:.
  2. Open the Claude Desktop config file (claude_desktop_config.json) through the app's developer settings, and add the mcpServers entry shown below.
  3. Replace PATH_TO_CREDENTIALS_JSON and YOUR_PROJECT_ID. If you use a manager account, add GOOGLE_ADS_LOGIN_CUSTOMER_ID to env. Add the developer token as described in the project README.
  4. Save the file and fully restart Claude Desktop so it spawns the server.
  5. The server runs on your computer, so it fits the Claude Desktop app. The Claude.ai web custom connector needs a URL reachable from the internet, and the docs do not cover that route for this server.
claude_desktop_config.json
{
  "mcpServers": {
    "google-ads-mcp": {
      "command": "pipx",
      "args": [
        "run",
        "--spec",
        "git+https://github.com/googleads/google-ads-mcp.git",
        "google-ads-mcp"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "PATH_TO_CREDENTIALS_JSON",
        "GOOGLE_CLOUD_PROJECT": "YOUR_PROJECT_ID"
      }
    }
  }
}

Google Ads MCP Server in ChatGPT

  1. The documentation does not cover ChatGPT. ChatGPT connectors (Developer mode, custom MCP) need a server URL that ChatGPT can reach over the internet.
  2. This server runs locally by default, and its Mode B endpoint is http://localhost:8080/mcp, which ChatGPT cannot reach from its own side.
  3. To use ChatGPT you would have to host the server at a public HTTPS address yourself, for example with the Cloud Run deployment the README describes. Take the exact deployment steps from the README.
  4. If you do that, enable Developer mode in ChatGPT settings, add a custom connector, and paste your public MCP URL.
  5. For most teams, a desktop or terminal client (Claude Desktop, Cursor, Claude Code) is the simpler route for this server.

Google Ads MCP Server in Gemini

  1. Create ADC with gcloud auth application-default login including the https://www.googleapis.com/auth/adwords scope, and note the credentials file path.
  2. The docs do not name Gemini CLI, but they say the mcpServers JSON format works across standard MCP clients. Open your Gemini CLI settings file.
  3. Add the mcpServers entry below, replacing PATH_TO_CREDENTIALS_JSON and YOUR_PROJECT_ID.
  4. Add GOOGLE_ADS_LOGIN_CUSTOMER_ID to env if you work through a manager account, and supply the developer token as the README describes.
  5. Restart Gemini CLI and check that the google-ads-mcp server and its tools are listed. The Gemini app extensions route is not covered by the docs.
Gemini CLI settings (mcpServers)
{
  "mcpServers": {
    "google-ads-mcp": {
      "command": "pipx",
      "args": [
        "run",
        "--spec",
        "git+https://github.com/googleads/google-ads-mcp.git",
        "google-ads-mcp"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "PATH_TO_CREDENTIALS_JSON",
        "GOOGLE_CLOUD_PROJECT": "YOUR_PROJECT_ID"
      }
    }
  }
}

Google Ads MCP Server in Microsoft Copilot

  1. For GitHub Copilot in VS Code, create ADC first and note the credentials file path printed by gcloud auth application-default login.
  2. Create or open .vscode/mcp.json in your workspace. The README names this file, but shows the mcpServers format. VS Code uses a top-level servers object, so the snippet below adapts the same values.
  3. Replace PATH_TO_CREDENTIALS_JSON and YOUR_PROJECT_ID, and add the manager ID and developer token as described above.
  4. Save, then start the server from the editor's MCP controls and confirm its tools appear in Copilot's agent mode.
  5. Microsoft Copilot Studio is not covered by the docs. It expects a remotely hosted MCP endpoint, so it does not fit the default local setup.
.vscode/mcp.json
{
  "servers": {
    "google-ads-mcp": {
      "command": "pipx",
      "args": [
        "run",
        "--spec",
        "git+https://github.com/googleads/google-ads-mcp.git",
        "google-ads-mcp"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "PATH_TO_CREDENTIALS_JSON",
        "GOOGLE_CLOUD_PROJECT": "YOUR_PROJECT_ID"
      }
    }
  }
}

Google Ads MCP Server in Perplexity

  1. The documentation does not cover Perplexity. Use the Perplexity desktop app's connectors settings, where you add an MCP server.
  2. Local command servers are the relevant type here. Check the current Perplexity documentation for whether your plan and app version support adding one.
  3. If supported, enter the command pipx with the arguments run --spec git+https://github.com/googleads/google-ads-mcp.git google-ads-mcp.
  4. Set the environment variables GOOGLE_APPLICATION_CREDENTIALS and GOOGLE_CLOUD_PROJECT, plus the developer token as the README describes.
  5. If the app only accepts a remote URL, run the server in Mode B and use http://localhost:8080/mcp only if the app can reach your machine. Take the Mode B setup from the README.

Google Ads MCP Server in Cursor

  1. Create ADC with gcloud auth application-default login including the https://www.googleapis.com/auth/adwords scope, and note the credentials file path.
  2. Open .cursor/mcp.json in your project, or the global Cursor MCP settings, via Settings > MCP.
  3. Paste the mcpServers entry below, replacing PATH_TO_CREDENTIALS_JSON and YOUR_PROJECT_ID.
  4. Add GOOGLE_ADS_LOGIN_CUSTOMER_ID to env if you query through a manager account, and supply the developer token as the README describes.
  5. Save and confirm the google-ads-mcp server shows as enabled with its tools listed. Reload Cursor if it does not.
.cursor/mcp.json
{
  "mcpServers": {
    "google-ads-mcp": {
      "command": "pipx",
      "args": [
        "run",
        "--spec",
        "git+https://github.com/googleads/google-ads-mcp.git",
        "google-ads-mcp"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "PATH_TO_CREDENTIALS_JSON",
        "GOOGLE_CLOUD_PROJECT": "YOUR_PROJECT_ID"
      }
    }
  }
}

Google Ads MCP Server in Claude Code

  1. Create ADC with gcloud auth application-default login including the https://www.googleapis.com/auth/adwords scope, and note the credentials file path.
  2. Run the command below in a terminal to register the server as a local stdio server.
  3. Provide GOOGLE_APPLICATION_CREDENTIALS and GOOGLE_CLOUD_PROJECT to the server. Use Claude Code's environment option for claude mcp add (see claude mcp add --help), or put the mcpServers JSON with an env block in the config file. The README names ~/.claude/settings.json for this.
  4. Add GOOGLE_ADS_LOGIN_CUSTOMER_ID if you work through a manager account, and the developer token as the README describes.
  5. Run claude mcp list to confirm the server is registered, then start a session and check that its tools are available.
Terminal
claude mcp add google-ads-mcp -- pipx run --spec git+https://github.com/googleads/google-ads-mcp.git google-ads-mcp

Check that it works

Start with questions that only read data. If these answer from your real account, the connection is good.

  • List the Google Ads accounts these credentials can access.
  • For customer ID YOUR_CUSTOMER_ID, show campaign cost, clicks and conversions for the last 30 days using a GAQL query.
  • Get the selectable fields for the campaign resource, then list the top 10 keywords by clicks in the last 7 days.

Troubleshooting

+

The server does not start or its tools are missing in my client. What should I check?

Confirm Python 3.11 or later and `pipx` are installed and on the PATH the client uses. Check the JSON for syntax errors and restart the client fully. If you set `GOOGLE_ADS_MCP_TOOLS_CONFIG`, an invalid or missing file makes startup fail immediately, so check that path first.

+

I get permission or authentication errors from the Google Ads API. How do I fix them?

Check that the Google Ads API is enabled in the project named in `GOOGLE_CLOUD_PROJECT`. Make sure the ADC file includes the `https://www.googleapis.com/auth/adwords` scope and the user can access the account. Confirm the developer token is set as the README describes. For client accounts under an MCC, set `GOOGLE_ADS_LOGIN_CUSTOMER_ID`.

+

The listing says read-only, but I see assets and labels tools. Can I remove them?

Yes. The README lists mutate tools, protected by a propose and confirm step. For a strictly read-only setup, create a `tools_config.yaml` with `labels: false` and `assets: false` under `namespaces`, and point `GOOGLE_ADS_MCP_TOOLS_CONFIG` at it. Restart the client afterwards. Enable writes only for supervised tasks.

Written Nov 26, 2026 from the vendor documentation. Exact menus, addresses and commands change; the official documentation is the source of truth.

Questions and answers

Questions readers and searchers ask about installing Google Ads MCP Server, answered by the site editor from the vendor documentation, plus reader experience. Every comment is reviewed before it appears.

Ask a question or share what worked

Reviewed before publishing. One link max, no HTML.