Repository avatar
Other Tools
v0.1.0
active

google-ads-audit-local

ai.withparallel/google-ads-audit-local

Read-only local Google Ads CSV parser, 30.4x pacing calculator, and negative-keyword auditor.

Documentation

Google Ads AI Agent Benchmark 2027 (v1.1.0)

Interactive scoreboard, failure diffs, and CSV/JSON downloads: withparallel.ai/research/google-ads-ai-agent-benchmark-2027

An open, MIT-licensed benchmark measuring how frontier AI models and coding agents perform on 25 realistic, agency-scale Google Ads analysis tasks across 5,995 rows of campaign data and 130 strictly typed fields. Tasks cover 30.4x monthly charging limits, negative keywords blocking converting searches, GA4 vs. Google Ads conversion gaps, Performance Max placement waste, and Google Ads API v26 query and payload validation.

Every task runs the exact same prompt and byte-identical input files across three setups:

  • Chat only: inline CSV and JSON data with zero tools (0 tool calls verified in every transcript).
  • With Python: an isolated workspace with Python 3 and file tools, and no domain skills.
  • With Python + Google Ads Skills: the same Python workspace with a read-only copy of parallel-ai-inc/google-ads-skills@05e2eb7835.

Key Findings

  • Adding Python cuts latency 2.7x to 4.4x and eliminates math drift. On 240-to-580-row exports, Python removed every arithmetic and aggregation failure (2 to 0) and cut median per-task runtime from 32.4s to 7.4s on Claude Sonnet 5.5, 38.8s to 11.0s on Claude Opus 5.5, and 55.0s to 20.7s on GPT-6.2 Astra.
  • Google Ads domain rules account for 26 of 28 total failures. Even with Python, models failed on Google Ads rules rather than code: mid-month budget edit-day limits (B02), negative keyword punctuation rules (B07), Search lost top IS vs. overall Search lost IS (B23), API v26 campaign and budget validation (B24), and API v26.2 Demand Gen video overlay defaults (B25).
  • Adding Google Ads Skills lifted the median score from 21/25 to 22/25, with one regression. Across the three models tested in all three setups, mounting google-ads-skills fixed the mid-month budget cut task (B02) on Claude Opus 5.5 and the Search impression share task (B23) on Claude Sonnet 5.5, left 22 of 25 tasks unchanged, did not cover the late-2026 API v26/v26.2 tasks (B24, B25), and regressed negative keyword matching (B07) on Claude Sonnet 5.5.
  • Gemini 4 Neon passed 25/25 in Chat-only mode, at 10.1x to 28.2x the latency. Run as a single-setup Chat-only reference, Gemini 4 Neon solved every task (130/130 fields) but took a median of 208.5s per task (up to 8.1 minutes and 67,957 thinking tokens on a single export) versus 7.4s to 20.7s for the Python-equipped models.

Results Summary (v1.1.0, Published 2026-11-25)

Across the three models tested in all three setups (Claude Opus 5.5, Claude Sonnet 5.5, and GPT-6.2 Astra), the median whole-task score moved from 21/25 (Chat only) to 21/25 (With Python) to 22/25 (With Python + Google Ads Skills). In a single-setup Chat-only run, Gemini 4 Neon passed 25/25 at 208.5s median latency (10.1x to 28.2x longer than the Python-equipped models).

SetupModelTasks PassedFields (130)Median TimeBudgetsNegativesConversionsWasteAPI v26
Chat onlyClaude Opus 5.521/25 (84.0%)123/130 (94.6%)38.8s4/54/55/55/53/5
Chat onlyClaude Sonnet 5.519/25 (76.0%)117/130 (90.0%)32.4s4/53/55/54/53/5
Chat onlyGemini 4 Neon (Chat-only reference)25/25 (100.0%)130/130 (100.0%)208.5s5/55/55/55/55/5
Chat onlyGPT-6.2 Astra24/25 (96.0%)129/130 (99.2%)55.0s5/55/55/55/54/5
With PythonClaude Opus 5.521/25 (84.0%)123/130 (94.6%)11.0s4/54/55/55/53/5
With PythonClaude Sonnet 5.521/25 (84.0%)124/130 (95.4%)7.4s4/55/55/55/52/5
With PythonGPT-6.2 Astra24/25 (96.0%)129/130 (99.2%)20.7s5/55/55/55/54/5
With Python + Google Ads SkillsClaude Opus 5.522/25 (88.0%)124/130 (95.4%)14.4s5/54/55/55/53/5
With Python + Google Ads SkillsClaude Sonnet 5.521/25 (84.0%)121/130 (93.1%)9.8s4/54/55/55/53/5
With Python + Google Ads SkillsGPT-6.2 Astra24/25 (96.0%)129/130 (99.2%)23.4s5/55/55/55/54/5

Median time is per-task wall-clock latency under 4 parallel workers (runner/run_eval.py). Every passing run across all 250 attempts returned clean raw JSON, so strict and recoverable pass counts are identical.

What Changed When We Added Python and Google Ads Skills

ModelTransitionScore ChangeNet DeltaGained TasksRegressed TasksBoth Failed
Claude Opus 5.5Chat only -> With Python21/25 -> 21/250NoneNoneB02 (mid-month budget cut), B07 (negative keyword rules), B24 (API v26 campaign validation), B25 (API v26.2 Demand Gen overlays)
Claude Opus 5.5With Python -> With Python + Google Ads Skills21/25 -> 22/25+1B02 (mid-month budget cut)NoneB07 (negative keyword rules), B24 (API v26 campaign validation), B25 (API v26.2 Demand Gen overlays)
Claude Sonnet 5.5Chat only -> With Python19/25 -> 21/25+2B07 (negative keyword rules), B09 (580-row search terms join), B19 (240-row PMax asset-group drag)B23 (Search impression share)B02 (mid-month budget cut), B24 (API v26 campaign validation), B25 (API v26.2 Demand Gen overlays)
Claude Sonnet 5.5With Python -> With Python + Google Ads Skills21/25 -> 21/250B23 (Search impression share)B07 (negative keyword rules)B02 (mid-month budget cut), B24 (API v26 campaign validation), B25 (API v26.2 Demand Gen overlays)
GPT-6.2 AstraChat only -> With Python24/25 -> 24/250NoneNoneB24 (API v26 campaign validation)
GPT-6.2 AstraWith Python -> With Python + Google Ads Skills24/25 -> 24/250NoneNoneB24 (API v26 campaign validation)

Why Models Failed

Each failed attempt is classified mechanically in grader/grade.py against pre-registered failure signatures and fallback rules:

Failure ModeChat onlyWith PythonWith Python + SkillsTotal
Google Ads rule99826
Arithmetic or aggregation2002
Export layout0000
Scope or filtering0000
Output contract0000
Unclassified0000
  • What Python fixed: On 240-to-580-row exports such as the 580-row Search terms and keyword join (B09) and the 240-row Performance Max asset-group drag audit (B19), Claude Sonnet 5.5 drifted on dollar sums in Chat-only mode, while Gemini 4 Neon burned 30,000 to 68,000 thinking tokens and 3.5 to 8 minutes per task. Running Python eliminated manual aggregation drift and cut median latency by 2.7x to 4.4x (Claude Sonnet 5.5: 32.4s -> 7.4s, Claude Opus 5.5: 38.8s -> 11.0s, GPT-6.2 Astra: 55.0s -> 20.7s).
  • Why Python alone left 9 Google Ads rule failures: Every failure in the Python-only runs came from a Google Ads domain rule rather than broken code:
    • Mid-month budget cut (B02): Cutting a campaign daily budget from $135 to $95 on Day 22 leaves a Day 22 daily spending limit of $270 (2x the highest budget active on the edit day), not $190 ($190 begins on Day 23).
    • Negative keyword punctuation and plural rules (B07): Google Ads ignores periods when matching negative keywords ("u.s." matches "us"), while singular and plural forms do not automatically match (Google Ads Help 2453972).
    • Search impression share (B23): An export with Search lost top IS (budget) and Search lost top IS (rank) does not establish overall Search lost IS. The accurate answer is null.
    • Google Ads API v26 campaign and budget validation (B24): Covers Performance Max single-campaign budget rules, CUSTOM_PERIOD budget fields, Local Services PMax requiring both countryCode and listingId (GPT-6.2 Astra treated them as mutually exclusive), and the September 30, 2026 retirement of manual Search language targeting (CampaignCriterion.language).
    • Google Ads API v26.2 Demand Gen video overlay policy (B25): OVERLAY_TEXT_ON_VIDEOS defaults to OPTED_IN for v26+ ad creates and OPTED_OUT for earlier API versions when change history confirms zero overrides.
  • What Google Ads Skills changed (and the Sonnet 5.5 regression): Mounting google-ads-skills@05e2eb7835 fixed the mid-month budget cut task (B02) on Claude Opus 5.5 and the Search impression share task (B23) on Claude Sonnet 5.5, left 22 of 25 tasks unchanged across paired models, and did not cover the late-2026 API v26/v26.2 tasks (B24, B25). On Claude Sonnet 5.5, it regressed negative keyword matching (B07): Sonnet dropped query T05 ("free plumbing quote") from unblocked_query_ids by misapplying the phrase negative "free quote" across non-contiguous words, while grading T14 ("u.s.") accurately. Separately, Claude Opus 5.5 missed T14 ("u.s." vs. "us") in all three setups, and auditing the Skills pack's tokenizer (dev/engine/gads/metrics.py) uncovered a separate bug where it splits "u.s." into ["u", "s"] instead of ignoring periods (unrelated to Sonnet 5.5's T05 regression).

What the 25 Tasks Test

TrackTasksDetail RowsWhat It Tests
Budgets & Billing LimitsB01 to B0563730.4x monthly charging limits, mid-month budget cuts, served vs. billed overdelivery credits, shared-budget rules, and 80-account MCC pacing
Search Negative Keywords & ScopeB06 to B101,500Mixed-match negative collision matrices, singular/plural/accent/period rules, intraday change-history replay, 580-row Search terms and keyword shield joins, and multi-level scope conflicts
Conversions & Outage DiagnosisB11 to B151,468Google Ads vs. GA4 reporting-window shifts, campaign/custom goals and duplicate events, One vs. Every counting, four-factor GA4 bridges, and conversion-lag Data Exclusion sizing
Inventory, Waste & Return MathB16 to B201,918Performance Max placement suitability and spend evidence, day-segmented portfolio ROAS, Shopping clicked vs. purchased cross-sell, PMax asset-group drag, and campaign-by-network mix
Real Exports, API v26 & GAQLB21 to B25472API v26 SearchGoogleAdsResponse reconciliation, GAQL v26 query validation, Search impression share vs. Search lost top IS, API v26 campaign/budget payload validation, and API v26.2 Demand Gen video overlays

Official Google Ads MCP Server Audit (v0.0.6)

Separate from the 25-task analytical scoreboard, we audited Google's official MCP server, googleads/google-ads-mcp@v0.0.6 (commit 44ca777051, released 2026-11-02, verified 2026-11-25), to document which live Google Ads operations it exposes out of the box:

ToolKindTransportScope
customers_list_accessible_customersreadstdio + streamable-httpLists customer IDs directly accessible to the authenticated Google account.
metadata_get_resource_metadatareadstdio + streamable-httpLists selectable, filterable, and sortable fields for a Google Ads API resource.
search_searchreadstdio + streamable-httpBuilds and executes a read-only GoogleAdsService.SearchStream GAQL query.
assets_create_assetmutatestdio (image_asset_path) + streamable-http (base64 image_asset_data)Creates standalone assets (TEXT, IMAGE, YOUTUBE_VIDEO, SITELINK, CALLOUT, STRUCTURED_SNIPPET) in the asset library.
assets_upload_video_assetmutatelocal stdio onlyUploads a local video file to YouTube in a background task so video assets can reference it.
labels_manage_labelsmutatestdio + streamable-httpCreates, updates, or removes account labels.
labels_manage_label_associationsmutatestdio + streamable-httpAttaches or removes labels on campaigns, ad groups, ads, or criteria.

Write boundary: assets_create_asset creates standalone assets in the library, while v0.0.6 has no registered tools to link assets to campaigns or asset groups, edit budgets, add negative keywords, pause campaigns, edit conversion settings, create Smart Bidding Data Exclusions, or toggle ad-level asset automation. Its two-step confirmation (ads_mcp/propose_and_confirm.py) uses an unkeyed SHA-256 parameter digest rather than a cryptographic access control. Enforcing a hard read-only setup requires disabling the assets and labels namespaces in tools_config.yaml.

Verify Every Score Offline in 10 Seconds

git clone https://github.com/parallel-ai-inc/google-ads-ai-agent-benchmark.git
cd google-ads-ai-agent-benchmark
python3 -m unittest discover -s tests -v
python3 grader/grade.py --replay results --verify

grader/grade.py verifies tasks_bundle_sha256 (ba4ac86b1b7ded059d75913c30d64451cd5d0a74a54e0565c47a3dc4bd552d1f), re-parses every immutable raw_output string from scratch, enforces total_tool_calls == 0 for Chat-only runs, checks exact Decimal equality with zero loose cent tolerance, and regenerates results/summary.json.

Repository Layout

  • tasks/benchmark-v1.json: Frozen participant prompts and synthetic fixture bundle (no answers or rule spoilers)
  • answers/gold-v1.json: Separated ground truth, output schemas, official Google citations, and failure signatures
  • grader/grade.py: Strict zero-tolerance Decimal grader and mechanical failure-mode classifier
  • solver/verify_gold.py: Independent reference verifier plus 13 negative controls (never scored on the leaderboard)
  • runner/run_eval.py: Isolated workspace runner with atomic hash-verified checkpoints
  • results/*.run.json: Verbatim raw model outputs, latencies, and tool logs for every evaluated attempt
  • results/*.graded.json & results/summary.json: Machine-reproducible graded reports
  • mcp-audit/mcp-v0.0.6-surface.json: Pinned tool-surface audit of googleads/google-ads-mcp@v0.0.6
  • pilot-v1.0-archive/pilot-summary.json: Archived v1.0.0 small-fixture pilot
  • tests/test_harness.py: Adversarial unit tests for the strict grader

Methodology & Reproducibility

  • Authorship and scope: Parallel AI builds an AI agent platform for Google Ads and authored both this benchmark and the google-ads-skills pack tested in the third setup. Neither Parallel AI's own hosted agent nor solver/verify_gold.py appears on the scoreboard, and no live Google Ads account was read or modified. The suite spans 25 synthetic tasks across 5 tracks (250 total attempts across 10 configurations, 1 trial per task, with each task worth 4 percentage points).
  • Models and execution environment: Evaluated models are anthropic/claude-opus-5.5, anthropic/claude-sonnet-5.5, google/gemini-4-neon, and openai/gpt-6.2-astra. Runs executed in isolated /tmp/bench-workspaces-v1/ directories outside any git repository via native provider CLIs (claude, codex, agy) with repository instructions excluded and zero MCP servers attached.
  • Failure classification: grader/grade.py matches pre-registered trap signatures first. Unmatched numeric-only misses classify as arithmetic_or_aggregation, unmatched classification or rule-field misses in rule-heavy tracks classify as google_ads_rule, and multi-cause or remaining misses classify as mixed_or_unclassified.
  • Why v1.1.0 runs at agency scale: An earlier v1.0.0 pilot with 14 to 36 rows per task hit 194/200 across 8 configurations even in Chat-only mode. We archived that pilot in pilot-v1.0-archive/pilot-summary.json and rebuilt v1.1.0 at agency scale (5,995 detail rows, up to 580 rows per task, real Google Ads UI CSV headers and total footers, and zero rule hints in the prompts).
  • Frozen B24 protobuf path note: In Google Ads API v26, local_services_pmax_campaign_settings nests under pmax_campaign_settings on the protobuf wire type. The frozen v1.1.0 JSON for task B24 (API v26 campaign and budget validation) places campaign.localServicesPmaxCampaignSettings at top level to focus on the countryCode + listingId requirement (no evaluated model flagged nesting, and all failures were on countryCode + listingId, PMax shared budgets, or retired Search language targeting). v1.1.0 remains frozen, and v1.2 will match exact protobuf nesting.
  • License boundary: Everything in this repository (tasks, synthetic fixtures, strict grader, verification solver, raw transcripts, and scored outputs) is MIT licensed (LICENSE). The external Skills pack tested in the third setup (parallel-ai-inc/google-ads-skills@05e2eb7835) is free and source-available under PolyForm Shield 1.0.0 with an additional permission for personal and client Google Ads work (not MIT).

Submitting Another Model or Agent via Pull Request

Model providers, agent builders, and PPC engineering teams are welcome to submit additional results/<system-id>.run.json files via Pull Request:

  1. Run your model or agent against the frozen tasks/benchmark-v1.json without reading answers/gold-v1.json or solver/verify_gold.py.
  2. Record tasks_bundle_sha256 (ba4ac86b1b7ded059d75913c30d64451cd5d0a74a54e0565c47a3dc4bd552d1f), the JSON condition code (C1 for Chat only, C2 for With Python, or C3 for With Python + Google Ads Skills), exact model identifier, harness version, and verbatim raw_output for all 25 tasks.
  3. Verify locally with python3 grader/grade.py --replay results --verify and open a PR with your results/<system-id>.run.json.

License & Citation

MIT License (LICENSE).

@misc{parallel2027googleadsbenchmark,
  title = {Google Ads AI Agent Benchmark 2027 (v1.1.0)},
  author = {Parallel AI Research},
  year = {2026},
  month = {nov},
  howpublished = {\url{https://www.withparallel.ai/research/google-ads-ai-agent-benchmark-2027}},
  note = {MIT-licensed tasks, strict grader, and raw transcripts at https://github.com/parallel-ai-inc/google-ads-ai-agent-benchmark}
}
PYPI
withparallel-google-ads-audit
Install Command
pip install withparallel-google-ads-audit