Ad Group CPA Outlier Watchlist
Flags ad groups with unusually high CPA (or spend with no conversions) to prioritize optimization efforts.
Script Code
Straightforward script for quickly identifying high-cost ad groups that need immediate intervention.
Preview is public. Unlock full code with name and email.
/**
* ==========================================================
* Ad Group CPA Outlier Watchlist
* ==========================================================
* Description: Flags ad groups with high CPA or costly zero
* conversion performance.
*
* Copyright (c) 2026 TwoSquares. All Rights Reserved.
* Developed by Kiril Ivanov
*/
function main() {
var SPREADSHEET_URL = "";
var SHEET_NAME = "Ad Group CPA Outliers";
var LOOKBACK_DAYS = 30;
// ... preview shortened
}About This Script
Ad Group CPA Outlier Watchlist helps PPC teams detect expensive ad groups where conversion efficiency has deteriorated. It surfaces both high-CPA outliers and ad groups spending with no conversions.
This script is useful for weekly triage and budget protection, especially in accounts with many ad groups and frequent launch cycles.
Output supports your standard sheet behavior: blank URL creates a new spreadsheet automatically; provided URL writes into existing file and creates tab if missing.
Implementation Notes
- Set TARGET_CPA and OUTLIER_MULTIPLIER to match account goals.
- Set MIN_CLICKS and MIN_COST to reduce noise.
- Run manually, then schedule weekly for routine control.
- Investigate top outliers for query quality, ads, and landing page fit.
More Scripts In This Library
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
Finds ad groups with no enabled ads and sends a simple alert, with optional spreadsheet logging and MCC support.
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.
Automatic Video Placement Exclusion
Excludes low-view-rate video placements from video campaigns using current GAQL reporting and duplicate-safe batching.
Ad Group CPA Outlier Watchlist FAQs
Common setup, usage, and troubleshooting questions for this script.