Most Google Ads accounts don't fail because of one big mistake. They leak money slowly: a broken landing page nobody noticed over the weekend, a budget that ran out by 10am, a campaign that kept spending after a promotion ended. Catching these problems by hand means logging in several times a day, and nobody can keep that up for long.
Google gives every advertiser two free tools to take over that watching and tidying: automated rules, which you build with menus, and Google Ads scripts, which you write in JavaScript. Used well, they act like an assistant that checks the account around the clock and only shouts when something needs a human.
This guide explains the difference between the two, when to use each, how to set them up without breaking anything, and which beginner automations deliver the most value in 2026, when Smart Bidding already handles most bid changes for you.
Key Takeaways
- Automated rules are point-and-click: pick a condition, an action and a schedule. No code required.
- Google Ads scripts use JavaScript to do things rules can't, such as checking landing pages, writing to Google Sheets or working across many accounts.
- Rules may run up to two hours after their scheduled time, so they are not for minute-by-minute control.
- Always preview a rule or script before it makes live changes, and start with alerts before automatic edits.
- With Smart Bidding doing most bid work, the best use of automation is monitoring, reporting and guarding budgets.
Automated rules vs scripts: what's the difference?
Both tools change or monitor your account on a schedule. The difference is flexibility versus ease.
“Automated rules allow you to make automatic account changes based on chosen settings and conditions.”
— Google Ads Help, About automated rules
Scripts go further. Google's developer documentation describes them as a way to manage and query account data with code:
“Google Ads scripts allow programmatic management and querying of Google Ads data using JavaScript in a browser-based IDE.”
— Google for Developers, Google Ads scripts: Get started
| Automated rules | Google Ads scripts | |
|---|---|---|
| Skill needed | None – menus and dropdowns | Basic JavaScript (or the ability to paste and edit a template) |
| Where you build them | Tools › Rules, or the Edit menu in a table view | Tools › Bulk actions › Scripts |
| Schedule | Once, daily or weekly | Hourly, daily, weekly, monthly or on demand |
| Typical actions | Pause/enable, change budgets or bids, send emails, apply labels | Anything rules do, plus checking URLs, reading/writing Sheets, custom reports, external data |
| Multiple accounts | Limited | Manager (MCC) scripts can run across many accounts |
| Cost | Free | Free – runs on Google's servers |
| Best for | Simple, predictable “if this, then that” jobs | Monitoring, reporting and logic that rules can't express |
When automated rules are the right choice
Rules are ideal when the logic fits in one sentence. Google's own list of common uses includes scheduling ads for promotions, pausing poorly performing keywords or ads, changing budgets by day of week, sending email alerts when spend reaches an amount, and pausing campaigns after a monthly spend threshold.
Good beginner rules include:
- Promotion on/off: enable sale ads at 00:01 on Black Friday and pause them when the sale ends.
- Spend alert: email the account owner if yesterday's cost is above a set amount.
- Zero-conversion alert: email you when a campaign with steady traffic records no conversions for a few days – often a sign your conversion tracking has broken.
- Labelling: apply a “review” label to keywords that have spent heavily with no conversions so you can check them in the search terms report.
Two timing details matter. Google says the standard turnaround for rules is within two hours after conditions are triggered, so a 9am rule may run any time up to 11am. And if two rules touch the same data, stagger their start times, because the earlier one runs first.
When you need a script
Scripts earn their place when you need to look outside Google Ads, combine data, or run logic across many items. Google publishes ready-made solutions you can copy, including an Account summary report, an Account anomaly detector, an Ad performance report, a Common negative list tool, Flexible budgets and a Link checker.
A few practical limits from Google's documentation are worth knowing before you start:
| Limit | Value (per Google's docs) | What it means for you |
|---|---|---|
| Execution time (single account) | 30 minutes | Large accounts should use reports/queries rather than looping over every entity |
| Manager scripts in parallel | Up to 50 accounts at once | Agencies can monitor a portfolio with one script |
| Entity iterator | 50,000 entities by default | Filter selections (e.g. only enabled keywords) to stay under it |
| Authorized scripts | Up to 250 per user | Tidy up old scripts you no longer use |
| Timeouts | Changes made before a timeout still apply | Design scripts so a partial run is safe |
A tiny example script
This script emails you if any enabled campaign spent money yesterday but recorded zero conversions. It only reads data, so it is safe to run.
function main() {
var rows = AdsApp.search(
"SELECT campaign.name, metrics.cost_micros, metrics.conversions " +
"FROM campaign WHERE campaign.status = 'ENABLED' " +
"AND segments.date DURING YESTERDAY");
var problems = [];
while (rows.hasNext()) {
var r = rows.next();
var cost = r.metrics.costMicros / 1e6;
if (cost > 50 && r.metrics.conversions == 0) {
problems.push(r.campaign.name + ': ' + cost.toFixed(2));
}
}
if (problems.length) {
MailApp.sendEmail('you@example.com', 'Campaigns with spend but no conversions',
problems.join('\n'));
}
}
Change the threshold (50) and the email address, preview it, then schedule it daily.
How to set up your first rule or script safely
- Write down the problem in one sentence. “Alert me if a campaign spends over £100 with no leads” is a good automation. “Optimise my account” is not.
- Decide: alert or action? Start with email alerts. Move to automatic changes only once you trust the logic.
- Use enough data. Google recommends a long enough date range, or a condition like “impressions greater than X”, so changes are based on meaningful volume. Conversion-based rules need longer windows because conversions arrive later than clicks.
- Set limits. For any bid or budget rule, add minimum and maximum values so a rule can never push a budget to zero or to an absurd amount.
- Preview. Both rules and scripts have a preview mode that shows what would change without changing anything.
- Run once first. Google suggests starting with a one-time rule to see its real impact before making it recurring.
- Schedule and label. Name it clearly (“ALERT – zero conv – daily 8am”) and stagger start times.
- Review the logs monthly. Check Tools › Rules history or the script logs, and delete automations that no longer serve a purpose.
What to automate in 2026 (and what not to)
A decade ago, most rules were about bids: raise bids on converting keywords, lower them on expensive ones. Today most accounts use Smart Bidding, and rules that change bids underneath it simply fight the algorithm. Focus automation on jobs the algorithm doesn't do:
- Guardrails: budget pacing alerts against a monthly limit (see our guide to setting a PPC budget).
- Quality checks: broken final URLs, disapproved ads, conversion tracking that suddenly stops.
- Reporting: daily or weekly summaries to a Google Sheet for your PPC KPIs.
- Hygiene: pushing shared negative keyword lists across campaigns.
- Calendar tasks: switching seasonal ads and sitelinks on and off.
Common mistakes
- Stacking conflicting rules. One rule raises a budget, another cuts it, and the account flip-flops. Map every rule in one place.
- Too little data. Pausing a keyword after one day with no conversion kills keywords that would have converted next week.
- Bid rules on Smart Bidding campaigns. These either do nothing or confuse learning.
- CTR-based bid cuts. Google warns that lowering bids when CTR is low can create a downward spiral, because lower positions reduce CTR further.
- Copying scripts you don't understand. Read every line, especially anything that calls
pause(),remove()or changes budgets. - Forgetting about them. Automations outlive the person who built them. Document owner, purpose and review date. Many of the Google Ads mistakes we fix in audits are old rules nobody remembered.
If you already run a regular PPC audit, add “review rules and scripts” to the checklist.
Related Guides
- Offline Conversion Tracking for Lead-Gen Advertisers
- Meta Ads Targeting: Audiences That Work in 2026
- Meta Pixel and Conversions API Setup
Frequently Asked Questions
Do I need to know how to code to use Google Ads scripts?
Not to get started. Google publishes ready-made scripts you can paste in and adjust a few settings such as an email address or threshold. Learning basic JavaScript helps you customise them safely.
Are Google Ads scripts free?
Yes. Google's documentation says scripts run on Google's cloud infrastructure at no additional cost.
How often can automated rules run?
Rules can run once, daily or weekly. Scripts can be scheduled hourly, daily, weekly or monthly, or run on demand.
Will a rule run at exactly the time I set?
No. Google says rules may run up to two hours after the scheduled time, so don't rely on them for split-second changes.
Should I use rules to change bids?
Only on manual or enhanced CPC campaigns. If a campaign uses Smart Bidding, use rules and scripts for alerts, budgets and reporting instead of bids.
Conclusion
Automated rules and scripts won't run your account for you, but they will stop small problems turning into expensive ones. Start with two or three alert-only automations – spend, zero conversions and broken links – and expand once you trust them. If you'd rather have specialists build and monitor this for you, our PPC management service includes custom automation and reporting. Get a quote to see what we'd automate in your account.
References
- About automated rules – Google Ads Help
- Common ways to use automated rules – Google Ads Help
- Tips for using automated rules – Google Ads Help
- Google Ads scripts: Get started – Google for Developers
- Google Ads scripts solutions – Google for Developers
- 11 Google Ads best practices to maximize return on ad spend – Semrush Blog




