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-scripts-librarygit 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-scripts-library)<a href="https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/google-ads-scripts-library"><img src="https://agentmods.dev/badge/skills/ad-superpowers/ad-superpowers-plugin/google-ads-scripts-library/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-scripts-library"><img src="https://agentmods.dev/badge/skills/ad-superpowers/ad-superpowers-plugin/google-ads-scripts-library.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.00111 | $0.05375 |
| Opus 5.5 | $0.00044 | $0.02150 |
| Sonnet 5.5 | $0.00022 | $0.01075 |
| Haiku 4.5 | $0.00011 | $0.00537 |
Grade A, and why
google-ads-scripts-library 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 13d 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 — 681 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Google Ads Scripts Library
Complete library with 15 production-ready Google Ads Scripts for automation, monitoring, and optimization.
2026 Context: Scripts vs. MCP Tools
Google Ads Scripts run inside the Google Ads UI and use the legacy AdsApp object. They are useful for scheduled, account-level automation that runs without human intervention. For ad-hoc analysis and conversational workflows, use the Ad Superpowers MCP tools instead:
# Pull anomaly data via MCP (no script required):
google_ads_run_gaql(query="
SELECT campaign.name, metrics.cost_micros,
metrics.conversions, metrics.cost_per_conversion
FROM campaign
WHERE segments.date DURING YESTERDAY
AND campaign.status = 'ENABLED'
ORDER BY metrics.cost_micros DESC
LIMIT 20
")
# Scripts are best for: unattended scheduled alerts,
# automated pausing/bidding, and spreadsheet exports.
# MCP is best for: analysis, diagnosis, recommendations.
Smart Bidding note (2026): Scripts that manually adjust bids (e.g., device/dayparting modifiers) can conflict with Smart Bidding signals. Only apply manual bid adjustments to campaigns using Manual CPC or non-Smart strategies. For Smart Bidding campaigns, use budget and target adjustments instead.
AI Max (2026): Search campaigns with AI Max subtype use fully automated query matching — search term scripts still work but you cannot add exact/phrase negatives via script directly. Use campaign-level negative keyword lists.
Scripts Overview
TOP 15 GOOGLE ADS SCRIPTS
═════════════════════════
MONITORING & ALERTS:
├── 1. Performance Anomaly Detector
├── 2. Budget Pacing Monitor
├── 3. Broken URL Checker
├── 4. Quality Score Tracker
└── 5. Zero Impressions Alert
OPTIMIZATION:
├── 6. N-Gram Analysis
├── 7. Search Query Mining
├── 8. Negative Keyword Builder
├── 9. Bid Adjustment by Hour/Day
└── 10. Low Performer Pauser
REPORTING:
├── 11. Daily/Weekly Report Generator
├── 12. Competitive Position (impression share)
├── 13. Campaign Performance Tracker
├── 14. Ad Extension Monitor
└── 15. Account Health Dashboard
SETUP INSTRUCTIONS (for all scripts):
─────────────────────────────────────
1. Google Ads → Tools & Settings → Bulk Actions → Scripts
2. + New Script
3. Paste code
4. Authorize (first run)
5. Preview → Run (test)
6. Schedule (daily/hourly)
What ships with it
1 file 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.
- 13d ago Changed 1f1a456ee622
- 14d ago Changed · +10 tokens per session 4cf9fa17f6ff
- 2mo ago First seen · 681 lines · 101 tokens per session scan A bedd385a3da6
google-ads-scripts-library is a skill published in the GitHub repository Ad-Superpowers/ad-superpowers-plugin (6 stars, last pushed 14d ago), licensed MIT. It adds 111 tokens to every session and 5,375 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.
google-ads-scripts-library compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| google-ads-scripts-libraryAd-Superpowers/ad-superpowers-plugin | Skill | 6 | 14d ago | MIT | A | 111 | Claude Code |
| analyticsLuuOW/meridian-mcp | Skill | 0 | 1mo ago | MIT | A | 33 | Claude Code, Codex |
| bot-traffic-detectionsurendranb/google-analytics-mcp | Skill | 242 | 4d ago | MIT | A | 36 | Claude Code |
| creative-generatelogly/mureo | Skill | 64 | yesterday | Apache-2.0 | A | 131 | Claude Code |
| learnlogly/mureo | Skill | 64 | yesterday | Apache-2.0 | A | 98 | Claude Code |
| reddit-adsadkit/ads-skills | Skill | 44 | 3d ago | MIT | A | 84 | Claude Code, Codex |
| tiktok-adsadkit/ads-skills | Skill | 44 | 3d ago | MIT | A | 85 | Claude Code, Codex |