Automation and AI
Create an automated rule
Pause, activate or change the budget on its own when a metric crosses the limit, without having to keep watching the account.
Quick answer
Open Automated Rules and click New rule. Give it a name, pick the accounts and what the rule acts on, click Add condition (for example, Cost per Purchase greater than 45), pick the Calculation period, the Action and the Frequency, and click Create rule.
Watch the walkthrough 0:38
Video page: Automated rules
Before you start
- The rule really acts on the account: it pauses, activates or changes the budget. If you only want to be notified, use Metric alerts.
- Meta Ads and Google Ads rules are in separate tabs.
- Each time the rule acts, you get a notification in the bell and the history keeps what was done.
Step by step
In this example, we create a rule that pauses active campaigns when the cost per purchase goes above US$45.
- 1
Open New rule
In the side menu, click Automated Rules. The rules you already have show up as cards, with the condition and action of each one. Click New rule.
12- 1New rule
- 2An existing rule
- 2
Say where it acts
Under Rule name, write something that explains what it does. Under Ad accounts, pick the accounts, or leave all of them. Under Apply rule to, pick the level: campaigns, ad sets or ads, active or paused. To limit it to some names, use Filter by name.
123- 1Rule name
- 2Ad accounts
- 3Apply rule to
- 3
Build the condition
Click Add condition, pick the metric (here, Cost per Purchase), the operator and the value, and confirm. You can add more than one condition: the rule only acts when all of them are met. Under Calculation period, pick which days count.
12- 1Condition
- 2Calculation period
- 4
Pick the action and how often
Under Action, pick what to do: pause, activate, raise or lower the budget, or just notify. Under Schedule, Continuously runs all the time at the chosen Frequency. Specific Date runs once on a date and time, and Custom runs only on the days and hours you check.
123- 1Action
- 2Schedule
- 3Frequency
- 5
Create the rule
Click Create rule. It joins the list, turned on. The switch turns the rule off and on whenever you want, and Execution history shows each time it ran and what it did.
12- 1Turn on and off
- 2Execution history
The same rule in another account
On the rule card, the copy icon duplicates the rule. The copy opens turned off, with the original name plus (copy), so you can change the account or the limit before saving.
Create the rule straight from the manager
In Meta Ads and Google Ads, click Bulk Edit, check campaigns, ad sets or ads and click Rules in the action bar. The Create rule for window already comes with the checked items: pick the metric, the threshold, the action and the schedule. You do not need to type a name, and the new rule shows up under Automated Rules.
How to tell it worked
- The rule shows up in the list with the Active label.
- When the condition is met, the history shows the run and the notification arrives in the bell.
If something goes wrong
| Symptom | Likely cause | What to do |
|---|---|---|
| The rule never ran | The condition was not met in the period, or there was no spend | Open the Execution history: it says what was checked and why it did not act |
| The budget rule did not change an ad set | The budget is on the campaign (CBO), not on the ad set | Apply the rule to campaigns, or use an ad set with its own budget |
| It paused more than I wanted | The rule applies to every campaign in the chosen accounts | Use Filter by name to limit it to campaigns with a piece of text in the name |
Frequently asked questions
How do automated rules work?
Automated Rules perform actions on their own according to the conditions you define:
- Go to Automated Rules in the menu.
- Create a new rule.
- Set the condition (e.g. based on campaign/ad set metrics).
- Define the action to be taken when the condition is met.
- Save and activate the rule.
From there, Ads Editor monitors and applies the action automatically.
How do I create a rule to pause campaigns when the CPA exceeds a certain value?
Open Automated Rules in the side menu and click New Rule. Give it a name (for example, Pause if CPA greater than US$50), choose the Ad Accounts (or leave All accounts) and, under Apply rule to, select Active Campaigns. Under Action, choose Pause. Under Conditions, click Add condition, select the metric (for example, Cost per Purchase or CPA), the Greater than operator and the threshold value, then confirm. Finally, set the Calculation Period (for example, Today) and the Check Frequency, and click Create Rule. The rule is active from the moment you create it, and you get a notification whenever it pauses something.
What metrics can I use for a rule's conditions?
Conditions support metrics such as Spend, Cost per Result, Cost per Lead, Cost per Purchase, Cost per Message, CPA, ROI, ROAS, CPC, CPL, Leads, Messages, Conversations, CTR, CPM, Impressions, Clicks, Page Views, and Frequency. Available operators are Greater than, Less than, Greater than or equal to, and Less than or equal to.
Some metrics may not be available for every account or integration. When the required data is unavailable, the rule does not run the action. Prefer metrics with valid data in the account and review history after enabling a rule.
What are the rule's Schedule options (Continuously, Specific Date and Custom)?
Continuously is the default: the rule runs all the time, following the Frequency you chose. Specific Date makes the rule run once, at an exact date and time you set, which is useful for scheduled actions. Custom lets you select days of the week and, for each day, a time window (start and end). The rule only runs within those windows, with checks every 30 minutes. A tip for Custom mode: if you set the start time equal to the end time, the rule runs once at that time on the selected day.
How do I view the execution history of an automated rule?
On the Ads Editor Rules page, each rule has an execution history: when it ran, what it evaluated and what action it took (or why it didn't take one).
It answers "did the rule run?" without contacting support. Open the rule and see the list of recent executions with date, time and result.
If a rule shows no executions, check that it's active and that its condition can actually happen (for example, a CPA rule only runs when there is spend in the evaluated period).
How do I duplicate, edit, turn off or delete a rule?
Each card on the Automated Rules page has its own controls: the switch turns the rule on or off instantly (when off, it shows the Inactive label and doesn't run), the copy icon duplicates the rule, the pencil opens it for editing, and the trash can deletes it (with confirmation; deletion can't be undone). When you duplicate a rule, the copy opens in the form with the original name plus (copy), already turned off, so you can adjust accounts, conditions or values before saving. This is great for reusing the same logic on another account or with a different threshold. Changes take effect at the rule's next check.
My rule didn't run. What could have happened?
Check this list in order:
- Is the rule active? Rules with the Inactive label don't run. Turn on the toggle on the card.
- Frequency: if the rule ran recently, it waits for the chosen interval before evaluating again.
- Execution Interval and Schedule: outside the configured time window or days, the rule stays on hold.
- Daily Execution Limit: if the rule already reached its limit today, it will only run again tomorrow.
- Were the conditions actually met in the chosen Calculation Period? All of them must be true at the same time.
- Cost per conversion with no conversions: with a "greater than X" condition, the rule acts as soon as the period's spend passes X, because the cost can no longer end up below X. With a "less than X" condition, the rule skips, because with no conversions there is no cost to compare.
- Connection and subscription: your Meta account must be connected and your subscription active, because rules don't run for accounts with suspended access.
Can I create a rule straight from Meta Ads or Google Ads, only for the checked items?
Yes. In Meta Ads or Google Ads:
- Click Bulk Edit and check the campaigns, ad sets or ads.
- In the action bar, click Rules.
- In the Create rule for window, pick the metric, the threshold, the action (pause, activate or change the budget) and the schedule, which can be continuous or on a chosen day and time.
- Confirm.
The rule starts out applying only to the checked items, and the name is filled in for you. It then shows up under Automated Rules, where you can edit it, turn it off and see its run history.
Do rules and AI Optimization keep running if I disable the account on my plan or the subscription is overdue?
No. Ads Editor automations only act on accounts enabled on the plan and with the subscription in good standing.
- Account disabled on the plan: automated rules, AI Optimization and the other automations for that account stop acting. When you enable the account again, they resume on the next cycle.
- Subscription cancelled, expired or blocked: automations stop on all accounts. For a failed charge, the same 3-day grace period after the due date applies: they keep running during it.
Nothing is deleted: rules and optimizations stay configured and act again once the account or the subscription is back in order. Whatever was already done on Meta or Google stays as it is, and a campaign paused by a rule is not turned back on by itself.
Do Automated Rules and Alerts work with Google Ads?
Yes. Automated Rules and Alerts have Meta and Google tabs at the top of the page.
The Google tab covers the accounts in your Google Ads account selection. A Google rule can act on campaigns, ad groups, ads and keywords, and the actions are: pause, activate, increase, decrease or set the budget; increase, decrease or set the target CPA (campaign or ad group); increase, decrease or set a keyword's bid (CPC); or just send a notification.
Google metrics: Spend, Conversions, Cost per conversion (CPA), Conversion value, ROAS, All conversions, Conversion rate, CTR, Average CPC, CPM, Impressions, Clicks and Impression share.
Google Alerts notify you when a metric crosses the threshold and can filter by campaign type: Search, Performance Max, Display, Video, Shopping and Demand Gen.
Good to know: a budget rule is skipped, and logged in the history, on campaigns where Google's automatic optimization is managing the budget. Google rules have no audience bid action: in rules, adjust using the target CPA or the keyword's CPC. Audience bid adjustments are made by hand, in Google Ads, under Edit › Audiences. AI Copilot and MCP can also create and edit Google rules and alerts (target CPA, keyword bid, ad groups and keywords, conversions and campaign type): just ask in text.
How do I create an automated rule for a keyword or bid in Google Ads?
- Open Automated Rules in the side menu and click the Google tab.
- Create the rule and choose the Google Ads account.
- Under Apply to, choose Active keywords (or campaigns, ad groups or ads).
- Build the condition with Google metrics, for example: Cost per conversion (CPA) greater than US$80 in the last 7 days, or Spend greater than US$50 with Conversions equal to 0.
- Choose the action: Pause, Decrease bid (CPC), Increase bid (CPC) or Set bid (CPC). For campaigns and ad groups, there are also Increase, Decrease and Set target CPA, plus the budget actions.
- Set the frequency and save.
The same keyword in different ad groups is handled separately, ad group by ad group. Bids and target CPA inherited from an automatic bidding strategy aren't used as a base for adjustments: the rule only changes what is set there.
You can also ask AI Copilot or MCP, for example: "create a Google rule that decreases the bid by 10% on keywords with CPA above US$80 in the last 7 days".
How do I make a rule apply only to campaigns with a certain name?
Use the Filter by name field when you create or edit the rule. The options are: Any (no filter), Contains, Does not contain and Starts with, followed by the text you want. The filter ignores uppercase, lowercase and accents: typing sabado matches campaigns with Sábado or SABADO in the name, for example. It applies to the scope you chose: if the rule is for Active Ad Sets, the filter compares against ad set names. This is the recommended way to isolate a campaign or group of campaigns without creating a separate account.
How does increasing or decreasing budget work in a rule?
When you choose Increase Budget or Decrease Budget, you set the change Amount as a percentage (%) or as an amount in the ad account currency. You can also set a limit: for increases, the Maximum daily budget limit stops the budget from going above that ceiling. For decreases, the Minimum daily budget limit stops it from dropping below that floor. As a safeguard, a decrease never takes the budget below the minimum Meta accepts for the ad account (1 in the account currency for a lifetime budget). There's also the Set Fixed Budget action, which replaces the current budget with an exact amount in the ad account currency. The change applies to the campaign's or ad set's daily or lifetime budget, depending on what's configured in Meta.
How do I see what a rule did? Is there a history?
Yes. Every time a rule acts, you get a notification in the bell on your dashboard telling you what happened: which campaign, ad set or ad was paused or activated, or the budget before and after the change (for example, changed from US$50.00 to US$60.00 by rule X). If you use the Ads Editor app on your iPhone or turned on browser alerts, the same notification arrives as a push. Each execution is also recorded in the rule's history, with the conditions that were met and the values at the time. To see it, click Execution history on the rule card. You can also look up this history with the AI Copilot (for example, ask "what did my rules do today?") or through the MCP integration. Clicking the notification takes you straight to the Automated Rules page.
I created a rule for Cost per Purchase less than X, and it didn't pause ads with no sales. Is it broken?
No, this is intentional safety behavior. When there are no conversions in the period (no purchases, leads or messages, depending on the metric), cost per conversion is undefined, not zero. If the system treated it as zero, a condition like less than X would be true for everything that didn't convert, and the rule could pause or change ads by mistake. (Imagine ROAS less than 1 pausing a WhatsApp campaign, which never has a purchase value.) That's why, when the denominator is zero, the rule skips that item without acting. If you want to catch what spends without converting, use Cost per Purchase greater than X (with no purchases, the rule acts once the period's spend passes X) or Spend greater than X together with Purchases less than 1.
How often are the rules checked? Can I choose the frequency?
Yes. In the Frequency field you choose the minimum interval between rule checks: every 10, 15 or 30 minutes, every hour, every 2, 3 or 6 hours, or Once a day. If you choose Once a day, a Run time field appears so you can set the time (for example, 08:00). The system runs continuously and respects each rule's frequency, so a 30-minute rule is re-evaluated roughly every 30 minutes. All times follow Brasília time (UTC-3).
What are Ads Editor Automated Rules, and what can they do?
Automated Rules are in the Automated Rules menu. They monitor your Meta Ads and Google Ads (Google tab) campaigns, ad sets or ads on their own and take an action when the conditions you set are met. On Meta, the available actions are: Pause, Activate, Increase Budget, Decrease Budget and Set Fixed Budget. On Google there are also target CPA and keyword bid actions. You choose the condition metrics (CPA, ROAS, spend, cost per lead and others), the calculation period, the check frequency and which accounts the rule applies to. Each time the rule acts, you get a notification in the dashboard bell telling you exactly what was done. This is different from Alerts, which only notify you and don't change anything.
What does a rule's Calculation Period mean, and what's the difference between the two 7-day periods?
The Calculation Period sets the time window the rule's metrics come from. The options are: Today, Yesterday, Last 3 days including today, Last 3 days excluding today, Last 7 days including today, Last 7 days excluding today, Last 14 days excluding today and Last 30 days excluding today. The difference between including and excluding today: excluding today uses only days that have already closed (Meta's standard), while including today also adds the partial performance of the current day. For rules that need to react quickly within the day (for example, pausing for spend with no conversions today), use Today. For more stable decisions, longer periods reduce false triggers caused by swings on a single day.
What do the Execution Interval and Daily Execution Limit do in a rule?
The Execution Interval limits the time range in which the rule can act: with Any, it runs all day. With Custom, you set a start and end time (for example, 07:00 to 22:00), and outside that window the rule stays on hold. The Daily Execution Limit sets how many times per day the rule can run (from 1 to 8, or No Limit). This is useful for budget rules, to stop them from increasing the budget several times in the same day. Once the limit is reached, the rule becomes active again the next day.
Why didn't my budget rule change the budget for an ad set?
The most common reason is that the budget is set on the campaign, not on the ad set (campaigns with a centralized budget, known as CBO or Meta's Advantage Campaign Budget). In that case, the ad set has no budget of its own, so the rule has nothing to change there. The fix is to create the rule with Apply rule to set to Campaigns, so the change is made to the campaign budget. Another possibility is the budget limit set in the rule: if the new value would hit the ceiling or floor and end up equal to the current one, the rule makes no change.
Can I apply the same rule to multiple ad accounts at the same time?
Yes. The Ad Accounts field in the rule form is a multi-select with search: you can select one account, several, or leave it on All accounts (the default when nothing is selected). With All accounts, the rule evaluates and acts on all accounts of the rule's platform (Meta or Google) connected to your profile. In the rules list, each card shows the selected accounts, and at the top of the page there's an All accounts filter to view only the rules for a specific account. Team members only see rules for the accounts they have permission to access.
If I add multiple conditions to the same rule, how do they work together?
All conditions must be true at the same time for the rule to act (it works like AND, not OR). For example, with the conditions Spend Greater than 50 and Purchases Less than 1, the rule only pauses items that have already spent more than US$50 and haven't converted yet. If you want alternative behaviors (an OR), create two separate rules, one for each scenario. Conditions appear as labels on the rule card, so you can quickly check what was configured.
Can a rule reactivate campaigns it paused, or activate paused campaigns?
Yes. In the Apply rule to field, you choose the scope and status: Campaigns, Ad Sets or Ads, each either Active or Paused. To turn things back on automatically, create a rule with the Paused scope and the Activate action. For example, activate Paused Campaigns every day at 06:00, using the Once a day Frequency with a Run time. Combined with another rule that pauses at night or based on performance, you can set up an automatic on/off schedule. Just be careful with the scope: an Activate rule on Paused Campaigns without Filter by name will reactivate everything paused in the account, including what you paused on purpose.
Error: Invalid setup when creating or editing an automated rule
The automated rule was submitted with an invalid action, an empty name filter, or an ad account that isn't yours.
How to fix it:
- Choose a valid action (e.g., increase or decrease budget, set budget, pause).
- If you use a name filter, fill in the value after the operator.
- Use only your own accounts in the rule.
- Save again.