TwoSquaresTwoSquares
ContactFree Audit
ENBG
  1. Home
  2. Scripts
  3. Enabled Ad Count By Ad Group
Back to scripts

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.

adsad-groupsaccount-hygiene

Script Details

Name
Enabled Ad Count By Ad Group
Author
Kiril Ivanov
Updated
2026-03-19

Script Code

Use this to find ad groups with too few enabled ads and create a simple creative coverage check.

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

/**
 * ==========================================================
 * Enabled Ad Count By Ad Group
 * ==========================================================
 * Description: Counts enabled ads per ad group.
 *
 * Copyright (c) 2026 TwoSquares. All Rights Reserved.
 * Developed by Kiril Ivanov
 */
function main() {
  var SPREADSHEET_URL = "";
  var SHEET_NAME = "Ad Count By Ad Group";
  // ... preview shortened
}

About This Script

Enabled Ad Count By Ad Group is a lightweight reporting script for surfacing ad groups that may be under-supported creatively. It gives you a count of enabled ads per ad group in a format that is easy to review in a sheet.

This is useful for basic RSA coverage checks, post-migration QA, and creative maintenance routines. It does not try to score asset quality or performance, only coverage.

Because it is intentionally simple, it works well as an operational checklist tool. Once the output is useful, you can extend it with labels, campaign filters, or low-count warnings.

Implementation Notes

  1. Leave SPREADSHEET_URL blank to auto-create a report sheet, or add your own sheet URL.
  2. Run the script once manually and inspect the ad counts.
  3. Filter low-count rows to identify ad groups needing fresh creative.
  4. Optionally add a threshold column in the sheet if your team has a minimum ad-count rule.
  5. Schedule it monthly or after major ad uploads.

More Scripts In This Library

Previous Script

Duplicate Query Conflict Finder

Next Script

Final URL UTM Consistency Audit

Ad Group CPA Outlier Watchlist

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

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.

Disapproved Ad Alert

Monitors enabled ads for policy issues and can email a daily alert with disapproved/limited ads before delivery is impacted.

Disapproved Ad Checker

Exports disapproved ads with campaign and ad group context so you can review policy issues quickly without hunting through the interface.

Enabled Ad Count By Ad Group 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