wafle_ads_performance_summary
Get a unified view of ad performance across Meta and wafle orders, including real CPA and ROAS, to inform optimization.
Instructions
Account-level cross-tabbed performance — joins Meta Marketing API spend/impressions/clicks with wafle CAPI orders/revenue.
Each campaign returns: spend, meta_reported_orders (from pixel), wafle_orders (server-side truth), cpa_real_cents (spend / wafle_orders), roas_real, learning_phase, plus a prev_period block for trend analysis. Use this as the input to any optimization decision — it's what the recommender feeds the LLM.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>"
},
"name": "wafle_ads_performance_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Window in days, max 90. | |
| slug | Yes | Wafle store slug, e.g. 'gamerland' or 'lensitive'. |