Channel P&L
get_channel_pnlGet profit and loss per acquisition channel with orders, net revenue, CM2, CM3, ad spend, ROAS, and CAC, plus store totals and change vs the previous period.
Instructions
Profit and loss per acquisition channel (Meta, Google, TikTok, email, organic) with orders, new customers, net revenue, CM2, ad spend, CM3, AOV, ROAS, breakeven ROAS and CAC, plus store totals (MER, blended CAC) and the change vs the previous period of the same length.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_channel_pnl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date (inclusive, YYYY-MM-DD). Requires `from`. | |
| days | No | Trailing window in days, ending on the data as-of date. Ignored when from/to are given. | |
| from | No | Start date (inclusive, YYYY-MM-DD). Requires `to`. | |
| channel | No | Return a single channel. |