TwoSquaresTwoSquares
ContactFree Audit
ENBG
  1. Home
  2. Scripts
  3. Landing Page Domain Checker
Back to scripts

Landing Page Domain Checker

Exports final URLs and extracted domains so you can quickly spot mixed-domain usage across campaigns, ads, and keywords.

landing-pagesurlsqa

Script Details

Name
Landing Page Domain Checker
Author
Kiril Ivanov
Updated
2026-03-19

Script Code

Use this for basic QA when you want to confirm destination URLs stay on the expected domain set.

Preview is public. Unlock full code with name and email.

/**
 * ==========================================================
 * Landing Page Domain Checker
 * ==========================================================
 * Description: Exports final URLs and their domains.
 *
 * Copyright (c) 2026 TwoSquares. All Rights Reserved.
 * Developed by Kiril Ivanov
 */
function main() {
  var SPREADSHEET_URL = "";
  var SHEET_NAME = "Landing Page Domains";
  // ... preview shortened
}

About This Script

Landing Page Domain Checker is a simple QA script for reviewing which domains are being used in final URLs across your account. It helps catch mixed-domain setups, tracking mistakes, and landing page inconsistencies quickly.

The script gathers final URLs from enabled ads and enabled keywords, extracts the domain, and writes the results into a sheet. This makes it easy to filter by domain and spot anything unexpected.

It is useful during migrations, after bulk uploads, and whenever multiple sites or subdomains are involved in the same account.

Implementation Notes

  1. Leave SPREADSHEET_URL blank to auto-create a report sheet, or add your own Google Sheet URL.
  2. Run the script once and inspect the exported domain list.
  3. Filter the domain column for anything unexpected or inconsistent.
  4. Use the source type column to understand whether the URL came from an ad or keyword.
  5. Schedule it after bulk changes or destination URL updates.

More Scripts In This Library

Previous Script

Keyword Zero-Conversion Cost Watchlist

Next Script

MCC Negative Keyword Conflict Checker

Broken Final URL Checker

Checks enabled ad and keyword final URLs for 4xx/5xx errors, with optional sheet logging and daily alerting.

Delete Disapproved Ads

Finds ads with non-approved policy status and removes them, with a dry-run mode enabled by default for safer review first.

Final URL UTM Consistency Audit

Audits enabled ad/keyword final URLs for missing UTM parameters and inconsistent tagging patterns.

MCC Negative Keyword Conflict Checker

Runs across manager-account children, compares enabled keywords to campaign and ad group negatives, and exports likely conflicts into Google Sheets.

Landing Page Domain Checker FAQs

Common setup, usage, and troubleshooting questions for this script.

Dominate your market. Own your growth.

Let's build measurable growth together.

Get Free Audit
TwoSquares

Full-service digital growth agency. SEO, PPC, paid social, GEO and web development for UK brands ready to scale.

ENBG

Ask AI about TwoSquares

ChatGPT
Perplexity
Grok
Claude
Gemini

Services

  • SEO
  • GEO
  • PPC
  • Paid Social
  • Email Marketing
  • Web Design & Dev
  • CRO
  • Strategy & Planning
  • Consultancy
  • Custom Solutions

Solutions

  • AI Search Growth System
  • Demand Generation & Lifecycle
  • Pay-Monthly Websites

Audits

  • PPC Audit
  • SEO Audit
  • GEO Audit
  • Website Audit
  • Full Marketing Audit
Featured on Best in Britain

Company

  • About Us
  • Our Brands
  • Blog
  • Contact
  • Case Studies
  • Careers
  • Templates

Resources

  • Resources Hub
  • AI Readiness Toolkit
  • SEO Glossary
  • Free Tools

Industries

  • Hotels & Resorts
  • Property & Rentals
  • Restaurants & Bars
  • E‑commerce & DTC

Connect

[email protected]
SSL Secured
GDPR Compliant

© 2026 TwoSquares Limited (SC877356). All rights reserved.

Privacy PolicyTerms of ServiceCookie PolicySitemap

TWOSQUARES