/ Directorio / Playground / mcp-google-ads
● Oficial cohnen ⚡ Instantáneo

mcp-google-ads

por cohnen · cohnen/mcp-google-ads

Run GAQL against your Google Ads account from chat — account listing, campaign + ad performance, custom queries — with OAuth or service-account auth.

mcp-google-ads is a Python MCP that talks to the Google Ads API. Five capabilities: list accessible accounts, run arbitrary GAQL, read campaign performance, read ad performance, and run custom queries. Requires a Google Ads Developer Token (1-3 business day approval) and either OAuth or service account auth.

Por qué usarlo

Características clave

Demo en vivo

Cómo se ve en la práctica

google-ads.replay ▶ listo
0/0

Instalar

Elige tu cliente

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "google-ads": {
      "command": "uvx",
      "args": [
        "mcp-google-ads"
      ],
      "_inferred": true
    }
  }
}

Abre Claude Desktop → Settings → Developer → Edit Config. Reinicia después de guardar.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "google-ads": {
      "command": "uvx",
      "args": [
        "mcp-google-ads"
      ],
      "_inferred": true
    }
  }
}

Cursor usa el mismo esquema mcpServers que Claude Desktop. La configuración del proyecto prevalece sobre la global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "google-ads": {
      "command": "uvx",
      "args": [
        "mcp-google-ads"
      ],
      "_inferred": true
    }
  }
}

Haz clic en el icono MCP Servers de la barra lateral de Cline y luego en "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "google-ads": {
      "command": "uvx",
      "args": [
        "mcp-google-ads"
      ],
      "_inferred": true
    }
  }
}

Mismo formato que Claude Desktop. Reinicia Windsurf para aplicar.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "google-ads",
      "command": "uvx",
      "args": [
        "mcp-google-ads"
      ]
    }
  ]
}

Continue usa un array de objetos de servidor en lugar de un mapa.

~/.config/zed/settings.json
{
  "context_servers": {
    "google-ads": {
      "command": {
        "path": "uvx",
        "args": [
          "mcp-google-ads"
        ]
      }
    }
  }
}

Añádelo a context_servers. Zed recarga en caliente al guardar.

claude mcp add google-ads -- uvx mcp-google-ads

Un solo comando. Verifica con claude mcp list. Quita con claude mcp remove.

Casos de uso

Usos del mundo real: mcp-google-ads

Weekly campaign health check across accounts

👤 Paid marketing managers, agencies ⏱ ~20 min intermediate

Cuándo usarlo: Weekly — which campaigns are burning budget with poor CTR / high CPA?

Requisitos previos
  • Google Ads Developer Token (approved) — ads.google.com > Tools > API Center — 1-3 business days
  • OAuth client OR service account with Ads access — Google Cloud Console
Flujo
  1. List accounts
    List all Google Ads accounts I can access.✓ Copiado
    → MCC + child accounts
  2. Pull performance
    For each account, pull last 7 days: campaign name, cost, clicks, conversions, CPA. Flag campaigns where CPA > $100.✓ Copiado
    → Ranked hot-spot list
  3. Propose action
    For the worst 3 campaigns, suggest: pause, lower bid, or investigate further based on the numbers.✓ Copiado
    → Action plan

Resultado: Weekly hotspot review in minutes.

Errores comunes
  • Attribution windows differ by conversion action — Include segments.conversion_action_name and check each separately
Combinar con: notion

Mine search terms for negative keywords

👤 Performance marketers ⏱ ~15 min intermediate

Cuándo usarlo: Regular account hygiene — catch wasteful queries before they add up.

Flujo
  1. Pull search terms
    GAQL: search_term_view for last 30 days, columns [search_term, campaign, cost, conversions]. Cost > $10 and conversions = 0.✓ Copiado
    → Wasteful query list
  2. Group and recommend
    Group by recurring phrases. Suggest negative keywords to add at account or campaign level.✓ Copiado
    → Negative list with level

Resultado: A tidy negative-keyword list to apply.

Errores comunes
  • Broad-matching negatives can block legit traffic — Use exact or phrase negatives first; broad only when very confident

Audit ad copy performance across a campaign

👤 Copywriters, PPC leads ⏱ ~15 min intermediate

Cuándo usarlo: You launched 3 responsive ads and want to know which combos perform.

Flujo
  1. Pull ad stats
    For campaign X, list all ads + their 30-day CTR + conv rate. Sort by conv rate desc.✓ Copiado
    → Ad performance ranked
  2. Recommend
    What patterns distinguish top-performing ad copy? What should I iterate on?✓ Copiado
    → Copy insights

Resultado: Data-driven creative iteration.

Errores comunes
  • Low-volume ads look worse than they are due to variance — Require minimum 100 impressions before comparing rates

Combinaciones

Combínalo con otros MCPs para multiplicar por 10

google-ads + notion

Weekly marketing digest

Pull last week's Google Ads performance + biggest wins/losses; create a Notion page in 'Marketing Weekly'.✓ Copiado
google-ads + postgres

Join Google Ads data with your DB for full-funnel view

Get conversion counts from Google Ads for campaign X. Query the DB for actual closed deals originating from that campaign.✓ Copiado

Herramientas

Lo que expone este MCP

HerramientaEntradasCuándo llamarCoste
list_accessible_accounts Discover the account graph 1 API call
run_gaql customer_id, query: str Any custom report 1 API call
campaign_performance customer_id, date_range Quick campaign digest 1 API call
ad_performance customer_id, campaign_id?, date_range Creative audit 1 API call

Coste y límites

Lo que cuesta ejecutarlo

Cuota de API
Google Ads API: generous per-day quota; rate-limited per QPS
Tokens por llamada
Results depend heavily on date range and segments — cap rows
Monetario
API is free; you pay for ads separately
Consejo
Always include a date range in GAQL. Running without LIMITs can return 100k rows.

Seguridad

Permisos, secretos, alcance

Ámbitos mínimos: Read-only on the Ads accounts where possible
Almacenamiento de credenciales: Service account JSON or OAuth refresh token — env vars or secret manager
Salida de datos: Performance data goes to your LLM provider
No conceder nunca: Admin on the Ads account to an agent that does more than read

Resolución de problemas

Errores comunes y soluciones

AUTHENTICATION_ERROR or PERMISSION_DENIED

Service account email not added to MCC with access, or developer_token wrong. Check ads.google.com > Access & Security.

Too many metrics for segment

GAQL has restrictions on which metrics can be combined with which segments. Query a simpler subset.

Verificar: Read the GAQL compatibility table
Test token quota exceeded

Apply for production token; until then, test on small accounts with low query frequency.

Alternativas

mcp-google-ads vs otros

AlternativaCuándo usarlaContrapartida
Google Ads UI / EditorYou only occasionally pull reportsManual; no LLM insight
Meta Ads MCPYou also run Meta adsDifferent platform; own auth

Más

Recursos

📖 Lee el README oficial en GitHub

🐙 Ver issues abiertas

🔍 Ver todos los 400+ servidores MCP y Skills