TwoSquaresTwoSquares
КонтактПоискайте одит
ENBG
  1. Home
  2. Scripts
  3. Broken Final URL Checker
Обратно към scripts

Broken Final URL Checker

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

landing-pagesurl-healthmonitoring

Script детайли

Име
Broken Final URL Checker
Автор
Kiril Ivanov
Обновен
2026-02-27

Script code

Low-effort high-impact script to catch dead landing pages before they waste budget and conversions.

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

/**
 * ==========================================================
 * Broken Final URL Checker
 * ==========================================================
 * Description: Checks enabled keyword/ad final URLs for 4xx/5xx
 * and can write results to a Google Sheet.
 *
 * Copyright (c) 2026 TwoSquares. All Rights Reserved.
 * Developed by Kiril Ivanov
 */
function main() {
  var SPREADSHEET_URL = "";
  var SHEET_NAME = "Broken URL Results";
  var SEND_EMAIL_ALERTS = false;
  var ALERT_EMAIL = "[email protected]";
  // ... preview shortened
}

За този script

Broken Final URL Checker crawls live final URLs used by enabled keywords and ads, then flags pages returning 4xx/5xx status codes. It helps teams catch technical breakages quickly before spend is wasted on dead destinations.

The script deduplicates URLs, records status codes, and can email a focused alert summary. It is designed for operational reliability and supports optional spreadsheet logging for audit history and handover workflows.

If the spreadsheet URL is left blank, it creates a new sheet automatically. If a URL is provided, it writes to that spreadsheet and creates the target tab when missing.

Implementation notes

  1. Set SPREADSHEET_URL. Leave blank to auto-create a new sheet on first run.
  2. Set SEND_EMAIL_ALERTS and ALERT_EMAIL if you want daily notifications.
  3. Run manually once to authorize UrlFetchApp and Spreadsheet permissions.
  4. Schedule daily so broken pages are detected before spend accumulates.
  5. Route flagged URLs to dev/content teams and re-check after fixes.

Още scripts в библиотеката

Предишен script

Automatic Video Placement Exclusion

Следващ script

Campaign Budget Limited Monitor

Account Anomaly Detector

Compares today’s account performance against the same weekday across previous weeks and alerts when impressions, clicks, conversions, or cost move outside expected bounds.

Campaign Budget Limited Monitor

Surfaces enabled Search campaigns losing impression share due to budget, with optional sheet output and alerting.

Campaign Spend Spike Monitor

Detects campaigns with unusual week-over-week spend spikes and low conversion support, helping catch waste quickly.

Conversion Drop Detector

Compares last 7 days vs prior 7 days by campaign to flag significant conversion drops, with sheet output.

Broken Final URL Checker FAQs

Чести setup, usage и troubleshooting въпроси за този script.

Наложете се на пазара си. Задайте темпото на растежа.

Нека изградим реален и измерим растеж заедно.

Поискайте одит
TwoSquares

Маркетинг агенция за SEO, Google Ads, платени социални мрежи, AI видимост и уебсайтове.

ENBG

Попитайте AI за TwoSquares

ChatGPT
Perplexity
Grok
Claude
Gemini

Услуги

  • SEO
  • Google Ads и PPC
  • Платени социални мрежи
  • AI видимост и GEO
  • Уебсайтове
  • Имейл маркетинг
  • CRO
  • Стратегия
  • Консултации
  • Персонализирани решения

Решения

  • AI search система за растеж
  • Генериране на търсене
  • Сайт на абонамент

Одити

  • Маркетинг одит
  • SEO одит
  • PPC одит
  • Одит на сайта
  • GEO одит
Featured on Best in Britain

Компания

  • За нас
  • Нашите брандове
  • Услуги
  • Инструменти
  • Темплейти
  • Блог
  • Казуси
  • Кариери
  • Контакт

Ресурси

  • Всички ресурси
  • AI Readiness Toolkit
  • Глосарий
  • Инструменти

Индустрии

  • Хотели и курорти
  • Имоти и краткосрочни наеми
  • Ресторанти и барове
  • E-commerce и DTC

Контакт

[email protected]
SSL защита
GDPR съвместимост

© 2026 TwoSquares Limited (SC877356). Всички права запазени.

Политика за поверителностУсловия за ползванеПолитика за бисквиткиКарта на сайта

TWOSQUARES