TwoSquaresTwoSquares
ContactFree Audit
ENBG
  1. Home
  2. Scripts
  3. Ad Group CPA Outlier Watchlist
Back to scripts

Ad Group CPA Outlier Watchlist

Flags ad groups with unusually high CPA (or spend with no conversions) to prioritize optimization efforts.

ad-groupscpaoutliers

Script Details

Name
Ad Group CPA Outlier Watchlist
Author
Kiril Ivanov
Updated
2026-02-27

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

  1. Set TARGET_CPA and OUTLIER_MULTIPLIER to match account goals.
  2. Set MIN_CLICKS and MIN_COST to reduce noise.
  3. Run manually, then schedule weekly for routine control.
  4. Investigate top outliers for query quality, ads, and landing page fit.

More Scripts In This Library

Previous Script

Account Anomaly Detector

Next Script

Automatic Video Placement Exclusion

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.

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