agentleFS
itallstartedwithaideaitallstartedwithaidea/google-ads-skills/skills/google-ads-mcp/SKILL.md

google-ads-mcp

Skill38 starsChanged 8 months agoApache-2.0View on GitHub

MCP (Model Context Protocol) server configuration for live Google Ads API access. Activate when the user wants to connect Claude to their Google Ads account via MCP, set up the google-ads-mcp server, or configure credentials for live API queries. Provides setup instructions, server configuration, and troubleshooting.

  • Reads credentials
  • Installs packages

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Create a .env file or set environment variables:

    line 24
  2. Very specific:

    Place .mcp.json in your project root:

    line 49
  3. Very specific:

    All write tools use confirm=False by default (dry-run preview).

    line 132

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Google Ads MCP Server

This skill configures the google-ads-mcp server for live Google Ads API access through Claude Code, Claude Desktop, Cursor, or any MCP client.

Quick Setup

1. Install

pip install git+https://github.com/itallstartedwithaidea/google-ads-mcp.git

2. Configure Credentials

Create a .env file or set environment variables:

GOOGLE_ADS_DEVELOPER_TOKEN=your-developer-token
GOOGLE_ADS_CLIENT_ID=your-oauth-client-id
GOOGLE_ADS_CLIENT_SECRET=your-oauth-client-secret
GOOGLE_ADS_REFRESH_TOKEN=your-refresh-token
GOOGLE_ADS_LOGIN_CUSTOMER_ID=123-456-7890

Or point to an existing google-ads.yaml:

GOOGLE_ADS_CREDENTIALS=/path/to/google-ads.yaml
GOOGLE_ADS_LOGIN_CUSTOMER_ID=123-456-7890

3. Run

python -m ads_mcp.server

Claude Code Configuration

Place .mcp.json in your project root:

{
  "mcpServers": {
    "google-ads": {
      "type": "stdio",
      "command": "python",
      "args": ["-m", "ads_mcp.server"],
      "env": {
        "GOOGLE_ADS_CREDENTIALS": "${GOOGLE_ADS_CREDENTIALS}",
        "GOOGLE_ADS_LOGIN_CUSTOMER_ID": "${GOOGLE_ADS_LOGIN_CUSTOMER_ID}"
      }
    }
  }
}

Claude Code auto-discovers .mcp.json and loads the server on startup.

Claude Desktop Configuration

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "google-ads": {
      "command": "python",
      "args": ["-m", "ads_mcp.server"],
      "env": {
        "GOOGLE_ADS_CREDENTIALS": "/path/to/google-ads.yaml",
        "GOOGLE_ADS_LOGIN_CUSTOMER_ID": "123-456-7890"
      }
    }
  }
}

Available Tools (29)

Read Tools (9)

ToolDescription
list_accessible_customersList all accessible customer accounts
list_accountsList accounts under an MCC with details
execute_gaqlRun custom GAQL queries
get_campaign_performanceCampaign metrics with date range
get_keyword_performanceKeyword metrics and quality scores
get_search_termsSearch term report with wasted spend
get_ad_performanceAd creative performance
get_account_budget_summaryBudget utilization analysis
generate_keyword_ideasKeyword Planner search volume and CPC

Audit Tools (7)

ToolDescription
get_auction_insightsCompetitive auction data
get_change_historyRecent account changes
get_device_performancePerformance by device type
get_geo_performancePerformance by location
get_recommendationsGoogle's optimization suggestions
get_pmax_performancePerformance Max campaign data
get_impression_shareImpression share and lost opportunity

Write Tools (11) — dry-run by default

ToolDescription
update_campaign_budgetChange daily budget
update_campaign_statusPause or enable a campaign
update_ad_group_statusPause or enable an ad group
update_keyword_bidChange keyword CPC bid
add_keywordsAdd keywords to an ad group
add_negative_keywordsAdd negative keywords
remove_negative_keywordRemove a negative keyword
create_campaignCreate a new campaign (paused)
create_ad_groupCreate a new ad group
switch_bidding_strategyChange bidding strategy
generic_mutateRaw Google Ads API mutation

All write tools use confirm=False by default (dry-run preview). Pass confirm=True only after reviewing the preview.

Doc Tools (2)

ToolDescription
get_gaql_referenceGAQL syntax and field reference
get_workflow_guideStep-by-step workflow instructions

Credential Sources

ValueWhere to Get It
Developer Tokenads.google.com → Tools & Settings → API Center
Client IDconsole.cloud.google.com → Credentials
Client Secretconsole.cloud.google.com → Credentials
Refresh TokenOAuth Playground or google-ads Python auth helper
Login Customer IDYour MCC account ID (top of Google Ads UI)

Troubleshooting

ProblemFix
UNAUTHENTICATEDRefresh token expired — regenerate via OAuth Playground
PERMISSION_DENIEDAccount not accessible under your MCC
DEVELOPER_TOKEN_NOT_APPROVEDApply for Basic Access at ads.google.com → API Center
Rate limit exceededBasic Access: 15K ops/day. Use LIMIT clauses and filters.

Related

Download now (ZIP)

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. davidmosiah/google-ads-mcp-unofficial★ 4same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository4 other files it gives its agents.

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.