google-ads-scripts-library

google-ads-scripts-library is a skill for Claude Code from Ad-Superpowers/ad-superpowers-plugin. It costs 101 tokens per session (5,338 once invoked), scanned A, original, MIT.

A library of Google Ads Scripts: small programs that run inside Google Ads on a schedule. It includes scripts for alerts, bid and budget actions, anomaly checks, keyword analysis, URL checks, and spreadsheet exports.

In plain words
What is it for?
Use it to create budget-pacing alerts, detect unusual performance, pause or adjust campaigns where appropriate, analyse search terms, check broken URLs, and export data to spreadsheets.
Why use it?
It removes repetitive account monitoring and lets routine checks or actions happen without manual work. It also distinguishes scheduled scripts from tools used for one-off analysis.

Skill for Claude Code

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

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

Good fit Use it to create budget-pacing alerts, detect unusual performance, pause or adjust campaigns where appropriate, analyse search terms, check broken URLs, and export data to spreadsheets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ad-superpowers/ad-superpowers-plugin/google-ads-scripts-library
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-scripts-library
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 120 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-scripts-library

README.md
[![agentmods](https://agentmods.dev/badge/skills/ad-superpowers/ad-superpowers-plugin/google-ads-scripts-library/github.svg)](https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/google-ads-scripts-library)
Your own site
<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.

agentmods 80×15 button for google-ads-scripts-library

Your own site · 80×15
<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>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,338 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.00101 $0.05338
Opus 5.5 $0.00040 $0.02135
Sonnet 5.5 $0.00020 $0.01068
Haiku 4.5 $0.00010 $0.00534

Measured 1mo ago against content hash bedd385a3da6, 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-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 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.

plugin/skills/google-ads-scripts-library/SKILL.md · 681 lines

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.

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. Competitor Auction Insights
├── 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)

Read the full file on GitHub · 681 lines

Files

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.

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. 1mo ago First seen · 681 lines · 101 tokens per session scan A bedd385a3da6

Subscribe to this mod's changes

google-ads-scripts-library is a skill published in the GitHub repository Ad-Superpowers/ad-superpowers-plugin (5 stars, last pushed 29d ago), licensed MIT. It adds 101 tokens to every session and 5,338 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

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.

LuuOW/meridian-mcp · 33 tokens

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.

logly/mureo · 131 tokens

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…

Humblytics/humblytics-marketing-skills · 76 tokens

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…

logly/mureo · 98 tokens

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…

logly/mureo · 93 tokens

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.

wubin1836/ai-hive-agent-skills · 334 tokens