google-ads-optimizer

google-ads-optimizer is a skill for Claude Code, Codex from chanktb/claude-google-ads. It costs 139 tokens per session (3,155 once invoked), scanned A, original, MIT.

A Google Ads performance advisor that analyzes running campaigns and proposes changes based on account data and root causes.

In plain words
What is it for?
Use it to review campaign tiers, search terms, budgets, bidding targets, ad assets, and campaign structure, then create a dated action plan.
Why use it?
It helps identify what is reducing advertising performance while keeping actual changes behind the separate approval process.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the claude-google-ads plugin — 15 skills, 15 commands shipped together

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.

agentmods
npx agentmods add skills/chanktb/claude-google-ads/optimizer
Any agent
npx skills add chanktb/claude-google-ads --skill optimizer
Clone the repo
git clone --depth 1 https://github.com/chanktb/claude-google-ads

Made for: Claude Code, Codex.

Or install claude-google-ads, the plugin that ships this one along with the rest of its 15 skills, 15 commands.

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-optimizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/chanktb/claude-google-ads/optimizer.svg)](https://agentmods.dev/skills/chanktb/claude-google-ads/optimizer)
Your own site
<a href="https://agentmods.dev/skills/chanktb/claude-google-ads/optimizer"><img src="https://agentmods.dev/badge/skills/chanktb/claude-google-ads/optimizer.svg" alt="Measured on agentmods" height="20"></a>
Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,155 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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 $0.00139 $0.03155
Opus 5 $0.00069 $0.01577
Sonnet 5 $0.00028 $0.00631
Haiku 4.5 $0.00014 $0.00315

Measured 5d ago against content hash 2bce1b8fcf29, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

google-ads-optimizer scanned grade A with 0 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 5d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/search_term_miner.py, scripts/tiering.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/optimizer/SKILL.md · 161 lines

How it starts

The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Find what's dragging the account and fix it — with data backing and root-cause reasoning, not symptom swatting. The optimizer proposes changes; it applies them only through pusher (approval gate). For a scored health check use audit; this skill is about performance and money.

Operating rules

  • Every recommendation has data backing (specific numbers, not vague advice).
  • Read everything from account-context.yaml (margin_tiers, brand_terms, guardrails, AOV). If the context is missing, run setup first — never optimize a live account without it.
  • Read the context connections block first. If store/GA4 is missing, do the in-platform analysis and label every true-ROAS / store-revenue conclusion UNVERIFIED — connect store/GA4; never fabricate a store-revenue figure to compute "true ROAS". Prefer guiding the user to connect over guessing.
  • 3-source attribution (see ${CLAUDE_PLUGIN_ROOT}/references/optimization-playbook.md): store revenue = ground truth; Google Ads in-platform = for Smart Bidding; GA4 = channel mix. A 20-35% Ads-vs-GA4 gap is normal.
  • Honor guardrails: change-event cooldown, ignore paused, margin-tier ROAS. Don't flag a house-brand line for low ROAS above its tier min_roas.

Model dispatch (run cheap, decide expensive) — see ${CLAUDE_PLUGIN_ROOT}/references/model-tier-dispatch.md

  • Scout (haiku) — running tiering.py and search_term_miner.py (scripts return their own output).
  • Routine (sonnet) — STEP 1 performance pull + store/GA4 fetch; STEP 3 dual-source search-term pull (per-PMax campaign_search_term_insight loop). Dispatch as general-purpose sub-agents; return raw, don't conclude.
  • Judge (main session) — tier verdicts, what to block vs keep (esp. never-block-brand), STEP 5 profitability call, STEP 6 root-cause, STEP 7 dated action plan. The numbers come cheap; the decisions stay here.

STEP 1 — Collect performance

Scope to the active set first (ENABLED + impressions in the window) — never tier or "optimize" a campaign that hasn't served in the period; entity status=ENABLED can include long-dead campaigns' assets (see ${CLAUDE_PLUGIN_ROOT}/skills/audit/references/gaql-notes.md). Then pull campaign performance, search terms (≤30d or explicit dates), and asset-group performance via the MCP; pull store revenue + GA4 channel mix via the data-source/GA4 fallback chain. Note what's unavailable.

Read the full file on GitHub · 161 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 161 lines · 139 tokens per session scan A 2bce1b8fcf29

Subscribe to this mod's changes

google-ads-optimizer is a skill published in the GitHub repository chanktb/claude-google-ads (11 stars, last pushed 1mo ago), licensed MIT. It adds 139 tokens to every session and 3,155 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

google-ads

Спецификации Google Ads для российского рынка 2026 — 8 форматов (RSA / Performance Max / Display / Demand Gen / Video / App / Call / Shopping), полный набор character limits (headline 30, description 90, long-headline 90, business-name 25 и т.д.), creative-frameworks под RSA-логику динамической сборки, Google Ads…

VKirill/claude-lane-stack · 373 tokens

markifact-overview

Reference — what Markifact is, what the MCP server exposes, and the discover→inspect→run pattern. Always loaded into the performance-marketer agent.

markifact/markifact-mcp · 36 tokens

safe-write-operations

Reference — rules for safely executing write/destructive operations against ad accounts. Always loaded into the performance-marketer agent.

markifact/markifact-mcp · 28 tokens

google-ads-ecommerce

Build and optimize Google Ads campaigns for ecommerce with Performance Max, Shopping feeds, conversion tracking, and Smart Bidding strategies for ROAS.

finsilabs/awesome-ecommerce-skills · 32 tokens

setup-conversion-tracking

Set up Converly conversion tracking end to end. Use when the user wants to track form submissions as conversions, send leads to an ad platform like Google Ads, Meta or Google Analytics, or set up Converly for the first time.

converlyio/converly-mcp · 55 tokens

diagnose-missing-conversions

Find out why Converly conversions aren't showing up. Use when the user says tracking isn't working, conversions are missing, a form submission didn't appear, or an ad platform isn't receiving conversions.

converlyio/converly-mcp · 45 tokens