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

CPC spike alert

Tells you the morning after a campaign's cost per click jumps, often the first sign of a new competitor or a change in match type.

FreeRuns dailyAlerts onlyHospitality, Fitness, E-commerce, Beauty

What it does

  • Compares each campaign's average CPC yesterday with its average over the previous weeks.
  • Flags campaigns with a rise above your threshold and enough clicks to matter.
  • Sends one alert listing the campaigns, their CPCs and clicks.
  • Skips quiet campaigns to avoid false alarms.

How it changes your account

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

Smart Bidding

Works with any bid strategy. Smart Bidding raises CPCs when it expects better conversions, so check conversion rate before acting on a CPC alert.

Settings explained

Campaigns

Which campaigns this script looks at. Pick all, names that contain some text (separate several with commas), or campaigns with a label.

Days of data

Days to average CPC over, ending the day before yesterday.

Alert when CPC rises by
Minimum clicks yesterday

Small campaigns are skipped to avoid noise.

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.

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 daily.

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 Daily.

Questions

Is a CPC rise always bad?

No. If conversion rate rose too, Smart Bidding may simply be paying for better clicks.

Can it show who is bidding against me?

No; Auction Insights is not available to scripts. Check it in Google Ads when an alert fires.

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.