Skip to content
VS Code

Google Ads for VS Code

com.getmcpads/google-ads

Google Ads MCP server: 35 read tools, 10 opt-in preview-first writes.

client:VS Code transport:stdio runtime:npm

Install Google Ads in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "google-ads-developer-token",
      "description": "GOOGLE_ADS_DEVELOPER_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-ads-client-id",
      "description": "GOOGLE_ADS_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-ads-client-secret",
      "description": "GOOGLE_ADS_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-ads-refresh-token",
      "description": "GOOGLE_ADS_REFRESH_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-ads-login-customer-id",
      "description": "GOOGLE_ADS_LOGIN_CUSTOMER_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-ads-enable-writes",
      "description": "GOOGLE_ADS_ENABLE_WRITES",
      "password": true
    }
  ],
  "servers": {
    "google-ads": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@getmcpads/google-ads-mcp-server"
      ],
      "env": {
        "GOOGLE_ADS_DEVELOPER_TOKEN": "${input:google-ads-developer-token}",
        "GOOGLE_ADS_CLIENT_ID": "${input:google-ads-client-id}",
        "GOOGLE_ADS_CLIENT_SECRET": "${input:google-ads-client-secret}",
        "GOOGLE_ADS_REFRESH_TOKEN": "${input:google-ads-refresh-token}",
        "GOOGLE_ADS_LOGIN_CUSTOMER_ID": "${input:google-ads-login-customer-id}",
        "GOOGLE_ADS_ENABLE_WRITES": "${input:google-ads-enable-writes}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Google Ads in other clients