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

Promo and countdown customiser

Runs promotions in your ad copy on autopilot: the offer appears when the sale starts, a live countdown keeps it urgent, and both disappear when it ends.

FreeRuns hourlyWorks with Smart BiddingE-commerce, Retail, Hospitality, Beauty

What it does

  • Reads your promotion calendar every hour.
  • Sets an account-level ad customiser (Promo) to the promotion that is running now.
  • Sets a second customiser (PromoEnds) to a countdown: "3 days left", "Ends tomorrow", "Ends tonight", "Last few hours", or your own text.
  • Clears both when the sale ends, so ads fall back to the default text you wrote.
  • Creates the customiser attributes on first use.

How it changes your account

With Alerts only turned off, the script creates two text customiser attributes if they do not exist and updates their account-level values. It does not create or edit ads: you add {CUSTOMIZER.Promo:default text} to your responsive search ads once, and the script keeps the value current.

Smart Bidding

Works with every bid strategy. For sales with a sharp jump in conversion rate, pair it with the Seasonality and data exclusion automator so Smart Bidding expects the spike too.

Settings explained

Promotions

One line per sale or offer. The latest-starting promotion wins if two overlap.

Text when no promotion is running

Usually blank, so the default text in your ad shows.

Promotion customiser name

The name you use inside {CUSTOMIZER.name:default}.

Countdown customiser name

A second customiser for the countdown text.

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 email. Add {CUSTOMIZER.Promo:your default} to at least one headline in each responsive search ad. Schedule it Hourly.

Questions

How do I put it in my ads?

In a responsive search ad headline, type {CUSTOMIZER.Promo:Book Online Today}. The text after the colon shows whenever no value is set.

How long can the text be?

The whole headline, including the inserted value, must fit in 30 characters. Keep promotions to about 20 to 25.

Why not use Google's built-in countdown?

You can. The native countdown function counts to one fixed date in one ad. This script changes the offer and the countdown across every ad from one calendar.

Will changing the value send ads back to review?

Customiser values are not edits to the ad itself, so ads keep serving. Google still checks the inserted text against its policies.

Will it change my account straight away?

No. Alerts only is on by default, so the first runs only report what would change. You turn it off when you are happy.

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.