Missing Active Ads Ad Group Alert
Finds ad groups with no enabled ads and sends a simple alert, with optional spreadsheet logging and MCC support.
Script Code
Use this as a basic QA script to catch live ad groups that have no active ad coverage.
Preview is public. Unlock full code with name and email.
/**
* ==========================================================
* Missing Active Ads Ad Group Alert
* ==========================================================
* Description: Finds ad groups with no enabled ads and
* reports them by email and optional Google Sheet logging.
*
* Copyright (c) 2026 TwoSquares. All Rights Reserved.
* Developed by Kiril Ivanov
*/
function main() {
var CONFIG = { emailRecipients: "[email protected]" };
// ... preview shortened
}About This Script
Missing Active Ads Ad Group Alert is a lightweight quality-control script for surfacing ad groups that currently have no enabled ads. It is useful after migrations, restructures, bulk edits, or accidental pauses.
This updated version fixes the older MCC detection logic and uses current manager-account branching instead of relying on customer ID formatting. It preserves simple email alerts and optional spreadsheet logging so teams can operationalise the output quickly.
The script does not try to score ad quality or asset completeness. It only answers a simple operational question: which ad groups currently have no enabled ads at all?
Implementation Notes
- Set emailRecipients and decide whether you want spreadsheet logging enabled.
- Leave sheetUrl blank to auto-create a sheet, or provide an existing Google Sheet URL.
- Run manually once to validate that the output matches your ad-group structure.
- Decide whether paused campaigns should be included in checks.
- Schedule it after uploads or restructures if missing-ad-group coverage is a recurring issue.
More Scripts In This Library
Campaign Underspending Alert
Flags campaigns and shared budgets that are underspending against expected budget pace, with support for yesterday or intraday checks.
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.
Ad Group CPA Outlier Watchlist
Flags ad groups with unusually high CPA (or spend with no conversions) to prioritize optimization efforts.
Enabled Ad Count By Ad Group
Counts enabled ads per ad group and exports the result into a Google Sheet so thin ad groups are easy to spot.
Missing Active Ads Ad Group Alert FAQs
Common setup, usage, and troubleshooting questions for this script.