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

Account anomaly detector

Spots the day something is wrong before the weekly report does: hourly checks against what is normal for this weekday and time.

FreeRuns hourlyAlerts onlyHospitality, E-commerce, Fitness, Beauty

What it does

  • Runs every hour and adds up spend, clicks, impressions and conversions for today so far.
  • Compares them with the same hours on the same weekday over recent weeks, using the median so one odd day does not skew it.
  • Alerts you by email or Slack when a metric moves further than your threshold, up or down.
  • Leaves out the most recent hours, because Google Ads data arrives with a delay.
  • Sends each alert once per day, not every hour.

How it changes your account

It does not change your account. It only reads hourly performance data. A small Google Sheet stores which alerts were sent today.

Smart Bidding

Useful with any bid strategy. Smart Bidding reacts to what it sees; it cannot tell you a tag broke or a competitor arrived. An hourly baseline check does.

Settings explained

Metrics

Spend and clicks catch delivery problems; conversions catch tracking and site problems.

Alert when a metric moves by

50% suits most accounts. Busy accounts can go lower.

Weeks to compare with

4 weeks balances recency and stability.

Ignore the most recent hours

2 hours is a safe default.

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.

Preview once to authorise Sheets, Drive and email. Schedule it Hourly.

Questions

Why compare with the same weekday?

A Saturday lunchtime looks nothing like a Tuesday lunchtime. Same weekday, same hours is the fair comparison.

Will small accounts get false alarms?

Alerts only fire once the normal value is big enough to matter (for example 20 clicks or 3 conversions by that hour).

Does it watch individual campaigns?

It watches the total for the campaigns you select. Install it again with a filter to watch one group separately.

Changelog

  1. 1.0.1 27 Nov 2026 Fix
    • Reads account totals directly when watching all campaigns, so it runs faster on large accounts.
    • The log Sheet is only reused when it is a live Google Sheet, never a trashed file or another file with the same name.
    • Long text is trimmed to fit a Google Sheets cell.
    • Saved state is split across cells, so big accounts never hit the cell size limit.
    • First release in the Invincible Google Ads scripts library.
  2. 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.