- Uses the last 30 completed days by default, with v26 queries
- Requires a positive account ROAS and at least 10 account conversions by default
- Rejects missing or invalid metrics and stops if a query exceeds 5,000 rows
- Logs a bounded report; never pauses, edits or removes anything
Free Google Ads script · Monitoring
Underperforming assets
Find ads, ad groups and Performance Max asset groups whose ROAS trails the account benchmark after meaningful spend.
What it is for
A faster check.
Not automatic judgement.
A high-spend account can hide weak pockets behind a healthy blended result. This script compares ads, ad groups and Performance Max asset groups with account-level cost-per-conversion and ROAS benchmarks, then produces a bounded private-log review. Optional email requires an explicit enable switch and recipient review; this version suppresses email in Google Ads Preview.
- 01Start with ENABLE_EMAIL: false; Preview and inspect the private logs before considering scheduling
- 02Review the 1.5× spend gate, 40% ROAS drop and MIN_ACCOUNT_CONVERSIONS; low-volume entities still need manual review
- 03Supported DATE_RANGE values are LAST_7_DAYS, LAST_14_DAYS, LAST_30_DAYS and LAST_MONTH; all exclude today
- 04For optional email, review recipient and confidential data first, then explicitly set ENABLE_EMAIL: true; Preview still never sends
- 05MAX_ROWS_PER_SECTION is 1–100; logs truncate at 12,000 characters and email has a conservative size guard. Reduce rows if needed
Changed default: configuring a recipient alone no longer enables email. Logs contain account and entity names; keep them confidential. No Sheet or external HTTP export exists. Empty or invalid data is no assessment, not healthy performance. Paused entities can appear, and ads/ad groups overlap: do not sum their spend. Mixed campaign goals, conversion lag and unreliable values can distort ROAS. This report is not an instruction to change bids or budgets. Documentation and offline tests were reviewed on 30 October 2026; no live Google Ads account test was performed.
Use this script at your own risk. Google Ads interfaces and reporting fields change. Always run Preview in the intended account and read the logs before enabling or scheduling it.
Loading script…How to install a Google Ads script
Copy. Configure.
Preview. Schedule.
- Open the correct Google Ads account and go to Tools → Bulk actions → Scripts.
- Create a new script, remove the example code and paste this script.
- Edit the CONFIG block. Never leave placeholder emails, budgets or thresholds unchanged.
- Authorize the script, select Preview and inspect its logs or report.
- Only schedule it after the preview matches the intended account and scope.
Read the output
What should you check before acting?
A monitoring script narrows a large account to a smaller review list. It does not diagnose the cause of every flagged row, and an empty report is not proof that the account is healthy. Before acting, check the account, date range, conversion definitions and recent change history. Compare any flag with the original Google Ads report and the business's lead or sales records. Preview output may contain account names, IDs and performance data, so keep logs and reports private. If the account has too little data, a threshold may suppress a useful warning or amplify ordinary noise. Record the human decision separately from the automated flag so a later reviewer can see what was checked, what changed and why. Schedule a read-only check only after a correct-account Preview has produced intelligible results. Review it again when campaign structure or tracking changes.
The suggested cadence for this script is weekly or monthly. Treat that as a review starting point, then adapt it to the account's volume and the person available to check the output. Keep a note of the account, date window, first Preview result and the decision made from it. If the output is incomplete or the account cannot be confirmed, stop at review; do not infer that a missing warning means there is no problem. Compare any alert or export with the native Google Ads view before making an account change, and record who reviewed the result.
Why is the account benchmark only a prompt?
A blended ROAS or CPA can combine brand and non-brand activity, different products and campaigns with different goals. An ad group below that benchmark is not necessarily failing; it may be learning, assisting a later sale or serving a higher-value customer type. Conversely, a strong blended result can hide one expensive pocket. The report's spend and conversion gates reduce tiny-sample noise but do not remove it. Inspect the original campaign, its goal, conversion lag and value quality before changing bids or removing an asset.
What should happen before optional email?
Leave ENABLE_EMAIL false for the first Preview, inspect the private log and confirm the report belongs to the intended account. Check whether rows include client names or commercially sensitive metrics, then decide whether any recipient should receive them. A configured address alone does not switch email on in this version, and Preview suppresses email even after opt-in. If the output is useful, choose a frequency that allows enough conversions to accumulate and record the review decisions separately from the automated rankings.