Invincible
  • 3
    Services
    • Paid Media
    • PPC (Google Ads)
    • Paid Social (Meta, TikTok)
    • Amazon Ads
    • Display & Native
    • Video Advertising
    • Video Content Creation
      for Paid Ads
    • Programmatic
    • EARNED MEDIA
    • SEO
    • Content Marketing
    • Organic Social
    • PR & Communications
    • Influencer Marketing
    • SYSTEMS & PLATFORMS
    • eCommerce (Shopify Plus)
    • CRM (HubSpot, Klaviyo)
    • Marketing Automation
    • Website Development
    • Data & Analytics
    • AI & INNOVATION

    Go With Pride AI

    Creative Catalyst Winner

    • AI Chatbots
    • Predictive Analytics
    • Marketing AI Integration
Work InsightsFree scripts About

AI anomaly explainer

When the numbers look wrong, Claude does the first hour of detective work: what changed, where it is concentrated, and the most likely cause.

FreeRuns hourlyAlerts onlyHospitality, Fitness, E-commerce, Beauty

What it does

  • Compares today's clicks, cost and conversions with the usual for this hour and weekday.
  • When something is off, gathers the evidence: campaign and device splits, hourly pattern and the last day's change history.
  • Asks Claude to suggest the most likely cause and what to check first.
  • Sends the explanation once per anomaly per day.

How it changes your account

It does not change your account. It reads metrics and change history and sends alerts.

Smart Bidding

Works with any bid strategy. Numbers are calculated in code; Claude only reads them and writes the explanation.

Settings explained

Flag when today is this far from usual

Compared with the same weekday over the last 4 weeks, up to the same hour.

Only judge when usual clicks by now are at least

Avoids noise early in the day and on small accounts.

Anthropic API key (stays in your browser)

Create a key in the Anthropic Console. It is added to your copy of the script on your device and never sent to us. API usage is billed to your Anthropic account.

Claude model

Sonnet is the best balance of quality and cost. Haiku is faster and cheaper; Opus is the most capable.

Email alerts to

Where alerts and summaries go. Separate several addresses with commas. Leave blank to log only.

Slack webhook URL (optional, stays in your browser)

Paste a Slack incoming webhook URL to get the same alerts in a channel. It is added to your copy of the script on your device and never sent to us.

Google Sheet name

The script keeps its working data in a Google Sheet with this exact name in your Drive, and creates it on the first run.

Install in two minutes

  1. In Google Ads, go to Tools, then Bulk actions, then Scripts.
  2. Click the plus button and name your script.
  3. Delete the sample code, paste yours and click Authorise.
  4. Click Preview and check the log. Nothing changes in Preview.
  5. Click Save and set it to run hourly.

In Google Ads, go to Tools > Bulk actions > Scripts, add a new script, paste the code and click Authorise. Then click Preview and read the log before anything runs for real.

Schedule it Hourly.

Questions

What does the AI part cost?

The script is free. Anthropic bills API usage to your own account, typically pennies to a few pounds a month for one account.

Is my data sent to Invincible?

No. The script sends only the text it needs straight from Google Ads to Anthropic, using your key. Nothing passes through us.

Is the explanation always right?

It is a reasoned first guess from the data available to scripts. Treat it as where to look first.

Changelog

  1. 1.0.0 27 Nov 2026 Improvement
    • First release in the Invincible Google Ads scripts library.

Browse all Google Ads scripts

Scripts are provided as is. You're responsible for previewing, testing and monitoring them in your account. Scripts Terms of Use.