Metadata-Version: 2.4
Name: withparallel-google-ads-audit
Version: 0.1.0
Summary: Zero-dependency deterministic Python CLI, library, and read-only MCP stdio server from Parallel AI (withparallel.ai) for Google Ads CSV export parsing, 30.4x budget pacing, and negative keyword collision checks.
Author-email: Parallel AI <support@withparallel.ai>
License: MIT
Project-URL: Homepage, https://www.withparallel.ai/tools
Project-URL: Documentation, https://www.withparallel.ai/research/google-ads-ai-agent-benchmark-2027
Project-URL: Repository, https://github.com/parallel-ai-inc/google-ads-ai-agent-benchmark
Project-URL: Free Web Tools, https://www.withparallel.ai/tools
Project-URL: Google Ads Agent Skills, https://www.withparallel.ai/skills
Keywords: google-ads,ppc,gaql,budget-pacing,negative-keywords,ai-agents,marketing-analytics
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Office/Business :: Financial
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# withparallel-google-ads-audit

Zero-dependency, deterministic Python 3 CLI, library, and read-only MCP stdio server for auditing downloaded Google Ads CSV exports without LLM mental-math drift.

Maintained by **[Parallel AI (`withparallel.ai`)](https://www.withparallel.ai)**, the AI agent platform for Google Ads.

## What It Solves

- **Real Google Ads UI CSV parsing:** Automatically detects and skips title rows, quoted date-range headers, and all trailing `Total: Account`, `Total: Filtered campaigns`, and day-segmented `2026-11-12,Total: Search` footer rows.
- **Exact Google Ads billing math (`Decimal`):** Computes 2x daily spending limits, 30.4x monthly charging limits, and mid-month budget change ceilings (both remaining-month headroom and edit-day highest-budget-in-effect daily limits).
- **Search negative keyword matching:** Evaluates `[exact]`, `"phrase"`, and broad negatives honoring Google Ads singular/plural, accent, ampersand, case, and ignored-period semantics.

## Install

```bash
pip install withparallel-google-ads-audit
```

## MCP Server Usage (Zero-OAuth, Read-Only Local Stdio)

Connect directly from Claude Desktop, Claude Code, Cursor, or any MCP client using `uvx`:

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

Exposed read-only MCP tools (`readOnlyHint: true`, `destructiveHint: false`):
- `clean_google_ads_csv`: Parse local Google Ads UI CSV exports and strip title/Total summary rows.
- `calculate_budget_pacing`: Compute 30.4x monthly charging limits, 2x daily spending caps, and mid-month budget change rules.
- `check_negative_keyword_collision`: Evaluate `[exact]`, `"phrase"`, and broad negative keyword blocking rules.

## CLI Usage

```bash
# Strip title + Total rows and sum exact detail cost on a real Google Ads UI CSV
parallel-gads-audit clean-csv campaign-report.csv

# Compute 30.4x monthly charging limit or mid-month budget decrease ceilings
parallel-gads-audit pacing --daily-budget 95 --previous-budget 135 --prior-spend 2512.40 --change-day 22 --days-in-month 30

# Test whether a Google Ads negative entry blocks a search query
parallel-gads-audit check-negative --query "plumbing jobs near me" --negative "job"
```

## Related Free Resources from Parallel AI

- **Free Zero-Login Browser Tools:** [withparallel.ai/tools](https://www.withparallel.ai/tools)
- **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 -->
