google-ads-api-mcp-setup
O que ela faz
Ela ajuda a baixar, configurar e conectar o servidor MCP de código aberto do Google Ads a um assistente de IA, como Gemini, Claude Code ou Cursor. É para quem quer perguntar sobre campanhas e relatórios em linguagem simples.
Quando usar
- ✓Quando você quer que seu assistente de IA leia suas campanhas do Google Ads.
- ✓Quando você quer métricas de relatório do Google Ads fazendo perguntas em linguagem simples.
- ✓Quando você quer conectar o Cursor ou o Claude Code à sua conta do Google Ads.
Link da skill
https://github.com/google/skills/blob/main/skills/ads/google-ads-api-mcp-setup/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Me ajude a conectar o Claude Code à minha conta do Google Ads para eu poder perguntar sobre minhas campanhas.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
Ela verifica se há Python 3.12 ou mais recente e o pipx, confirma que você tem as credenciais do Google Ads e depois orienta as etapas de download, configuração e instalação.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Google Ads API MCP Server Installation
This skill provides a structured setup guide to install, configure, and integrate the official open-source Google Ads Model Context Protocol (MCP) Server.
System Requirements & Compatibility (Agent Action: State Required Prerequisites)
When answering questions about installing or setting up the MCP server, you
MUST explicitly state to the user that both Python 3.12+ and pipx
are strictly required prerequisites for the installation.
[!IMPORTANT] Pre-Flight Environment Check:
- Python Runtime: Version
3.12+is strictly required.- Package Manager:
pipxmust be installed and globally accessible in the system path.- Network Connectivity: Outbound HTTPS access is required to connect to the Google Ads API endpoints (
googleads.googleapis.com) and PyPI.
⚠️ Prerequisites: Credentials Required
[!WARNING] Dependency Check: The MCP server requires the same 5 authentication credentials as a standard integration.
If you do not have your Developer Token, Client ID, Client Secret, Refresh Token, and Customer IDs yet:
- STOP executing this skill.
- Transition to the
google-ads-api-quickstartskill first to generate them, then return here.
Step 1: Validate Your Google Ads API Credentials
The Google Ads MCP Server requires the same five parameters as the standard client libraries. Before proceeding to installation, verify that you have these values secured and formatted correctly:
- Developer Token: Your unique API access key from the API Center (Manager Account).
- OAuth2 Client ID & Client Secret: Desktop Application credentials from the Google Cloud Console.
- OAuth2 Refresh Token: The long-lived token generated via the OAuth consent flow.
- Client Customer ID: The 10-digit target Google Ads account ID.
[!IMPORTANT]
Format: Must contain digits only, no hyphens (e.g.,
1234567890, NOT123-456-7890).
- Login Customer ID (Required for MCC Hierarchies): The 10-digit Manager Account (MCC) ID.
- Format: Digits only, no hyphens (e.g.,
9876543210). - Note: Essential if your OAuth credentials belong to a Manager Account administrator rather than directly to the client account.
- Format: Digits only, no hyphens (e.g.,
Once you have verified that all five parameters are present and formatted correctly, proceed to Step 2.
Step 2: Install Prerequisites (Python & pipx)
You MUST verify if the prerequisites are already installed before proposing any installation commands.
1. Verification Phase (Agent Action)
You MUST run the following commands to check the environment:
- Check Python version:
python3 --version(Verify it is3.12+). - Check if pipx is installed:
pipx --version.
- If both are present: Skip the installation phase and proceed directly to Step 3.
- If Python is missing/outdated: Stop and ask the user to upgrade Python to
3.12+on their host machine. - If pipx is missing: Proceed to the installation phase below.
2. Installation Phase (OS-Specific)
Detect the operating system and propose the appropriate command to install pipx using your terminal tools:
macOS
If the environment is macOS, propose:
brew install pipx && pipx ensurepath
# Or alternatively (if Homebrew is not installed):
pip install pipx && pipx ensurepath
Windows (PowerShell)
If the environment is Windows, propose:
scoop install pipx
# Or alternatively:
pip install pipx && pipx ensurepath
Linux (Ubuntu/Debian)
If the environment is Linux, propose:
sudo apt install pipx && pipx ensurepath
[!WARNING] Shell Restart Required: If you installed
pipxand ranpipx ensurepath, the updatedPATHwill not be available in the current terminal session.
- DO NOT immediately attempt to run
pipxcommands in the same session.- Instruct the user to restart their terminal or reload their shell configuration before proceeding to Step 3.
Step 3: Install the Google Ads MCP Server
You must install the server package. By default, you MUST install the stable release from PyPI. Only install the GitHub development version if the user explicitly requests it.
1. Installation Command
Propose and execute the installation command:
Perguntas frequentes
O que preciso ter antes de começar?
Python 3.12 ou mais recente, pipx e suas credenciais do Google Ads.
E se eu ainda não tiver credenciais?
A skill manda você primeiro para o quickstart do Google Ads, para criá-las.
Quais assistentes ela suporta?
A skill cita Gemini, Claude Code e Cursor como exemplos.
Detalhes
Descrição original do autor
Guides developers through downloading, configuring, and installing the official open-source Google Ads MCP Server. Use this skill when a user wants to connect their AI assistant (such as Gemini, Claude Code, or Cursor) to their Google Ads account to query campaigns or retrieve reporting metrics using natural language.
repo: google/skills
Popularidade
- Estrelas no GitHub
- 22 mil
- Posição no ranking
- #10186
- Licença
- Apache-2.0
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
finding-google-skills
22 milAjuda seu agente a achar os guias certos do Google para configurar um projeto, como hospedagem, banco de dados, armazenamento e login.
gcloud
22 milAjuda seu agente a escrever e verificar comandos gcloud do Google Cloud, consultando a sintaxe exata antes de executar qualquer coisa, para não adivinhar flags.
google-cloud-recipe-auth
22 milOrienta seu agente pela identidade e pelo acesso no Google Cloud, incluindo como pessoas e serviços fazem login e quais permissões recebem.
google-cloud-recipe-onboarding
22 milGuia um desenvolvedor novo pelos primeiros passos no Google Cloud, incluindo escolher um projeto, vincular o faturamento e implantar um primeiro recurso.
Skills parecidas
mcporter
394 milAjuda seu agente a listar, chamar e inspecionar servidores MCP e suas ferramentas por HTTP ou stdio, e a gerenciar as configurações de login.
fastmcp
260 milAjuda você a construir, testar e publicar um servidor MCP em Python que dá a assistentes de IA acesso à sua API, banco de dados ou arquivos como ferramentas.
mcp-oauth-remote-gateway
260 milGuia você pelo login OAuth de um servidor MCP remoto quando o Hermes roda em um servidor, onde o login normal pelo navegador não consegue chegar.