Products SEO & GEO Agent Paid Ads Agent Website Agent Conversion Agent
How it works Pricing FAQ Blog Book a call

Google Ads automated rules and scripts: a practical setup

Updated · 8 min read

Want help applying this to your business? Talk it through on a free 30-minute call.

Book a call

Where Google Ads automated rules and scripts live

Both sit in the Tools menu, under Bulk actions. Rules need no code. Scripts are JavaScript, but Google publishes ready-made ones you install without writing any.

ToolWhere to find itWhat it does
Automated rulesTools, Bulk actions, Rules, or the 3-dot icon above a Campaigns, Ad groups, Ads or Search keywords table"If this, then that" on a schedule: pause or enable, change budgets or bids, add labels, change final URLs, or just email you
ScriptsTools, Bulk actions, ScriptsReads your data, makes changes, emails you, writes to Google Sheets; runs hourly to monthly
NotificationsAdmin, NotificationsGoogle's own emails about disapproved ads, stopped campaigns and billing

Sources: Google Ads Help (Manage your automated rules; Common ways to use automated rules; Change your email notification preferences); Google Ads Scripts (Get started; Product overview).

What changed since older guides. In June 2018 Google announced that AdWords was becoming Google Ads (Google Blog, June 27, 2018), and menus have moved since: today's path is Tools, then Bulk actions. Since July 2021, a rule keeps running after the person who made it loses account access (Google Ads Help: Fix automated rule issues). A Google Ads campaign type that shows your ads across Search, YouTube, Maps, Gmail and other sites from one budget, with Google choosing where. More campaigns take rules at the asset group level (Google Ads Help: Set up automated rules).

How to set up an automated rule in Google Ads

Google's own steps, in order (Google Ads Help: Tips for using automated rules; Set up automated rules):

  1. Open the Campaigns, Ad groups or Search keywords page in the Campaigns menu, and click the 3-dot icon above the table. Or go to Tools, Bulk actions, Rules, and press the plus button.
  2. Select Create an automated rule.
  3. Choose the type of rule: the action, such as Send email, Pause keywords or Change budgets.
  4. Choose what it applies to: all enabled items, enabled and paused, or ones you pick.
  5. Add conditions, such as Cost greater than $50. Add a minimum, like The number of times your ad or listing was shown, whether or not anyone clicked. over a set number, so it acts on enough data.
  6. Set the frequency (once, daily, weekly, monthly) and the "using data from" range (same day, previous 30 days and so on).
  7. Choose email results: after every run, only when there are changes or errors, or no emails.
  8. Name it, click Preview, then Save rule.

Preview changes nothing. Google's advice for the first run:

"Try to implement a rule with a frequency of "one time" to monitor the actual impact." (Google Ads Help: Tips for using automated rules)

Five starter rules for a small account

These adapt Google's published examples. Your numbers go in the conditions.

RuleType of ruleConditionFrequency and data
Spend check at noonSend email (campaigns)Cost over half the daily budgetDaily at 12:00 PM, same day
Keyword spending with no leadsSend email (keywords)Cost over a set amount, conversions under 1Weekly, previous 30 days
Monthly capPause campaignsCost over your monthly limitDaily in the morning, same month
Promotion on and offEnable ads, then Pause adsAd text contains your offer's wordingOnce, at the start; once, at the end
Busy-day budgetChange budgets: up 50%, later down 33.3%NoneWeekly, the morning of the busy day; again that night

The noon check is Google's example: on a $100 daily budget, email if over $50 is spent by noon, so you can decide whether to raise it. The same page says a monthly limit "can be approximated" with a daily pause rule on "Same month" data (Google Ads Help: Common ways to use automated rules).

The budget pair needs care. $100 up 50% is $150; $150 down 50% is $75, not $100. Google's formula for the way back is d = 100x / (100 + x), so +50% needs −33.3% (same page). When a rule raises a budget, set its optional upper limit (Google Ads Help: Tips for using automated rules).

Start with the email-only rules. A wrong condition then costs you an email, not a day of spend.

Google's help center says scripts may suit you if you or a colleague can write JavaScript, and points everyone else to rules (Google Ads Help: Using scripts to make automated changes). The middle path: a Google-made script you configure, not write.

  1. Go to Tools, Bulk actions, Scripts.
  2. Press the plus button. Pick Start from a template (types include Reports, Bidding and Alerts), or New script and paste code from Google's developer site (Google Ads Help: About script templates).
  3. Click Authorize when asked. Each script needs this once (Google Ads Scripts: Get started).
  4. Click Preview. Results show in the Changes / Logs panel.
  5. Click Run, then set the schedule in the Frequency column: hourly, daily, weekly or monthly (Google Ads Scripts: Product overview).
  6. Check Script history for each run's status and log.

Two free Google scripts cover alerts that rules can't:

Scripts run on Google's servers "at no additional cost". Each run stops after 30 minutes, and changes made before the cutoff stay applied (Google Ads Scripts: Product overview; Limits). Rules have an undo; scripts don't:

"Keep in mind that changes to your scripts can't be undone." (Google Ads Help: Using scripts to make automated changes)

Alerts: which ones to set, and where each comes from

Google Ads has no single alert screen. Each alert comes from one of the three tools.

ProblemAlertTool
Spending fast todayEmail if cost passes a set amount by noonRule
A keyword or campaign spending with no leadsWeekly email on cost with zero conversionsRule
Clicks, cost or conversions far from normal, such as tracking that brokeAccount Anomaly DetectorScript
An ad sending people to a dead pageLink CheckerScript
Ads disapproved, campaigns stopped, billing failingGoogle's critical notificationsNotifications

For notifications, go to Admin, then Notifications, and pick an email setting per topic. For "Campaign maintenance" and "Disapproved ads and policy alerts", at least one user must get all or only critical emails, unless a linked manager account, such as an agency's, gets them instead. If that person or agency no longer works with you, the warnings still go to them. Billing alerts are changed through payment contacts, under Billing, then Settings (Google Ads Help: Change your email notification preferences; About email notifications). Inside the account, the most critical alerts, such as no ads running, show in a red bar at the top (Google Ads Help: About in-account notifications).

To stop a rule's emails, set Email results to "No emails". An email-only rule has to be paused instead (Google Ads Help: Stopping emails about automated rules).

Why automated rules misfire: timing and data

Most surprises come from timing:

"standard turnaround time for rules to run is within 2 hours after the conditions are triggered." (Google Ads Help: Manage your automated rules)

To reverse a rule, open Version history on the Rules page and click Undo. Undo goes newest run first: to reach an earlier run, undo the later one. Manual edits made since stay, email-only rules have nothing to undo, and there is no redo (Google Ads Help: Manage your automated rules).

Example

Illustrative cases, round numbers.

A plumber on $50 a day

A US plumber spends about $1,500 a month on Search. One rule emails him at noon if a campaign has spent over $25. Another emails every Monday about any keyword with $60 spent in 30 days and no conversion. The anomaly script runs hourly. Nothing changes without him.

A Toronto salon's long-weekend offer

A salon spending C$800 a month writes "long weekend special" ads and pauses them. One rule enables them once on Friday at 6 AM; another pauses them on Monday at 11 PM. Knowing rules can run up to two hours late, she sets the start for 4 AM.

A dental clinic's busy Tuesdays

Most bookings arrive on Tuesdays. One weekly rule raises the $100 daily budget by 50% at 1 AM Tuesday, with an upper limit of $150. A second cuts it by 33.3% at 11 PM, back to $100.

FAQ

Are Google Ads automated rules free?

Google lists no separate charge. Rules are built in, and scripts run on Google's servers "at no additional cost". You pay for the ads.

Can I undo what an automated rule did?

Yes, from Version history on the Rules page, one run at a time, newest first. Email-only rules have nothing to undo, and there's no redo.

Do automated rules work with Performance Max?

Yes, at the asset group level. Select asset groups, click Edit, then "Create an automated rule", or add asset group rules from Tools.

Different for you?

Keep learning

NextAI Max for Search campaigns: should a small business turn it on?AI Max for Search campaigns for a small business: what it changes, the 2026 auto-upgrade, its controls, and when to keep manual bidding and exact match.

Do it yourself

Google Ads wasted spend: find it in the search terms reportWhere a small service business's Google Ads budget leaks: search terms, match types, negative keywords, and the settings Google turns on for you.

Ask us one question

One line is enough. We reply by email.

Sources

  1. Google Ads Help: Set up automated rules
  2. Google Ads Help: Tips for using automated rules
  3. Google Ads Help: Common ways to use automated rules
  4. Google Ads Help: Manage your automated rules
  5. Google Ads Help: Fix automated rule issues
  6. Google Ads Help: Stopping emails about automated rules
  7. Google Ads Help: Using scripts to make automated changes
  8. Google Ads Help: About script templates
  9. Google Ads Scripts: Product overview
  10. Google Ads Scripts: Get started
  11. Google Ads Scripts: Limits
  12. Google Ads Scripts: Account Anomaly Detector
  13. Google Ads Scripts: Link Checker
  14. Google Ads Help: About email notifications
  15. Google Ads Help: Change your email notification preferences
  16. Google Ads Help: About in-account notifications
  17. Google Blog: Introducing simpler brands and solutions for advertisers and publishers (June 27, 2018)