insights_export_csv
Export insights as CSV. export_mode='grouped' emits per-entity totals over the window; export_mode='daily' emits one row per (date, entity). Requires date_from, date_to, one scope filter (ad_account_id or product_id), and confirm_export=true. Returns an artifact_ref and authenticated download_endpoint valid for one hour (maximum 5 MiB). GET the endpoint on this server with the same tenant Bearer credential; never append credentials to URLs. Attribution: omit or value (TikTok configured window).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | ||
| date_to | No | ||
| group_by | Yes | ||
| date_from | No | ||
| product_id | No | ||
| attribution | No | ||
| export_mode | No | grouped | |
| ad_account_id | No | ||
| confirm_export | No |