Scale a winning campaign safely
Check the store is making money, find the ad set that earns most, then raise the budget in a 20% step or copy the winner as a paused draft.
Ends with one change. Your connection setting decides: your AI makes it, asks you first, or only reads. Anything new starts paused.
Ask your AI
Using Tera Ads, check that my store made money in the last 14 days, find my best ad set this week, and raise its budget by 20%. Tell me the budget before and after.
Works in Claude, ChatGPT, Cursor, VS Code and Claude Code once Tera Ads is connected. This playbook is also built into the Tera Ads plugin for Claude Code, ChatGPT and Codex.
The tools it calls, in order
- 1.
get_profitMakes sure the store made money after returns before suggesting more spend.
{"days":14} - 2.
get_insightsThis week's ad sets, to find the one with the best cost per purchase and enough purchases to trust.
{"level":"adset","date_preset":"last_7d"} - 3.
list_campaignsFinds where the budget sits: on the campaign or on its ad sets.
{} - 4.
set_budgetRaises the budget one 20% step. One change can at most triple a budget.
{"object_id":"110000000000001","object_type":"campaign","new_budget":72}
A real run on our demo store
We ran this chain through the Tera Ads MCP server on November 23, 2026, on Tera Ads' demo store: a sample shop and ad account with made-up numbers in US dollars. These are the answers the tools gave.
The demo connection lets the AI make changes, so the change happened at once. On your store, with Ask me first, it waits in Tera Ads for your approval, and the AI can't approve it.
- Store profit, last 14 days
- $1,591
- Meta ROAS of the ad set scaled
- 3.64×
- Daily budget before
- $60.00
- Daily budget after
- $72.00
Answer 1: get_profit
{
"period": {
"from": "2026-11-09",
"to": "2026-11-22",
"days": 14,
"date_basis": "order dates, UTC, completed days only"
},
"currency": "USD",
"estimated_profit": 1591.14,
"profit_before_returns": 1691.74,
"store_sales": 7007.29,
"returned_sales": 139.76,
"net_sales": 6867.53,
"orders": 100,
"returns": 2,
"return_rate_orders_pct": 2,
"ad_spend": 1667.36,
"blended_true_roas": 4.12,
"costs": {
"margin_setting": 0.62,
"return_logistics": 18,
"shipping_packaging": 770,
"payment_fees": 199.16,
"refunds": 12.21
},
"returns_settled": false,
"source": "live",
"data_mode": "persisted_not_live",
"returns_check": {
"status": "still_coming_in",
"usual_return_rate_orders_pct": 3.9,
"usual_return_rate_value_pct": 3.9,
"based_on": {
"from": null,
"to": "2026-10-08",
"orders": 684,
"rule": "orders placed at least 45 days ago, when returns have settled"
},
"last_recorded_return": "2026-11-12"
},
"expected_returns": {
"returned_sales": 133.52,
"returns": 2,
"estimated_profit_after_expected_returns": 1494.23,
"blended_true_roas_after_expected_returns": 4.04
},
"answer_with": "expected_returns.estimated_profit_after_expected_returns",
"notes": [
"Returns for these orders are still coming in. At this store's usual rate (3.9% of sales, from orders old enough to have settled), about 134 USD more is expected back; estimated_profit_after_expected_returns includes it."
],
"by_channel": null,
"by_channel_note": "Profit by channel is coming next.",
"definition": "Estimated profit = store sales minus returned (RTO) sales, product cost at your margin setting, ad spend (Meta + Google), shipping and packaging, payment fees and refunds. Returns are booked to the date the order was placed, so recent periods can still fall as returns arrive.",
"warning": "An estimate from Tera Ads data, not cash in the bank or an accounting figure. Store sales come from your store's orders, not from what Meta or Google report."
}Answer 2: get_insights
{
"rows": [
{
"campaign_id": "110000000000001",
"campaign_name": "Best sellers | Sales",
"adset_id": "120000000000011",
"adset_name": "US women 25-54 | Gold jewelry",
"currency": "USD",
"spend": 229.91,
"impressions": 19153,
"reach": 12600,
"clicks": 319,
"ctr_percent": 1.67,
"cpc": 0.72,
"cpm": 12,
"frequency": 1.52,
"purchases": 12,
"purchase_value": 837.84,
"roas": 3.64,
"date_start": "2026-11-16",
"date_stop": "2026-11-22"
},
{
"campaign_id": "110000000000001",
"campaign_name": "Best sellers | Sales",
"adset_id": "120000000000012",
"adset_name": "Broad | US and Canada",
"currency": "USD",
"spend": 225.81,
"impressions": 16939,
"reach": 11144,
"clicks": 200,
"ctr_percent": 1.18,
"cpc": 1.13,
"cpm": 13.33,
"frequency": 1.52,
"purchases": 3,
"purchase_value": 202.13,
"roas": 0.9,
"date_start": "2026-11-16",
"date_stop": "2026-11-22"
},
{
"campaign_id": "110000000000002",
"campaign_name": "New arrivals | Advantage+",
"adset_id": "120000000000021",
"adset_name": "Advantage+ audience | US, UK, Australia",
"currency": "USD",
"spend": 272.68,
"impressions": 23154,
"reach": 15232,
"clicks": 279,
"ctr_percent": 1.2,
"cpc": 0.98,
"cpm": 11.78,
"frequency": 1.52,
"purchases": 7,
"purchase_value": 468.16,
"roas": 1.72,
"date_start": "2026-11-16",
"date_stop": "2026-11-22"
},
{
"campaign_id": "110000000000003",
"campaign_name": "Retargeting | Site visitors",
"adset_id": "120000000000031",
"adset_name": "Site visitors, 30 days",
"currency": "USD",
"spend": 68.22,
"impressions": 5879,
"reach": 3867,
"clicks": 152,
"ctr_percent": 2.59,
"cpc": 0.45,
"cpm": 11.6,
"frequency": 1.52,
"purchases": 7,
"purchase_value": 466.3,
"roas": 6.84,
"date_start": "2026-11-16",
"date_stop": "2026-11-22"
},
{
"campaign_id": "110000000000003",
"campaign_name": "Retargeting | Site visitors",
"adset_id": "120000000000032",
"adset_name": "Added to cart, 14 days",
"currency": "USD",
"spend": 42.93,
"impressions": 3401,
"reach": 2237,
"clicks": 91,
"ctr_percent": 2.68,
"cpc": 0.47,
"cpm": 12.62,
"frequency": 1.52,
"purchases": 3,
"purchase_value": 209.59,
"roas": 4.88,
"date_start": "2026-11-16",
"date_stop": "2026-11-22"
}
],
"attribution": "Meta-attributed purchases and value, not store receipts or profit"
}Answer 3: list_campaigns
{
"currency": "USD",
"campaigns": [
{
"id": "110000000000001",
"account_id": "100000000000001",
"name": "Best sellers | Sales",
"status": "ACTIVE",
"effective_status": "ACTIVE",
"objective": "OUTCOME_SALES",
"daily_budget": 6000,
"lifetime_budget": null
},
{
"id": "110000000000002",
"account_id": "100000000000001",
"name": "New arrivals | Advantage+",
"status": "ACTIVE",
"effective_status": "ACTIVE",
"objective": "OUTCOME_SALES",
"daily_budget": 4000,
"lifetime_budget": null
},
{
"id": "110000000000003",
"account_id": "100000000000001",
"name": "Retargeting | Site visitors",
"status": "ACTIVE",
"effective_status": "ACTIVE",
"objective": "OUTCOME_SALES",
"daily_budget": null,
"lifetime_budget": null
},
{
"id": "110000000000004",
"account_id": "100000000000001",
"name": "Holiday gifts 2025",
"status": "PAUSED",
"effective_status": "PAUSED",
"objective": "OUTCOME_SALES",
"daily_budget": 3000,
"lifetime_budget": null
}
]
}Answer 4: set_budget
{
"account_id": "100000000000001",
"account_name": "Demo Store ad account (sample)",
"action": "BUDGET",
"after": {
"amount": 72,
"daily_budget": 7200
},
"before": {
"amount": 60,
"daily_budget": 6000
},
"brand_id": "tera_demo_store",
"campaign_id": "110000000000001",
"confidence": null,
"currency": "USD",
"direct": true,
"evidence": [],
"object_type": "campaign",
"reason": "Your AI assistant made this change. You allowed it to make changes for this business.",
"rollback": "Undo by setting the daily budget back to 60.0 USD.",
"target_id": "110000000000001",
"target_name": "Best sellers | Sales",
"version": 1,
"warning": "This sets the daily budget of this campaign. A higher budget can spend more money; Meta may take time to adjust delivery. No sales or profit are guaranteed.",
"id": "z5dlTj_6mhcok02_FwrIoGdINrGeRV3k",
"status": "succeeded",
"content_hash": "3d798e7f0e5bff41a1c089b35699abfe02daef1eba8ec4d0664d7206a71ba067",
"created_at": "2026-11-23T07:48:51.153092+00:00",
"expires_at": "2026-11-23T08:03:51.153092+00:00",
"provider_outcome": {
"account_id": "100000000000001",
"code": "change_verified",
"daily_budget": 7200,
"status": "ACTIVE",
"target_id": "110000000000001",
"write_attempted": true
},
"done_by": "your_ai",
"changes_url": "https://teraads.co/dashboard/ads#changes"
}Run it on your own store
Connect your Meta ads and Shopify store free, then add Tera Ads to your AI with one address. You choose for each connection whether it reads only, asks you first or makes changes.
More workflows
- Profit check: Meta's ROAS next to what the store made
- Weekly ads review in two minutes
- Find and pause wasted ad spend
- Refresh a tired ad's copy
- Build a whole campaign, paused
- Returns and RTO check, month by month
- Which ages, countries and placements buy
- Size an audience before you build it
- What changed in my ads, and can I undo it
- Daily sales next to ad spend
- Map my ad account
This workflow as plain text for AI agents: https://teraads.co/workflows/scale-a-winner.md