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

Alternate-day on/off test

A simple incrementality test: campaigns run on alternate days, and the script compares your real outcome on days with and without ads.

FreeRuns dailyWorks with Smart BiddingHospitality, Retail, E-commerce, Fitness

What it does

  • From your start date, switches the test campaigns on and off on alternate days.
  • Reads your outcome for each day: Google Ads conversions, or bookings, sales or walk-ins from a Sheet.
  • Compares the average on-day with the average off-day and estimates the confidence.
  • Restores the campaigns when the test ends and emails the result.

How it changes your account

It pauses and enables the test campaigns on alternate days during the test, then leaves them enabled when it ends.

Smart Bidding

Works with Smart Bidding, though daily pauses do disturb learning. Use it on campaigns whose value you need to prove, for a fixed period.

Settings explained

Test campaigns contain

These campaigns switch on and off; everything else runs as normal.

Start date
Test length (days)

Four weeks gives 14 on-days and 14 off-days.

Outcome to measure

Bookings or sales from a Sheet catch effects Google Ads conversions miss.

Outcome Google Sheet URL

For Sheet outcomes: first tab with Date in column A and the daily number in column B.

Alerts only (recommended for the first week)

While this is on, the script only logs and emails what it would change. Nothing in your account changes. Turn it off once you are happy with what it reports.

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

It starts with Alerts only on. Leave it on for a week, check the emails, then turn it off and copy the script again.

Questions

Why alternate days?

Every weekday gets both on and off days over the test, so weekly patterns cancel out.

Is this as good as a geo test?

It is simpler and quicker. A geo holdout is stronger when ads have effects that last more than a day.

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.