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 $0.00034 $0.02889
Sonnet 5 $0.00013 $0.01156
Haiku 4.5 $0.00007 $0.00578

Measured 9d ago against content hash 7cfbc44bea4e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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 — 0 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. 9d 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 (4 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. 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 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

spec-implement

Orchestrate parallel implementation of a feature specification by dispatching coder agents batch-by-batch with code review gates between batches. Use this skill when the user says "implement this feature", "start implementing", "run the spec", "execute the plan", "continue implementing", or wants to begin coding a…

benjaminthomas/spec-driven-dev · 130 tokens

spec-create

Create a structured feature specification with self-contained task files organized into parallel execution batches. Use this skill when the user says "create a spec", "plan this feature", "write up an implementation plan", "break this into tasks", or after any planning conversation where the user wants to capture…

benjaminthomas/spec-driven-dev · 118 tokens

spec-ship

Push the current branch to GitHub and create a pull request. Use this skill when the user says "ship it", "ship this", "push to github", "create a pr", "open a pull request", "send for review", "get this reviewed", or wants to push their work and open a PR. Also use when the user says "/spec-ship" (or their host's…

benjaminthomas/spec-driven-dev · 119 tokens

spec-checkpoint

Create a comprehensive checkpoint commit with detailed analysis of all changes. Use this skill when the user says "checkpoint", "commit everything", "save my progress", "create a commit", or wants to stage and commit all current changes with a well-crafted message. Also use when the user says "/spec-checkpoint" (or…

benjaminthomas/spec-driven-dev · 98 tokens

generative-seo

Run an evidence-based SEO + GEO (Generative Engine Optimization) program for ANY website or product codebase — auditing technical SEO, writing or retrofitting content so it gets cited by ChatGPT/Perplexity/AI Overviews, tracking AI-citation visibility, refreshing competitor research, and drafting distribution posts.…

benjaminthomas/spec-driven-dev · 180 tokens

spec-verify

Verify a completed feature spec by driving the real running app — not just lint/typecheck/build — and checking off every acceptance criterion from its specs/{feature}/ folder one by one. Use this after /spec-implement finishes a spec, when the user says "test this end to end", "verify this feature actually works"…

benjaminthomas/spec-driven-dev · 210 tokens