Kampagnen und bezahlte Ergebnisse lesen
get_campaign_performanceRead tenant-bound channel/campaign period spend, inquiries, first offers sent, distinct paid bookings, gross succeeded primary receipts, CPA, ROAS and known/total attribution coverage. Requires marketing:read AND accounting:read. from inclusive/until exclusive are tenant calendar dates YYYY-MM-DD using confirmed business-hours timezone; default last 30 completed days, max 366 days. until may include today by naming tomorrow; actual until is clipped to observedAt, partialDay=true and daily provider spend/ratios stay null. No hardcoded timezone. Existing first-touch → inquiry → reservation → primary payment links; older inquiries may have payments in this period. UTM names and click IDs never guess Ads campaign/account links. Provider conversions never count as paid bookings. Missing spend/zero denominator/mixed currencies yield null; capture/test exclusion remains not_attested. Complete bounded provider pagination, aligned provider dates, source caps 2000/8 connections/20 pages fail closed. Unattributed row and existing Settings next steps included. Read-only; no new ledger or provider writes. POST /api/v1/tenant/read/get_campaign_performance.
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_campaign_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | ||
| until | No | ||
| groupBy | No | channel |