---
title: "Configure and optimize campaigns with AI"
description: "Use Claude, through the OneClick Ads MCP, to run the OneClick optimization layer in natural language: configure optimizations (one or many at once), adjust cost per conversion, ROAS and budget, set the ad account monthly spend limit, turn optimizations on and off, reuse the account standard, create campaigns by replication and find active campaigns that are not optimized yet — always confirming before making changes."
---

> After you [connect an AI assistant](/en/mcp/connect-an-ai-assistant/), **Claude**
> doesn't just read your data — it also runs the **OneClick optimization layer**:
> configuring CPA/ROAS/budget, turning optimizations on and off and even creating campaigns, all
> requested in natural language.

While the [performance analysis](/en/mcp/analyze-performance-with-ai/) article covers what
Claude **reads**, this one covers what it **does** in the optimization for you. These are
**write** actions: almost all of them change the real behavior of your campaigns in the account — the
exception is marking a pending action as resolved, which only changes OneClick's record.

:::note[Structure in Meta is a different article]
Here the focus is the **OneClick optimization layer** (configuring CPA/ROAS, turning on
optimizations, creating by replication). To edit the **structure in Meta** — turning on/pausing,
changing the budget or renaming campaigns, ad sets and ads — see
[Edit campaigns, ad sets and ads with AI](/en/mcp/edit-campaigns-ad-sets-and-ads-with-ai/).
:::

:::caution[Writing changes real campaigns]
Actions such as configuring, turning on, pausing or creating campaigns have a real effect on your ad
account. Connect with **write** scope only when you are going to operate, and ask the assistant
to **confirm with you** before applying changes in bulk. You don't need to know IDs:
describe the campaign by name and Claude finds it.
:::

## Configure a campaign

You set the optimization parameters in natural language and Claude applies them. The
parameters you control are the same as in the dashboard (see
[How to Configure Campaigns](/en/optimizations/configure-campaigns/)):

- **Optimization profile** — the combination of **Pause** (Strict or Flexible) with **Scaling** (Accelerated or Conservative); the default is Flexible Pause + Conservative Scaling.
- **Cost per conversion to pause** — the CPA ceiling that protects the campaign.
- **Product sale value** — the basis for calculating ROAS/CPA in sales campaigns.
- **Minimum ROAS** — for profiles that optimize for return.
- **Maximum daily budget** — the ceiling up to which OneClick can scale.

Example: _"Claude, configure the campaign [name] with Strict Pause and Accelerated Scaling, cost per conversion
to pause of R$ 90 and maximum budget of R$ 300."_

:::tip[The robot handles the details]
Required fields (such as the sale value in sales campaigns) and technical account details
are handled by the assistant itself. If a required piece of information is missing, it
tells you instead of applying something incomplete.
:::

## Configure several campaigns at once

You don't need to repeat the action campaign by campaign. Describe the **criterion** and Claude
applies it in bulk — for example, by a tag in the name, by budget type (CBO/ABO) or with
exceptions.

- _"Claude, reconfigure all active campaigns with the tag [MX] in the name to a cost per
  conversion of R$ 5.75 and maximum budget of R$ 75."_
- _"Claude, set all sales campaigns in this account to minimum ROAS 3 and maximum budget
  of R$ 100, **except** the ones with 'CALENDLY' in the name."_
- _"Claude, use a maximum budget of R$ 500 for the CBO campaigns and R$ 250 for the ABO ones."_

The assistant processes each campaign independently and gives you back what worked and
what failed — so you can fix only what is still pending.

## Adjust a single parameter

You don't need to reconfigure everything to change just one thing.

- _"Claude, change only the cost per conversion to pause of the campaign [name] to R$ 350."_
- _"Claude, raise this campaign's maximum budget to R$ 10 thousand per day."_

:::tip[Confirm the unit]
Maximum budget is a **daily** ceiling. When you ask for a high value, confirm that it is per day —
Claude points out large jumps (e.g. 10×) for you to validate first.
:::

## Set the ad account monthly spend limit

Besides each campaign's budget, you can also ask the assistant to adjust the
[monthly spend limit](/en/optimizations/ad-account-monthly-spend-limit/)
— the ceiling that applies to the **entire ad account**, not to a specific campaign.

- _"Claude, set this account's monthly spend limit to R$ 30 thousand."_
- _"Claude, remove this account's monthly limit — leave scaling unlimited."_
- _"Claude, what is the monthly limit set on this account today?"_

:::tip[One ceiling, every campaign]
This limit is per **account**, not per campaign: it works as an overall lock that protects the
budget agreed with the client, even with several optimizations scaling at the same time.
:::

## Adjust the account defaults: profile and name suffixes

You can also ask the assistant to change the **ad account settings** — the same ones as in
the ad account settings in the dashboard:

- **Default optimization profile** — the Pause (Strict or Flexible) and Scale (Accelerated or
  Conservative) that the account's new campaigns already receive. You can change just one of the two.
- **Suffixes in campaign names** — turn on or off the record of OneClick's actions in the
  name of optimized campaigns (see the [Suffix System](/en/optimizations/suffix-system/)).

- _"Claude, what is this account's default optimization profile today?"_
- _"Claude, change this account's default to Strict Pause, keeping the scale as it is."_
- _"Claude, turn off the suffixes in this account's campaign names."_

:::note[It applies to what comes next]
Changing the account default does not alter the profile of campaigns that were already
optimized. To change a campaign's profile, ask for it on that campaign — which
[first undoes the previous profile's pauses](/en/optimizations/configure-campaigns/).
:::

## Turn on, reactivate and pause optimizations

- _"Claude, turn on the optimization for the campaign [name]."_
- _"Claude, reactivate the paused optimizations on the campaigns with the tag [A34]."_
- _"Claude, turn off the optimization for the campaign [name] for now."_

## Reuse the account standard

When you create a new campaign and want to stay consistent with the rest of the account, Claude
can **pull the values you already use** in the other active optimizations and apply the
same ones.

- _"Claude, configure these new campaigns using the same standard as the other active optimizations
  in the account."_
- _"Claude, what sale value do I usually use in this account? Apply it to the new campaigns."_

## Ask for the ideal parameters based on the account history

Instead of guessing the cost per conversion or the cutoff ROAS, ask Claude to
**analyze the account history and recommend** the values — it looks at the cost per conversion
(and the ROAS) your ads already deliver and suggests a point that cuts the expensive ones without
choking the ones that perform.

- _"Claude, analyze this account's cost per conversion history and suggest a cost per
  conversion to pause that cuts the expensive ones without pausing the ones that already convert."_
- _"Claude, what minimum ROAS makes sense for this account based on the average return over the
  last 90 days?"_
- _"Claude, recommend a maximum budget per campaign that is consistent with this account's monthly
  limit."_

:::tip[Ask for the reasoning, not just the number]
Ask the assistant to **explain** the recommendation (e.g. "I used your 75th percentile cost per
conversion") and to present a **conservative × aggressive** range. That way you decide with
context, not in the dark.
:::

## Check that a parameter won't hurt what already converts

Before applying a cost per conversion (or ROAS) cutoff to campaigns **that are already running**,
ask Claude to **validate it against current performance**: it checks whether the ceiling you have
in mind would pause ads that are already converting — preventing a new configuration from
killing your winners.

- _"Claude, before applying it, check whether a cost per conversion to pause of R$ 150
  would pause ads that already convert in campaigns [X] and [Y]. I don't want to disrupt them."_
- _"Claude, what is the lowest cost per conversion to pause I can use in this campaign without
  cutting the ad that carries its conversions?"_

:::caution[The cutoff acts on what already converts]
If your best ads run close to the ceiling you set, the cutoff may pause them. The
assistant points out this risk **before** applying and suggests a value with some headroom — especially
important in mature campaigns you don't want to shake up.
:::

## Create new campaigns

Claude also **creates campaigns** for you: replicating one of your reference campaigns and
filling it with your best ads, with a new creative sent by link (image or
video) and with the copy you define — ideal for building the
[Validated Campaigns](/en/validated-campaigns/) (formats such as **1-1-10**, **1-4-5**, **1-5-1**,
**1-6-3**) without building anything by hand.

- _"Claude, build an Andromeda Scale (1-1-10) with my 10 best ads from the last
  90 days, R$ 100/day, and upload it **paused** so I can review it."_
- _"Claude, create the campaign with this image [link] in every ad."_

The complete guide — structure, budget, choice of creatives and how to define the copy, with
ready-made prompts — is in
[Creating new campaigns with AI](/en/mcp/create-campaigns-with-ai/).

## Audit coverage and standardization of active campaigns

Two common maintenance cases: finding what is running in Ads Manager but **outside**
OneClick's control, and checking whether the optimized campaigns follow the **same standard**.

- _"Claude, list the active campaigns in Ads Manager for this account that are not yet
  optimized in OneClick."_
- _"Claude, of those, configure the conversion ones with the account standard."_
- _"Claude, is there any active campaign spending without being under OneClick?"_
- _"Claude, check whether all active campaigns (except the tracking ones) are on the same
  profile and the same cost per conversion, and show me the ones that deviate from the standard."_
- _"Claude, align the ones that are off to Strict Pause with Accelerated Scaling, cost per conversion
  of R$ 150 and maximum budget of R$ 500."_

## Follow the automation's decisions

Operating with AI also means **transparency and control**: at any moment you can ask
what the OneClick optimization did for your campaigns and why — so you can take the next
steps with peace of mind.

- _"Claude, what did OneClick do today in the campaign [name]?"_
- _"Claude, show me the optimization's action history for the campaign [name] over the last 24 hours."_
- _"Claude, is this campaign scaling or stabilized right now? What explains that?"_
- _"Claude, has the campaign [name] already reached the maximum daily budget I configured?"_
- _"Claude, which structures did the optimization pause or scale recently, and based on which metric?"_

### See what changed outside the optimization

The optimization's action history only shows what OneClick did. To also find out what was
changed **by hand** (by you or someone on your team) or **by Meta itself** in an account,
campaign, ad set or ad, ask for the change history — it shows what changed, the before and
after (budgets and bids already in the account currency) and who made the change. Changes
made by OneClick itself don't appear here, so the history above is not duplicated. You can
look back up to 90 days, and the campaign doesn't need an active optimization.

- _"Claude, what was changed manually in the campaign [name] over the last 7 days?"_
- _"Claude, did this campaign's budget change? Who changed it, and from what to what?"_
- _"Claude, did Meta change anything in this account this week?"_

### Keep the status marker in the name

An active optimization shows up in the campaign name with the marker **🤖 [OneClick ON]** (and
**🤖 [OneClick OFF]** when it is turned off). This text is customizable — see
[Customizing the Optimization Tag](/en/optimizations/customize-the-optimization-tag/). If
it gets lost in a manual edit of the name, ask the AI to restore it:

- _"Claude, reapply the 🤖 [OneClick ON] marker to the campaigns that have an active optimization and are active in Meta."_
- _"Claude, which active campaigns have the optimization on but no status marker in the name? Fix them while keeping the rest of the name."_

## Let OneClick know you resolved a pending action

When Meta requires an action from you to unblock an optimization — accepting terms of use,
replacing a removed ad asset, sorting out a payment —, OneClick Ads stops
trying that change and lists the pending action (see
[what is blocking the optimizations right now](/en/mcp/analyze-performance-with-ai/)). It only
removes it from the list when it **notices on its own** that the block is gone, which may take until the
next time the optimization tries that action.

If you have already resolved it on Meta's side and don't want to wait, just say so:

- _"Claude, I've already accepted the page's registration terms. Mark that pending action as resolved."_
- _"Claude, I sorted out the account's payment and reconnected Meta. Mark both pending actions as resolved."_
- _"Claude, list what is pending and mark as resolved everything I've already fixed."_

Claude marks as many pending actions as you indicate at once, and from then on OneClick goes back
to trying the changes that were on hold. One by one, you can also do this in the
dashboard, under **Pending actions** — see
[Ad account access and status](/en/meta/ad-account-access-and-status/#already-resolved-it-let-us-know).

:::tip[Marking is not fixing]
Marking as resolved only tells OneClick to try again — it **takes your word for it**,
it does not check with Meta. If the block had not really been resolved, the next attempt
runs into the same problem and the pending action goes back on the list. Nothing is lost: you will just see it
reappear.
:::

## Stop the reminders for a pending action you won't resolve now

If a pending action can't (or isn't worth it to) be resolved now, you can tell Claude
that you **are aware** of it. The daily reminders for that pending action stop, but it **remains active**
and keeps blocking the same changes — nothing starts working again because of it.

- _"Claude, I'm aware of the pending action for the page [name]. Stop reminding me about it."_
- _"Claude, start notifying me about that pending action again."_

Don't confuse this with marking it as resolved: **resolved** says "I fixed it" and makes OneClick
try again; **aware** says "I know, and I'll live with it for now".

## Best practices when operating through AI

- **Start by reading, operate later.** Validate the data with analysis questions before
  asking for changes.
- **Ask for confirmation in bulk.** Before applying to many campaigns, ask for a summary of what
  will be changed.
- **Prefer 'paused' when creating.** Review in Ads Manager before turning it on.
- **Describe by name.** You never need IDs — a name, tag or criterion is enough.
