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.
npx skills add Ad-Superpowers/ad-superpowers-plugin --skill google-ads-automated-rules-buildergit clone --depth 1 https://github.com/Ad-Superpowers/ad-superpowers-pluginWrote 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.
[](https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/google-ads-automated-rules-builder)<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.
<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>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00106 | $0.04273 |
| Opus 5.5 | $0.00042 | $0.01709 |
| Sonnet 5.5 | $0.00021 | $0.00855 |
| Haiku 4.5 | $0.00011 | $0.00427 |
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 1mo 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.
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 │
└────────────────────────────────────────────────────────────┘
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.
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.
- 1mo ago First seen · 700 lines · 106 tokens per session scan A 6a5f1df7d946
google-ads-automated-rules-builder is a skill published in the GitHub repository Ad-Superpowers/ad-superpowers-plugin (5 stars, last pushed 29d ago), licensed MIT. It adds 106 tokens to every session and 4,273 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.
Other skills, from other repositories
analytics
Growth analytics authority — GA4 event tracking, conversion funnels, attribution models, cohort analysis, A/B testing, Supabase analytics queries, and revenue reporting patterns.
creative-generate
A workflow for creating advertising images and banners from a strategy brief. It separates the main visual artwork from the accurately typeset text and produces variants for display or social formats.
cro-optimizer
CRO specialist that pulls live analytics data via the Humblytics MCP, analyzes conversion funnels, identifies drop-off points, and generates prioritized A/B test hypotheses. Use when analyzing conversion rates, diagnosing funnel leaks, optimizing signup flows, or creating test roadmaps. Triggers: CRO, conversion rate…
learn
Save a marketing diagnosis insight to the pro-diagnosis knowledge base so it is applied in future operations across all platforms. Use when the user runs /learn, explicitly teaches the agent a marketing insight, corrects the agent's analysis, or asks to remember/record an operational learning for next time. Also use…
lead-form-create
Create a Meta Instant Form (Lead Ad form) through a one-question-at-a-time interview. Use when the user asks to create a lead form, Instant Form, CV form, or similar. The agent collects required parameters via a guided dialogue, confirms, then calls metaadsleadformscreate. Also use when the user asks in Japanese…
ai-hive-simulate-dn-samuel
A research and content-planning workflow that studies DN-Samuel's public material and turns its general methods into original work using your own facts and experience. It can also organise authorised documents into a source-linked reference library.