google-ads-api-mcp-setup

google-ads-api-mcp-setup is a skill for Claude Code, Codex from hamzabellouch/agent-skills. It costs 67 tokens per session (5,778 once invoked), scanned C, a copy of google-ads-api-mcp-setup, MIT.

A setup guide for connecting an AI coding assistant to Google Ads through an official open-source server. Google Ads is Google's system for creating campaigns and viewing advertising results.

In plain words
What is it for?
Installing the server, configuring Python 3.12+, pipx, network access, and Google Ads credentials, then querying campaigns or retrieving reports with natural-language requests.
Why use it?
It explains the installation steps and required credentials, so developers do not have to work out the connection themselves.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Installing the server, configuring Python 3.12+, pipx, network access, and Google Ads credentials, then querying campaigns or retrieving reports with natural-language requests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hamzabellouch/agent-skills/google-ads-api-mcp-setup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hamzabellouch/agent-skills --skill google-ads-api-mcp-setup
Clone the repo
git clone --depth 1 https://github.com/hamzabellouch/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for google-ads-api-mcp-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/google-ads-api-mcp-setup/github.svg)](https://agentmods.dev/skills/hamzabellouch/agent-skills/google-ads-api-mcp-setup)
Your own site
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/google-ads-api-mcp-setup"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/google-ads-api-mcp-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for google-ads-api-mcp-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/google-ads-api-mcp-setup"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/google-ads-api-mcp-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,778 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.05778
Opus 5.5 $0.00027 $0.02311
Sonnet 5.5 $0.00013 $0.01156
Haiku 4.5 $0.00007 $0.00578

Measured 3mo ago against content hash 7cfbc44bea4e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

google-ads-api-mcp-setup scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt install pipx && pipx ensurepath

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

After deployment, update your MCP client configuration (for example, `~/.gemini/settings.json` or Claude/Cursor config) to use the Cloud Run URL:
Origin

This is a copy

100% identical to google-ads-api-mcp-setup — 135 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AI API and Agent Platform/google-ads-api-mcp-setup/SKILL.md · 463 lines

How it starts

The opening of the file, as written. The whole thing — 463 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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: pipx must 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:

  1. STOP executing this skill.
  2. Transition to the google-ads-api-quickstart skill 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:

  1. Developer Token: Your unique API access key from the API Center (Manager Account).
  2. OAuth2 Client ID & Client Secret: Desktop Application credentials from the Google Cloud Console.
  3. OAuth2 Refresh Token: The long-lived token generated via the OAuth consent flow.
  4. Client Customer ID: The 10-digit target Google Ads account ID.
    • [!IMPORTANT]

    • Format: Must contain digits only, no hyphens (e.g., 1234567890, NOT 123-456-7890).

  5. 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.

Read the full file on GitHub · 463 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 463 lines · 67 tokens per session scan C 7cfbc44bea4e

Subscribe to this mod's changes

google-ads-api-mcp-setup is a skill published in the GitHub repository hamzabellouch/agent-skills (8 stars, last pushed 1mo ago), licensed MIT. It adds 67 tokens to every session and 5,778 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 2 findings (asks for root, reads agent configuration directories). It is 100% identical to google-ads-api-mcp-setup, differing in 135 lines, and is treated as a copy.

Related

google-ads-api-mcp-setup compared with skills from other repositories

google-ads-api-mcp-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
google-ads-api-mcp-setuphamzabellouch/agent-skillsSkill81mo agoMITC67Claude Code, Codex
spec-investigatebenjaminthomas/spec-driven-devSkill2todayMITA229Claude Code
spec-implementbenjaminthomas/spec-driven-devSkill2todayMITA137Claude Code
spec-shipbenjaminthomas/spec-driven-devSkill2todayMITA119Claude Code
spec-walkthroughbenjaminthomas/spec-driven-devSkill2todayMITA172Claude Code
spec-setupbenjaminthomas/spec-driven-devSkill2todayMITA223Claude Code
spec-escapesbenjaminthomas/spec-driven-devSkill2todayMITA148Claude Code