google-ads-automated-rules-builder

google-ads-automated-rules-builder is a skill for Claude Code from Ad-Superpowers/ad-superpowers-plugin. It costs 110 tokens per session (4,277 once invoked), scanned A, original, MIT.

A guide to creating automatic rules in Google Ads. These rules can monitor campaign or keyword results and apply scheduled actions, such as budget changes, bid adjustments, pauses, or alerts.

In plain words
What is it for?
Use it to find campaigns with high costs, identify keywords spending without conversions, set budget or bid rules, pause candidates, and create performance alerts.
Why use it?
It reduces repetitive account checks and helps respond consistently when spending or performance crosses a chosen threshold.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ad-superpowers plugin — 124 skills, 35 commands, 5 agents, 1 MCP server shipped together

Good fit Use it to find campaigns with high costs, identify keywords spending without conversions, set budget or bid rules, pause candidates, and create performance alerts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ad-superpowers/ad-superpowers-plugin/google-ads-automated-rules-builder
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.

Any agent
npx skills add Ad-Superpowers/ad-superpowers-plugin --skill google-ads-automated-rules-builder
Clone the repo
git clone --depth 1 https://github.com/Ad-Superpowers/ad-superpowers-plugin

Made for: Claude Code.

Or install ad-superpowers, the plugin that ships this one along with the rest of its 124 skills, 35 commands, 5 agents, 1 MCP server.

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-automated-rules-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/ad-superpowers/ad-superpowers-plugin/google-ads-automated-rules-builder/github.svg)](https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/google-ads-automated-rules-builder)
Your own site
<a href="https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/google-ads-automated-rules-builder"><img src="https://agentmods.dev/badge/skills/ad-superpowers/ad-superpowers-plugin/google-ads-automated-rules-builder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for google-ads-automated-rules-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/google-ads-automated-rules-builder"><img src="https://agentmods.dev/badge/skills/ad-superpowers/ad-superpowers-plugin/google-ads-automated-rules-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,277 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00110 $0.04277
Opus 5.5 $0.00044 $0.01711
Sonnet 5.5 $0.00022 $0.00855
Haiku 4.5 $0.00011 $0.00428

Measured 14d ago against content hash 7367ce5a11e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

google-ads-automated-rules-builder 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 14d ago.

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.

plugin/skills/google-ads-automated-rules-builder/SKILL.md · 700 lines

How it starts

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

Automated Rules Builder

Complete guide to Google Ads automated rules — from budget management to performance alerts and bid optimization.

See decision-trees.md for details.

MCP Tool Integration

Use these queries to identify which campaigns/keywords need rules before building them.

STEP 1: Find campaigns exceeding CPA thresholds (candidates for rules)
google_ads_run_gaql(query="
  SELECT
    campaign.name,
    campaign.status,
    campaign.bidding_strategy_type,
    metrics.cost_micros,
    metrics.conversions,
    metrics.cost_per_conversion,
    metrics.search_budget_lost_impression_share
  FROM campaign
  WHERE campaign.status = 'ENABLED'
    AND segments.date DURING LAST_7_DAYS
  ORDER BY metrics.cost_per_conversion DESC
  LIMIT 50
")

STEP 2: Find keywords with high spend and zero conversions (auto-pause candidates)
google_ads_run_gaql(query="
  SELECT
    campaign.name,
    ad_group.name,
    ad_group_criterion.keyword.text,
    ad_group_criterion.keyword.match_type,
    metrics.cost_micros,
    metrics.conversions,
    metrics.clicks
  FROM keyword_view
  WHERE campaign.status = 'ENABLED'
    AND ad_group.status = 'ENABLED'
    AND ad_group_criterion.status = 'ENABLED'
    AND metrics.conversions < 1
    AND metrics.cost_micros > 10000000
    AND segments.date DURING LAST_30_DAYS
  ORDER BY metrics.cost_micros DESC
  LIMIT 50
")

STEP 3: Budget pacing check (find campaigns near daily cap)
google_ads_run_gaql(query="
  SELECT
    campaign.name,
    campaign_budget.amount_micros,
    metrics.cost_micros,
    metrics.impressions,
    metrics.search_budget_lost_impression_share
  FROM campaign
  WHERE campaign.status = 'ENABLED'
    AND segments.date DURING LAST_7_DAYS
  ORDER BY metrics.search_budget_lost_impression_share DESC
  LIMIT 25
")

Automated Rules Overview

What Are Automated Rules?

GOOGLE ADS AUTOMATED RULES
═══════════════════════════

DEFINITION:
───────────
Automated rules are IF-THEN statements that Google Ads
executes automatically based on performance data.

IF [condition is true] THEN [execute action]

ADVANTAGES:
───────────
✓ No technical knowledge required
✓ UI-based configuration
✓ Reliable execution
✓ Email notifications
✓ Audit trail

LIMITATIONS:
────────────
✗ Limited condition combinations
✗ No custom calculations
✗ No external data sources
✗ Max 1 action per rule
✗ No real-time execution

WHERE TO FIND:
──────────────
Google Ads → Tools & Settings → Bulk Actions → Rules

RULE COMPONENTS:
────────────────
┌────────────────────────────────────────────────────────────┐
│ 1. APPLY TO: What gets affected?                           │
│    ├── Campaigns                                           │
│    ├── Ad Groups                                           │
│    ├── Keywords                                            │
│    ├── Ads                                                 │
│    └── Extensions                                          │
├────────────────────────────────────────────────────────────┤
│ 2. ACTION: What should happen?                             │
│    ├── Enable / Pause                                      │
│    ├── Change budget                                       │
│    ├── Change bid                                          │
│    ├── Send email                                          │
│    └── Change labels                                       │
├────────────────────────────────────────────────────────────┤
│ 3. CONDITIONS: When should it happen?                      │
│    ├── Performance metrics (CPA, CTR, etc.)                │
│    ├── Status conditions                                   │
│    ├── Label conditions                                    │
│    └── Budget conditions                                   │
├────────────────────────────────────────────────────────────┤
│ 4. FREQUENCY: How often to check?                          │
│    ├── Hourly                                              │
│    ├── Daily                                               │
│    ├── Weekly                                              │
│    └── Monthly                                             │
└────────────────────────────────────────────────────────────┘

Read the full file on GitHub · 700 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. 14d ago Changed · +4 tokens per session 7367ce5a11e6
  2. 2mo ago First seen · 700 lines · 106 tokens per session scan A 6a5f1df7d946

Subscribe to this mod's changes

google-ads-automated-rules-builder is a skill published in the GitHub repository Ad-Superpowers/ad-superpowers-plugin (6 stars, last pushed 14d ago), licensed MIT. It adds 110 tokens to every session and 4,277 once invoked, about $0.0004 per session on Opus 5.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-09-11.

Related

google-ads-automated-rules-builder compared with skills from other repositories

google-ads-automated-rules-builder next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
google-ads-automated-rules-builderAd-Superpowers/ad-superpowers-pluginSkill614d agoMITA110Claude Code
analyticsLuuOW/meridian-mcpSkill01mo agoMITA33Claude Code, Codex
bot-traffic-detectionsurendranb/google-analytics-mcpSkill2424d agoMITA36Claude Code
creative-generatelogly/mureoSkill64yesterdayApache-2.0A131Claude Code
learnlogly/mureoSkill64yesterdayApache-2.0A98Claude Code
reddit-adsadkit/ads-skillsSkill443d agoMITA84Claude Code, Codex
tiktok-adsadkit/ads-skillsSkill443d agoMITA85Claude Code, Codex