google ads for VS Code
io.github.mharnett/google-ads
Google Ads MCP with MCC support: 35 tools for campaigns, keywords, reporting, GAQL.
client:VS Code
transport:stdio
runtime:npm
Install google ads in VS Code
.vscode/mcp.json
{
"inputs": [
{
"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-developer-token",
"description": "GOOGLE_ADS_DEVELOPER_TOKEN",
"password": true
}
],
"servers": {
"google-ads": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-google-ads"
],
"env": {
"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_DEVELOPER_TOKEN": "${input:google-ads-developer-token}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs