You found a Google Ads script on a forum, and it promises to clean up your account overnight. Before you click Run, one question decides the risk: does this script only read your account, or does it change it? A script that reads sends you an email. A script that changes can move a budget or add negative keywords to every campaign while you sleep.
A Google Ads script is a small JavaScript program, written inside your Google Ads account, that reads your data and runs repetitive checks for you, on a schedule you choose. Here are the ready-to-use scripts Google itself still publishes, grouped by job: what each one watches, whether it changes your account, and whether it covers one account or a manager account (MCC).
What Google Still Publishes In 2026
In March 2024, Google introduced Solutions, a way to run its ready-made scripts from inside the account without editing code, and announced the end of its manual solutions library. In November 2026, the developer site lists six: Account Summary, Account Anomaly Detector, Ad Performance, Common Negative List, Flexible Budgets and Link Checker.
The Google Ads Help Center offers the same six without code: Tools icon, Bulk actions, Solutions, then the plus button. You can run a preview, pick a schedule and authorize the solution. All six work on a single account. A manager account script can process up to 50 accounts in parallel, according to the Google Ads scripts limits: see what MCC scripts are. To install your first script step by step, read Google Ads scripts: what they are and how to install one.
Monitor: Broken Links, Anomalies And Budget
Link Checker checks the URLs of your ads, keywords and sitelinks, and flags pages that return "Page not found" or another error. It emails you and saves the results in a spreadsheet. A single-account script runs for 30 minutes at most, so it picks up where it stopped on the next run, and Google advises an hourly schedule. It changes nothing except a label on the elements it has checked. Source: Link Checker.
Account Anomaly Detector emails you when the account behaves too differently from its history. It compares today's stats with the same weekday in past weeks, for example the 26 previous Tuesdays, and sends one email per alert type per day. Stats can be up to 3 hours late. Run it hourly, or daily around midday if the alerts get noisy. It changes nothing. Source: Account Anomaly Detector.
Flexible Budgets belongs to another family: it changes your campaign budget every day to follow a distribution you define, and sets it to zero once the planned total is spent. Google warns that this total "might be exceeded depending on when the script is scheduled to run". Source: Flexible Budgets.
Think of a smoke detector and a sprinkler. The detector beeps and lets you decide. The sprinkler acts alone, and it soaks the room even when the smoke came from toast. Link Checker and Account Anomaly Detector are detectors; Flexible Budgets is a sprinkler. I don't recommend it as a first script: a wrong setting becomes real spend before you see it. Start with an alert that reads and emails you, like the Google Ads budget alert script.
Clean Up: Search Terms And Negative Keywords
Common Negative List reads negative keywords and placements from a spreadsheet, syncs them into shared negative lists and applies them to all enabled and paused campaigns, or only to labelled ones. It changes your account. Google Ads already supports shared negative lists natively, so the script earns its place in a big account, where applying the list to many campaigns and keeping it in sync gets hard. Source: Common Negative List.
None of the six analyzes search terms by n-gram. The method needs no code: split each search term into words, pairs and trios, add up cost and conversions per fragment, and find the fragments that spend without converting. A word like "free" can hide in dozens of harmless-looking searches. The search terms n-gram analyzer does it from your pasted report, and the negative keyword list generator turns the result into exclusions. One limit: Google leaves some low-activity search terms out of the report for privacy, as the search terms report help page explains.
Track Quality: Quality Score
None of the six tracks Quality Score either. Quality Score is a diagnostic tool, from 1 to 10 at keyword level, built from expected click-through rate, ad relevance and landing page experience. Google adds that it "is not a key performance indicator" (About Quality Score for Search campaigns): use it to pick the keywords to inspect, never as a target. This short script lists up to 50 enabled keywords with a score of 4 or less, the ones with the most impressions in the last 30 days, and emails you the list. It only reads.
// Lists enabled keywords with a low Quality Score and emails them.
// Read only: it changes nothing in the account.
const MAX_QS = 4; // alert threshold, from 1 to 10
const EMAIL = 'you@example.com'; // your address
function main() {
const keywords = AdsApp.keywords()
.withCondition('campaign.status = ENABLED')
.withCondition('ad_group.status = ENABLED')
.withCondition('ad_group_criterion.status = ENABLED')
.withCondition('ad_group_criterion.quality_info.quality_score <= ' + MAX_QS)
.withCondition('metrics.impressions > 0')
.forDateRange('LAST_30_DAYS')
.orderBy('metrics.impressions DESC')
.withLimit(50)
.get();
const lines = [];
while (keywords.hasNext()) {
const kw = keywords.next();
lines.push(kw.getQualityScore() + '/10 ' + kw.getText() +
' (' + kw.getCampaign().getName() + ')');
}
if (lines.length === 0) return;
const account = AdsApp.currentAccount().getName();
console.log(lines.join('\n'));
MailApp.sendEmail(EMAIL, 'Low Quality Score: ' + account, lines.join('\n'));
}
Click Preview first and read the log. Preview changes nothing in your campaigns, and the email still goes out, because it only blocks changes made through AdsApp, as the preview documentation explains. The selector methods are in the KeywordSelector reference. If you hesitate between this script and an automated rule, read Google Ads scripts vs automated rules.
Report: Account Summary And Ad Performance
Account Summary emails you yesterday's stats every day and stores them in a spreadsheet; Google advises a run at 3 AM or later (Account Summary). Ad Performance builds a weekly spreadsheet with distribution charts, to compare how a headline or a final URL performs (Ad Performance). Neither changes the account.
Which Script To Install, In Which Order
My recommendation is to install them in this order: the scripts that read first, the scripts that change your account last.
| Script, in install order | What it does | Changes the account | Link |
|---|---|---|---|
| 1. Link Checker | Flags ads, keywords and sitelinks whose page returns an error | Labels only | Official page |
| 2. Account Anomaly Detector | Emails you when stats move away from the usual weekday | No | Official page |
| 3. Low Quality Score alert | Emails keywords with a Quality Score of 4 or less | No | Code above |
| 4. Account Summary | Daily email with yesterday's stats | No, writes a spreadsheet | Official page |
| 5. Ad Performance | Weekly charts on ad performance | No, writes a spreadsheet | Official page |
| 6. Common Negative List | Syncs shared negative lists from a spreadsheet | Yes | Official page |
| 7. Flexible Budgets | Changes campaign budgets every day | Yes | Official page |
Frequently asked questions
Is there an official Google Ads script library?
Yes, a short one. The Google Ads scripts developer site publishes six ready-to-use solutions, all for a single account, from Link Checker to Flexible Budgets. The same site has a page of code examples: short snippets, one task each, to adapt and preview before you schedule anything.
Who can write a custom Google Ads script?
Anyone who reads JavaScript, with the AdsApp reference open. If someone writes it for you, a PPC specialist or an AI tool, ask for a first version that only reads and emails, run it in preview and read the log. Ask for a manager account version only if you run several accounts.
What To Install First
- A first script with no risk: Link Checker or the Quality Score alert above, in preview first.
- Drops you notice too late: Account Anomaly Detector, every hour.
- Spend that worries you: a budget alert before Flexible Budgets.
- Several accounts: MCC scripts, since none of the six covers a manager account.
- The rest of the account: the Google Ads audit checklist, and more scripts in the Google Ads scripts category.
For an outside view on your account, discover the Google Ads management service.






