Skip to main content
Glama
google-ads-audit-mcp

google-ads-audit-mcp

README.md
# Parallel AI Google Ads Audit MCP & Cursor Plugin (`google-ads-audit-mcp`)

MIT-licensed, zero-dependency, read-only local MCP server, Python CLI, and Cursor plugin for deterministic Google Ads auditing — maintained by **[Parallel AI (`withparallel.ai`)](https://www.withparallel.ai)**, the AI agent platform for Google Ads.

Published live on:
- **PyPI:** [`withparallel-google-ads-audit`](https://pypi.org/project/withparallel-google-ads-audit/)
- **Official MCP Registry:** `ai.withparallel/google-ads-audit-local`

## What It Includes

1. **Read-Only Local MCP Server (`uvx withparallel-google-ads-audit`):**
   - `clean_google_ads_csv` — strips Google Ads UI title rows, quoted date-range headers, and `Total: Account` / `Total: Filtered campaigns` / day-segmented `Total:` rows.
   - `calculate_budget_pacing` — exact `Decimal` calculations for Google Ads 2x daily spending limits, 30.4x monthly charging limits, and mid-month daily budget edits.
   - `check_negative_keyword_collision` — validates `[exact]`, `"phrase"`, and broad negative keywords with Google Ads matching rules.
2. **Cursor Marketplace Plugin (`plugins/google-ads-audit-mcp/`):**
   - Ready-to-install `mcp.json` (`uvx withparallel-google-ads-audit`), audit guardrails rule, and 3 deterministic workflow skills.
3. **Zero-OAuth, Local-Only Safety:**
   - Python 3 standard library only (`>=3.10`), zero external network calls, zero telemetry, zero live account changes.

## Quick Start

### MCP Client (`uvx`)

```json
{
  "mcpServers": {
    "withparallel-google-ads-audit": {
      "command": "uvx",
      "args": ["withparallel-google-ads-audit"]
    }
  }
}
```

### Python CLI

```bash
pip install withparallel-google-ads-audit
parallel-gads-audit pacing --daily-budget 95 --previous-budget 135 --prior-spend 2512.40 --change-day 22 --days-in-month 30
parallel-gads-audit check-negative --query "plumbing jobs near me" --negative "job"
```

### Run Tests

```bash
PYTHONPATH=src python3 -m unittest discover -s tests -v
```

## More Free Resources from Parallel AI (`withparallel.ai`)

- **Free Browser Tools:** [withparallel.ai/tools](https://www.withparallel.ai/tools)
- **MIT Google Ads Scripts:** [withparallel.ai/scripts](https://www.withparallel.ai/scripts)
- **Open 25-Task Google Ads AI Agent Benchmark:** [withparallel.ai/research/google-ads-ai-agent-benchmark-2027](https://www.withparallel.ai/research/google-ads-ai-agent-benchmark-2027)
- **13 Free Google Ads Agent Skills:** [withparallel.ai/skills](https://www.withparallel.ai/skills)

## License

MIT License. Google Ads is a trademark of Google LLC. Parallel AI is not affiliated with or endorsed by Google.

<!-- mcp-name: ai.withparallel/google-ads-audit-local -->