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

Landing page A/B rotator

A simple landing page test without extra tools: ads switch between page A and page B day by day, and the script tells you which converts better.

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

What it does

  • Each day, sets the final URL of every responsive search ad in your labelled ad groups to page A or page B, alternating.
  • Records which page was live each day.
  • Totals clicks and conversions per page from the landing page report.
  • Reports the winner with a significance test, and emails a weekly update.

How it changes your account

It updates the final URL of responsive search ads in ad groups with your label. Updating a final URL can send an ad back for review.

Smart Bidding

Works with Smart Bidding. Alternating whole days keeps both pages exposed to the same mix of weekdays over time.

Settings explained

Page A (current)
Page B (challenger)
Ad groups with this label take part

Add the label to the ad groups in the test.

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.

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 not use Google Ads experiments?

Experiments are better for big tests. This is a lightweight option for one ad group set and two pages.

When should I stop the test?

When confidence passes 95% with a few hundred clicks each, or after four weeks.

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.