Skip to content

Profit check: Meta's ROAS next to what the store made

Ask your AI what your Meta ads really made: store sales, returns, product cost, shipping, fees and ad spend, next to what Meta attributes to your ads.

Reads only: your AI looks, and changes nothing.

Ask your AI

Using Tera Ads, what was my profit after returns in the last 30 days, and how does it compare with what Meta says my ads brought in?

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. 1.get_business_status

    Checks that the store and the ad account are connected, so profit can be worked out.

    {}
  2. 2.get_profit

    Profit after returns for the last 30 completed days, built from the store's own orders.

    {"days":30}
  3. 3.get_insights

    What Meta attributes to the ads over the same 30 days, for the side-by-side.

    {"level":"account","date_preset":"last_30d"}
  4. 4.get_rto

    Returns month by month, because cash-on-delivery refusals arrive weeks after the sale.

    {"months":6}

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.

Estimated profit after returns
$3,337
Store sales
$15,693
Return on ad spend after returns
4.15×
Meta's reported ROAS
2.23×
Answer 1: get_business_status
{
  "brand_id": "tera_demo_store",
  "platforms": [
    {
      "platform": "meta",
      "status": "active",
      "last_validated_at": "2026-11-23T07:05:00+00:00"
    },
    {
      "platform": "shopify",
      "status": "active",
      "last_validated_at": "2026-11-23T07:05:00+00:00"
    }
  ],
  "profit_status": "unverified",
  "data_mode": "persisted_not_live"
}
Answer 2: get_profit
{
  "period": {
    "from": "2026-10-24",
    "to": "2026-11-22",
    "days": 30,
    "date_basis": "order dates, UTC, completed days only"
  },
  "currency": "USD",
  "estimated_profit": 3336.6,
  "profit_before_returns": 3828.79,
  "store_sales": 15693.15,
  "returned_sales": 680.52,
  "net_sales": 15012.63,
  "orders": 228,
  "returns": 10,
  "return_rate_orders_pct": 4.4,
  "ad_spend": 3614.97,
  "blended_true_roas": 4.15,
  "costs": {
    "margin_setting": 0.62,
    "return_logistics": 90,
    "shipping_packaging": 1755.6,
    "payment_fees": 435.37,
    "refunds": 75.29
  },
  "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": null,
  "answer_with": "estimated_profit",
  "notes": [],
  "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 3: get_insights
{
  "rows": [
    {
      "currency": "USD",
      "spend": 3614.97,
      "impressions": 304623,
      "reach": 105042,
      "clicks": 4562,
      "ctr_percent": 1.5,
      "cpc": 0.79,
      "cpm": 11.87,
      "frequency": 2.9,
      "purchases": 118,
      "purchase_value": 8059.19,
      "roas": 2.23,
      "date_start": "2026-10-24",
      "date_stop": "2026-11-22"
    }
  ],
  "attribution": "Meta-attributed purchases and value, not store receipts or profit"
}
Answer 4: get_rto
{
  "months": [
    {
      "label": "November 2026",
      "start": "2026-11-01",
      "end": "2026-11-30",
      "matured": false,
      "gross_revenue": 11683.99,
      "rto_revenue": 337.23,
      "net_revenue": 11346.76,
      "order_count": 169,
      "rto_count": 5,
      "rto_rate_orders": 3,
      "rto_rate_value": 2.9,
      "ad_spend": 2677.94,
      "true_net_profit": 2627.79,
      "naive_net_profit": 2872.09
    },
    {
      "label": "October 2026",
      "start": "2026-10-01",
      "end": "2026-10-31",
      "matured": false,
      "gross_revenue": 15359.82,
      "rto_revenue": 830.33,
      "net_revenue": 14529.49,
      "order_count": 225,
      "rto_count": 12,
      "rto_rate_orders": 5.3,
      "rto_rate_value": 5.4,
      "ad_spend": 3703.31,
      "true_net_profit": 2988.1,
      "naive_net_profit": 3586.82
    },
    {
      "label": "September 2026",
      "start": "2026-09-01",
      "end": "2026-09-30",
      "matured": true,
      "gross_revenue": 15890.29,
      "rto_revenue": 601.45,
      "net_revenue": 15288.84,
      "order_count": 234,
      "rto_count": 9,
      "rto_rate_orders": 3.8,
      "rto_rate_value": 3.8,
      "ad_spend": 3508.55,
      "true_net_profit": 3563.02,
      "naive_net_profit": 3999.48
    },
    {
      "label": "August 2026",
      "start": "2026-08-01",
      "end": "2026-08-31",
      "matured": true,
      "gross_revenue": 15823.7,
      "rto_revenue": 726.46,
      "net_revenue": 15097.24,
      "order_count": 234,
      "rto_count": 11,
      "rto_rate_orders": 4.7,
      "rto_rate_value": 4.6,
      "ad_spend": 3734.38,
      "true_net_profit": 3190.48,
      "naive_net_profit": 3718.82
    },
    {
      "label": "July 2026",
      "start": "2026-07-01",
      "end": "2026-07-31",
      "matured": true,
      "gross_revenue": 15880.86,
      "rto_revenue": 476.46,
      "net_revenue": 15404.4,
      "order_count": 233,
      "rto_count": 7,
      "rto_rate_orders": 3,
      "rto_rate_value": 3,
      "ad_spend": 3612.74,
      "true_net_profit": 3562.37,
      "naive_net_profit": 3906.96
    },
    {
      "label": "June 2026",
      "start": "2026-06-01",
      "end": "2026-06-30",
      "matured": true,
      "gross_revenue": 15245.31,
      "rto_revenue": 633,
      "net_revenue": 14612.31,
      "order_count": 223,
      "rto_count": 9,
      "rto_rate_orders": 4,
      "rto_rate_value": 4.2,
      "ad_spend": 3552.17,
      "true_net_profit": 3215.51,
      "naive_net_profit": 3670.61
    }
  ],
  "currency": "USD",
  "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.",
  "returns_check": {
    "status": "ok",
    "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"
  },
  "notes": [],
  "maturity": "Months whose last day is under 45 days old are still settling (matured=false).",
  "data_mode": "persisted_not_live"
}

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

This workflow as plain text for AI agents: https://teraads.co/workflows/profit-check.md