shopify_shop_campaign_insights
Analyze Shopify Shop channel campaign performance by retrieving ad spend and sales metrics over customizable time periods and groupings.
Instructions
Get Shop campaign performance metrics (ad spend, sales) from the shop_campaign_insights table. Covers Shop channel campaigns (e.g. Shop Pay campaigns).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Start date. Examples: 'startOfMonth(0m)', '-30d', '2026-03-01'. Defaults to start of current month. | |
| until | No | End date. Examples: 'today', '2026-03-15'. Defaults to today. | |
| interval | No | Time grouping interval (default: day) | |
| group_by | No | Dimension to group by. Use 'shop_campaign_name' to see per-campaign breakdown. Default: day. | |
| compare | No | If true, includes previous period comparison |