get_campaign_stats
Retrieve performance metrics for your Interaction Studio campaigns including impressions, clicks, goals, orders, and revenue. Use campaign ID to get stats for specified time periods.
Instructions
Get performance stats for an Interaction Studio campaign: impressions, clicks, goals, orders, and revenue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset | No | Dataset name. Optional if IS_DEFAULT_DATASET is configured. | |
| time_range | No | pastDay, pastWeek (default), pastMonth, pastQuarter, Today, or YYYY-MM-DD..YYYY-MM-DD | |
| campaign_id | Yes | Campaign id from list_campaigns |