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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Window in days, max 90. | |
| slug | Yes | Wafle store slug, e.g. 'gamerland' or 'lensitive'. |