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

Closures and private hire sync

Stops paying for clicks when the doors are shut: pauses campaigns for closures and private hire, then switches back on exactly what it paused.

SignatureFreeRuns hourlyWorks with Smart BiddingHospitality, Fitness, Retail

What it does

  • Checks your list of closures every hour: holidays, refurbishments, private hire and buy-outs.
  • Pauses the matching campaigns at the start (or a few minutes before) and labels them.
  • Limits a closure to one venue by campaign name, so the rest of a group keeps trading.
  • Switches back on only the campaigns it paused once the closure ends. Anything you paused yourself stays paused.
  • Keeps a Closures tab in its Google Sheet and alerts you whenever it pauses or resumes something.

How it changes your account

With Alerts only turned off, the script pauses and re-enables campaigns, and adds or removes one label. It never deletes anything and never changes budgets, bids or ads. It only re-enables campaigns that carry its label.

Smart Bidding

Works with every bid strategy. Short pauses for a day or an evening do not reset Smart Bidding learning; Google treats them like any planned pause.

Settings explained

Closures

One line each. Times use your Google Ads account time zone. Lines starting with # are ignored.

Stop ads this many minutes before

Pauses early so nobody books a table or class that will not exist.

Campaigns

Which campaigns closures apply to. Campaign text on a line narrows it to one venue.

Label for paused campaigns

How the script recognises its own pauses. Do not reuse a label you already use for something else.

Google Sheet name

Keeps a Closures tab and a small State tab.

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. Leave Alerts only on until you have seen one closure handled correctly in the emails.

Questions

Will it switch on campaigns I paused myself?

No. It only re-enables campaigns carrying its own label.

Should I pause ads on a closed day at all?

For whole-day closures and private hire, yes for walk-in and same-day searches. If most bookings are made weeks ahead, you may prefer to pause only during the evening window.

Does it work for gyms and studios?

Yes. Use it for bank holiday closures, refurbishments and private bookings.

What time zone does it use?

Your Google Ads account time zone.

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.1 27 Nov 2026 Fix
    • 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.