Automation and AI
Create an AI optimization
Let AI spread the budget across campaigns, scale the ones that sell and slow the ones that do not pay back, within the limits you set.
Quick answer
Open AI Optimization and click New optimization. Pick the platform and a ready-made template (or Advanced setup), the account and how much you want to spend per week. The form opens filled in, with scaling already on: check the campaigns, click Create optimization, review the summary, tick the acknowledgment and click Turn on now.
Watch the walkthrough 0:51
Video page: AI Optimization
Before you start
- AI Optimization is part of the Business, Scale and Enterprise plans. Each plan includes a number of ad accounts with the AI on at the same time, and several optimizations on the same account count as one. Check yours in My Subscription.
- Know how much you want to spend per week and, if the account sells, the max CPA (how much you can pay per sale without a loss): it is the yardstick for every decision.
- AI respects the limits you set and records each decision with its reason.
Step by step
In this example, we create the optimization for the sales campaigns of a restaurant.
- 1
Open AI Optimization
In the side menu, click AI Optimization. At the top are the Overview of every optimization and the What the AI returned panel, with what AI saved and reallocated. Click New optimization.
123- 1New optimization
- 2Overview
- 3What the AI returned
- 2
Pick the platform
Choose Meta Ads (budget, scaling and Bid Cap) or Google Ads (Search, PMax, Display and Demand Gen).
12- 1Meta Ads
- 2Google Ads
- 3
Pick a template and the weekly budget
Choose the Ad account and a template: Sales, Leads, Messages (WhatsApp and Direct) or Whole account. When the account already runs campaigns of one kind, the right template comes selected. Each card says what the template turns on. Enter how much you want to spend per week (when spend reaches it, AI pauses the campaigns until the week turns over) and, for Sales, the max CPA (what you can pay per sale without a loss). Want to set everything by hand, Bid Cap included? Choose Advanced setup. Click Continue. What bid cap and cost cap mean, and when to use each, is in the bid cap and cost cap guide.
- 4
Type, name and account
The form opens filled in by the template. Under Type and account, check the name and the Ad account and pick the campaigns, or keep Whole account (autopilot) for AI to handle every active one.
123- 1Optimization type
- 2Name
- 3Ad account
- 5
Set the budget and the max CPA
Under Budget, the weekly minimum and maximum come from the budget you entered: the maximum is the ceiling and the minimum is half of it. With scaling, duplication or audience tests turned on, the weekly (or monthly) maximum is required: it is the ceiling the AI respects when raising the budget. Under When the cap is reached, Pause the campaigns (the default) pauses everything until the period turns over and AI never goes over the cap; Keep each campaign at the minimum budget (the one older optimizations use) leaves each campaign at the minimum daily budget (by default, 20 in the ad account currency) until the period turns over, so spend can go slightly over. Under Break-even max CPA, check the max cost per sale or lead. When CPA goes above it, AI cuts the budget on its own. In a sales optimization with scaling on, the max CPA is required: what you can pay per sale without a loss. Each field has an ⓘ with the explanation.
123- 1Weekly minimum
- 2Weekly maximum
- 3Max CPA
- 6
Turn on scaling
Under Optimization, Auto-scale by performance comes on, at the Conservative pace for the first optimization of the account and Moderate after that. Duplicating ad sets and testing audiences come off: turn them on only if you want that new spend. Weekly distribution and advanced options come next, already filled in.
123- 1Auto-scale by performance
- 2Scaling pace
- 3Scaling throughout the day
- 7
Create the optimization
Review it and click Create optimization.
1- 1Create optimization
- 8
Review before turning on
Before turning it on, the screen shows the account, the campaigns, the weekly budget and what AI can do on its own, including what happens when the cap is reached. Tick I understand the AI Optimization will change real budgets in this account within these limits and click Turn on now: it starts checking the campaigns on the next round. Without the acknowledgment, Save paused keeps everything without changing anything. If no action is on, the screen warns that AI will only watch.
Want to start from a template?
The templates (Sales, Leads, Messages and Whole account) show up every time you click New optimization, and on the empty page too. All of them start with safe limits: scaling on, the weekly cap you entered, no ad set duplication and no audience tests.
How to tell it worked
- The optimization shows up in the list with the switch on and the Active label. If you chose Save paused, it stays off until you turn it on with the switch (the summary and the acknowledgment show up again).
- Each change AI makes shows up in View History, with the reason. See the What AI did and why guide.
- When AI holds back a raise, the card shows Why I did not raise: one sentence per campaign with what held it in the last cycle (Meta learning, few results in the week, weekly ceiling, daily pace, bid at the cap, suspicious measurement, bottleneck outside the campaign, fatigued creative) and the numbers that decided it, for example: cost of US$48 with 6 sales; in the worst case (90%) US$99, maximum US$60.
- One Why I did not raise sentence deserves a word. When your sales integration counts more purchases than the Meta pixel saw, AI may hold the raise until both sources agree, and the sentence shows both numbers, for example: By real sales (UTM) there were 9 purchases this week, but the Meta pixel saw 4. Nothing is wrong with the account. And when a campaign has 1 to 6 results in the week at a cost well above your maximum, the history shows the math behind the decision, for example: With 3 sales this week at US$180 (your maximum is US$60), even in the most favorable scenario the cost stays above US$90.
- With no max CPA, AI uses the account average (the median cost per result over the last 90 days) as the target. Only when the account does not have that history yet (7 days with results and 10 results), AI in a campaign optimization just protects the budget and, in Whole account, protects it and moves it between campaigns, without scaling. In that case the card shows the warning with the Add it now button.
- Some new rules first show up as simulated in the history, without touching the account.
- Every Monday at 8am the Weekly summary arrives by email and on the card: spend against the ceiling, cost against the target, results against the previous week, the three most important decisions and the What depends on you box, with the Copy for the client button. A week with no action and no bottleneck sends no email, and you can turn the email off on the card itself.
- Once there are enough decisions compared with the rest of the account, the card shows the AI hit rate, for example: of the 41 raises this month, 29 kept the cost; of the 12 cuts, 9 were needed (the cost stayed above the target in the 3 days after).
- On peak retail dates (Black Friday, Christmas and Mother's Day) AI knows CPM goes up and purchases arrive late: CPM up to twice the usual does not cut the budget, and the cut for no sales waits 25% longer. At Christmas this applies the whole month for online stores, retail, fashion and local businesses; for digital products, services and launches, only in the last 10 days. On New Year and Carnival conversion drops together with CPM, so none of this is relaxed. For 3 days after each date it does not raise the budget. The history says, for example: Black Friday week: CPM went up 70%, which is normal this week. I did not reduce because of it.
- In the days around Black Friday AI enters brake mode: it does not cut for a high CPM and does not scale on its own, because automatic raises stay in conservative mode. The card and Review before turning on tell you when the brake is on. To scale that week, raise the weekly cap or use the curve plan in Whole account. The brake also holds the curve when WhatsApp stops receiving conversations or checkout stops converting, and lets go as soon as the number is back.
- When the bottleneck of the week points to the promise or the page, the card shows what the ad promises next to what the page opens with, and both prices when they do not match. The Compare ad and page button runs this comparison right away and uses AI credits. The comparison never changes the budget.
- With sales recorded and the max CPA set, the card shows Profit today (estimated) and the sum of the last 7 days. With the sales integration, when Meta sees only part of the sales, the card says so (Meta sees 68% of your sales) and AI uses the real sales to decide cuts.
- For a launch, pick the phase in Launch mode: with the cart open AI may raise every 12 hours up to the phase cap (the raises apply after you set the phase cap and authorize them; until then they are only recorded) and does not use the lead capture cost to cut; with the cart closed it does not raise the budget.
- The card Creative brief also warns when an ad became fatigued and needs replacing, shows whether the brief became an ad and how the new one hooks against the winner, and has the Generate scripts with AI button (uses AI credits, only when you click).
If something goes wrong
| Symptom | Likely cause | What to do |
|---|---|---|
| The account does not show up in the list | It is not turned on in Connect Meta or Connect Google | Turn the account on in the connection screen and open the form again |
| AI did not raise the budget | CPA is above the max, the weekly ceiling was reached or the campaign is in learning | Open Why I did not raise on the card: each campaign sentence says what held it. The detail of each decision is in View History |
| The switch opens a screen asking for confirmation | It is the first time this optimization is turned on (or the assistant created it, and it always creates paused). It applies to Meta and Google | Review the limits, tick the acknowledgment and click Turn on now |
| The Google card shows Stopped | Google refused the last attempt (expired connection or no access to the account) | Click Reconnect Google Ads on the card itself. AI comes back on the next cycle |
| I turned the optimization off and the campaigns are still paused | The weekly (or monthly) cap had paused the campaigns | When you turn it off, AI resumes what the cap paused on its own. If Meta refuses, the card and the bell say how many are left: turn them on in Ads Manager, or AI tries again at midnight |
| When turning it on, it says all spots are taken | AI Optimization has the maximum number of accounts on right now | Save the optimization paused and talk to support: we let you know when a spot opens |
| The daily budget is higher than the weekly one divided by 7 | Meta delivery fell behind the pace and AI applied a temporary boost | That is expected. The weekly limit still applies, and the card shows spend against it |
Frequently asked questions
How do I create an AI optimization step by step?
On the AI Optimization page, click New Optimization and pick the platform. The selection step opens: choose the Ad Account and a ready-made template (Sales, Leads, Messages or Whole account) or Advanced setup, which builds it from scratch with every option, Bid Cap included. When the account already runs campaigns of one kind, the right template comes selected. Enter how much you want to spend per week (when spend reaches it, the AI pauses the campaigns until the week turns over, which is the default of the When the cap is reached field, and it tries to spend at least half) and, for Sales, the Max CPA or the average ticket and the contribution margin (price minus the product cost, shipping, fees and tax, divided by the price). Click Continue: the five-step form opens filled in, with Performance Auto-Scale on (Conservative pace for the first optimization of the account, Moderate after that), without Horizontal Scaling and without New Audiences. Pick the campaigns (or keep Whole Account), review and click Create optimization. Before turning it on, the Review before turning on screen shows the account, the campaigns, the budget, what the AI can do on its own and what happens when the cap is reached: tick the acknowledgment and click Turn on now, or use Save paused to keep it without changing anything.
What is AI Optimization and what does it do for my campaigns?
AI Optimization helps allocate budget, expand strong-performing campaigns, and reduce exposure when results deteriorate, within the limits you configure. Options are available for budget optimization and compatible bidding strategies.
Evaluations run automatically, and every decision is recorded in history with its reason and available review options. When a sales integration is connected, that information can also enrich the analysis.
What is the Break-even max CPA field for, and why should I fill it in?
Break-even max CPA is the most you can pay per sale or lead without losing money, taking into account product margin, gateway fees, and taxes. When the campaigns' actual CPA goes above this value, the system lowers the budget on its own to stop the loss. It also becomes the main reference for Auto-Scale (instead of generic averages), for evaluating the copies created by Horizontal Scaling, and for promoting New Audience tests. The field is optional (if left blank, the AI uses the account average, the median cost over the last 90 days), but strongly recommended: with it, the AI knows exactly where profit ends and loss begins in your business. It appears as a CPA BE badge on the optimization card.
What is the AI Earnings panel and how does it calculate values?
This is the panel at the top of the page. It shows in money what the AI did for you: Saved on bad campaigns (budget that stopped being wasted), Reallocated to good ones, ROAS before and after, and the total AI Actions in the period. The comparison uses the 4 weeks before and after the AI took over the account, based on your real sales recorded by your integrations. The panel only appears once there is enough history of actions and measurements, so newly set up accounts won't see it until they gather data. Besides the panel, on the 1st of each month you receive an email summarizing the value generated in the previous month.
How does Auto-Scale by Performance work and what do the Conservative, Moderate and Aggressive presets change?
Performance Auto-Scale adjusts budget when a campaign shows consistent performance. The Conservative, Moderate, and Aggressive presets change the speed and intensity of adjustments.
Ads Editor considers results, cost, trends, and fatigue signals before increasing or reducing spend. You can also set a minimum interval between changes and review the reason for every decision in history. Start with Conservative when you want to observe behavior before accelerating.
How does Scale Throughout the Day work (increasing the budget by time of day)?
Scale Throughout the Day sets the percentage of the daily budget that applies in each time slot, and the system adjusts automatically every hour. Ready-made presets are available: Morning Peak, Night Peak, and Gradual. You can also build your own schedule with the + Add time button. Before the first time slot you set, the campaign runs at 30% of the budget (or at the lowest percentage you set, if that's lower). This keeps Meta from spending the whole budget before your peak time. A visual timeline in the form shows the resulting budget curve across the day.
What is the difference between choosing specific campaigns and activating Entire Account (Autopilot) mode?
With specific campaigns, you manually select which campaigns are included in the optimization, and only those are managed. In Entire Account mode (Autopilot), the system automatically manages all active campaigns in the account. It analyzes available performance data, distributes the budget between them, scales the best ones, and reduces the worst ones. New campaigns you activate are managed too, with no need to edit anything. If you want to leave some out, use the Ignored Campaigns field that appears when you select Entire Account. The AI doesn't touch campaigns selected there. The optimization card shows the Entire Account badge and the number of ignored campaigns. In both modes, the weekly budget you set remains the main limit.
What is the difference between Fixed and Smart Budget Mode?
In Fixed mode, the AI follows the day-of-week distribution you configured. In Smart mode, it may also reallocate budget between campaigns based on performance, always within your configured limits.
Smart mode uses safeguards to avoid abrupt increases and reduce exposure when costs deteriorate. Choose the mode under Budget Mode in the Budget step and review decisions in history.
Does the AI change budgets overnight?
Not for increases. No budget increase happens between midnight and 6am or at 11pm, in the time zone where your audience is. That time is measured by Meta and isn't always Brasília time (UTC-3); until there is a measurement, Brasília time applies.
During the day, AI starts raising between 6am and 10am and stops by 10pm at the latest, based on the hours when your audience converts. Reductions, pauses and the weekly or monthly limit locks apply at any time. If you set a Minimum hours in Conditions to scale, that is respected too.
Does Google AI Optimization affect demographics (gender, age, income)?
Yes. Under AI Optimization → Google, Ads Editor can analyze gender, age range, household income, and parental status by ad group.
Recommendations may include excluding an underperforming segment or adjusting bids for eligible segments. Ads Editor considers data volume and conversions before recommending a change, does not exclude the Unknown group, and respects the campaign's bidding strategy.
Changes appear as suggestions for approval unless you enable the corresponding automation. Every action is recorded in history and can be undone.
Does AI Optimization work in Google Ads? What does it do there?
Yes. In AI Optimization, choose Google Ads when creating an optimization. Set goals, targets, and budget limits, then review suggestions, approvals, and actions in history.
Optimization can help with budget allocation, pacing, search terms, keywords, audiences, locations, devices, schedules, and bids when the campaign strategy supports them. It may also suggest a Performance Max campaign when enough data is available.
Actions follow your configured limits and can be reviewed or undone. You remain in control of approvals for decisions that exclude traffic or create a campaign.
Does AI Optimization suggest creating a Performance Max (PMax) campaign?
Yes. Google AI Optimization may suggest a Performance Max campaign alongside Search when the account has sufficient history, reliable conversions, and a suitable budget.
When there is not enough data yet, the card explains why. When the suggestion is available, Review and create PMax opens campaign creation with an initial setup for you to review. You choose the visual assets and confirm; nothing is created automatically.
How do I set up Smart Bid Cap in Ads Editor?
This article shows how to turn on Smart Bid Cap inside Ads Editor. To understand the bid cap and cost cap concepts in Meta, when to use each and how they differ, read the blog article: https://adseditor.app/blog/bid-cap-cost-cap-meta-ads
Smart Bid Cap is an AI Optimization type: it sets and adjusts the maximum bid of your ad sets on its own, based on actual CPA and spend rate.
How to set it up:
- In the side menu, click AI Optimization and then New optimization.
- Choose Meta Ads as the platform.
- Pick the ad account and click Advanced setup. In the form, choose the Smart Bid Cap type, give it a name and pick the campaigns.
- In Definition Mode, choose Manual (you enter the maximum bid) or Calculator, which works out the cap as average order value times Margin times Aggressiveness: Conservative uses 50% of breakeven, Moderate 65% and Aggressive 80%. The screen shows a preview of the calculated value.
- Turn on auto-adjust if you want Ads Editor to correct the cap on its own, and save.
What auto-adjust does:
- Bid above your max CPA: it goes down to the max CPA, which is the bid ceiling.
- Today's CPA well below the bid while the ad set is spending well: the bid goes down to save money.
- 7-day CPA above the max CPA, with 5 or more conversions: the bid goes down (this rule may first show up as simulated in the history).
- Ad set barely spending (underspend): the bid only goes up with a max CPA set, at least 3 conversions in 7 days and a comfortable 7-day CPA (up to 85% of the maximum), and it never goes above the max CPA.
Limits: each adjustment follows the Max Adjustment you choose (5%, 10% or 15%), the bid never goes below 30% of the max CPA (or the minimum of 1 in the account currency), and each ad set waits 24 hours between adjustments. Bid Cap optimizations don’t use weekly distribution by day.
Full AI Optimization walkthrough with screenshots: https://help.adseditor.app/help/create-an-ai-optimization
How do I set up AI Optimization?
AI Optimization is available on eligible plans. If you're on an eligible plan and the option doesn't appear in the menu, contact support.
To set it up:
- Open AI Optimization, click New Optimization and pick the platform.
- Choose the ad account and a ready-made template (Sales, Leads, Messages or Whole account) or Advanced setup.
- Enter how much you want to spend per week and, for Sales, the max CPA or the average ticket and margin.
- Pick the campaigns (or keep the whole account), review and click Create optimization.
- On the Review before turning on screen, tick the acknowledgment and click Turn on now, or use Save paused.
Then follow the decisions in View history. The full walkthrough is in the question "How do I create an AI optimization step by step?".
How do I let Google AI Optimization do the bid adjustment itself?
In Google optimization, select Automatic mode and enable Automatic percentage bid adjustments. For age, gender, income, and parental status, use the dedicated demographics option.
When these options are off, each adjustment arrives as a suggestion for approval or rejection. Device, day, time, or location exclusions still require approval. Ads Editor applies data-volume, interval, and learning safeguards, records every change in history, and lets you undo it.
How does the Weekly Distribution in percentages work and what do the presets do?
The Weekly Distribution sets what percentage of the week's budget goes to each day, and the total must add up to 100% (the counter turns green when it does). The ready-made presets are: Uniform (same weight every day), Gradual (grows through the week, peaking at 25% on Friday and Saturday), Weekend (concentrates 30% on Saturday and 25% on Friday), and Weekdays (18% from Monday to Friday and 5% on the weekend). You can also type the percentages manually for each day. In Entire Account mode, the distribution only applies if you customize it. Otherwise, the system analyzes the last 30 days of performance and distributes the budget automatically by day of the week and by campaign. Bid Cap optimizations don't use weekly distribution.
How does Horizontal Scaling automatically duplicate campaigns and ad sets?
Horizontal Scaling is available in the Advanced step. When an eligible campaign reaches its budget-growth limit, Ads Editor can duplicate a strong-performing structure to test additional capacity without concentrating all spend in the original item.
You set the initial budget, maximum number of copies, and whether full campaigns may also be duplicated. Copies are monitored and may be paused when they do not deliver the expected result. Every duplication appears in history.
How does segment bid adjustment work in Google AI Optimization (age, gender, device, day, audience, and location)?
Google AI Optimization can raise or lower bids for segments such as age, gender, device, day of week, audience, and location. It compares the segment with the rest of the campaign or ad group and recommends changes only when enough data is available.
Percentage adjustments are used only with compatible bidding strategies. Stronger exclusions always appear as suggestions for approval. Each action shows the before and after values in history and can be undone.
How do weekly and monthly budgets work? If I fill in both, which one counts?
The weekly budget is always the priority. The AI calculates each day's budget from what remains of the weekly limit, divided by the remaining days that have a percentage in the distribution. The monthly budget is optional and works as a second-priority ceiling: it never increases spend, it only cuts when the month's total gets close to the limit. For the weekly budget, the Minimum is the guaranteed floor even in bad weeks, and the Maximum is the ceiling the AI can reach when performance is excellent. When the weekly or monthly cap is reached, the optimization does what you chose under When the cap is reached: Pause the campaigns until the turnover (recommended and the default for new optimizations; they resume on their own on Monday or on the 1st) or Keep each campaign at the minimum budget (in that mode spend can go a little over the cap). So if you fill in the monthly field, review it: a forgotten value there can cut your spend sooner than you expect.
How do automatic New Audience tests work?
When you enable New Audiences in the Advanced step, Ads Editor creates tests using the audience types you allow, such as Remarketing, Lookalikes, Interests, and Advantage+.
You control the test budget, duration, and number of simultaneous tests. Strong-performing audiences may be promoted, while tests that miss the target are paused. This keeps the main budget separate from the amount reserved for experimentation.
What happens if I put in 0% on a distribution day?
A day with 0% is treated as a no-spend day. On that day, the AI sets all managed campaigns to the minimum daily budget and doesn't scale anything. The system prefers reducing to the minimum over pausing, because pausing and reactivating campaigns every day resets Meta's learning phase and hurts performance. Important: since the campaigns stay active at the minimum, Meta may still spend that small amount. You can't bring a day's spend to exactly zero without pausing the campaigns manually. If you want zero spend on a given day, pause the campaigns yourself on that day.
What does the Ads with bad metrics option do?
This option, in the Advanced step, sets what the AI does when it detects an ad with poor performance signals. There are three modes: Notify only (recommended and default), where you get an alert and decide what to do; Pause automatically, where the system pauses the problem ad itself; and Disabled, where nothing happens. Automatic pausing goes through a test phase before it applies: meanwhile, the history shows what the AI would pause, marked as simulated, without pausing anything. Alerts and pauses are recorded in the optimization history, under the Alerts filter. If you prefer to keep full control over your creatives, leave it on Notify only.
What does the Overview panel at the top of the optimizations page show?
The Overview is a summary of all your optimizations, with a period of Last 7 days, Last 14 days, or Last 30 days. It shows Total spend, blended MER (overall return on spend, calculated with real sales when you have a sales integration connected, or with pixel ROAS when you don't; with no sales recorded, this card doesn't appear), Results with the average CPA, and how many optimizations are healthy out of the total active.
Below the numbers, it highlights the Top performer and the Worst performer among your optimizations, compared by ROAS when there's revenue and by cost per result when there isn't. Highlights only appear when an optimization has spend above 50 in the ad account currency in the period. Below that, there isn't enough data. Next comes the What the AI returned panel, which compares the 4 weeks before and after the AI took over.
What do the Minimum results to scale field and the Conditions to Scale do?
Minimum results to scale sets how many results the campaign needs to have that day before the AI allows any budget increase (the default is 3). In Conditions to Scale, you can add a Minimum time, so increases only happen after a certain hour of the day. The Operator sets how the two conditions combine: AND requires both at once (X results AND after the set time), while OR accepts either one. These safeguards keep the AI from scaling too early on immature data from the day. Both conditions appear as badges on the optimization card.
Why isn't Google AI Optimization suggesting a % bid adjustment for my campaign?
This usually happens because of the bidding strategy, insufficient data volume, or the learning phase. Some automated Google strategies do not accept manual percentage adjustments, so AI Optimization does not suggest a change that would have no effect.
When percentage adjustments are not supported, Ads Editor may suggest another action, such as excluding a segment when there is enough evidence. To use percentage adjustments, choose a compatible strategy and allow enough data to accumulate for evaluation.
I got a notice that the weekly limit is close. What is the option Warn me when it is worth raising the cap?
When the week's spend reaches 80% of the maximum weekly budget, you get a notification (at most one every 12 hours, so it doesn't bother you). With the Warn me when it is worth raising the cap option on, in the Budget step, that notice also suggests raising the cap when the account's return is among the best in its own history.
AI never spends above the cap: you decide whether to raise it, by editing the weekly maximum. When the cap is reached, the optimization does what you chose under When the cap is reached: Pause the campaigns until the week (or month) resets, which is recommended and the default for new optimizations, or Keep each campaign at the minimum budget, where spend can go a little over the cap until the turnover.
Ad accounts don't appear when I create an optimization. What do I do?
The account list can take up to 1 minute to load the first time, because the system fetches all your accounts directly from Meta. While that happens, the field shows Loading accounts and fills in automatically as soon as the search finishes, even if the form is already open. You don't need to close or reload it. If the first response comes back empty, the system retries on its own. Optimizations you've already created don't depend on this and load instantly on the page. Use the Search account field to filter when the list is long. If the accounts still don't appear after waiting, check in Connect Meta that the connection is active, and click Re-sync accounts if needed.