insights_query_overview
Aggregated insight rows for the authenticated tenant, paginated and sortable. Cache-only read from tiktok_insights_daily — call insights_pull_insights first if data is stale. This legacy common-wire surface maps adset to TikTok's native ad group role.
Attribution: omit or use value (TikTok configured window); custom 1d/7d windows are unsupported. Daily mode returns all day rows in items. result/cost_per_result are separate from conversions/CPA. Metadata describes the latest row within the requested period.
REQUIRED: group_by ∈ {account, campaign, adset, ad}, date_from, date_to, and one scope filter (ad_account_id or product_id). DATE PARAMS: use date_from / date_to (NOT start_date / end_date). EXAMPLE: insights_query_overview({"group_by": "account", "ad_account_id": "", "date_from": "2026-04-23", "date_to": "2026-04-29"})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| search | No | ||
| date_to | No | ||
| group_by | Yes | ||
| sort_dir | No | desc | |
| sort_key | No | spend | |
| date_from | No | ||
| page_size | No | ||
| view_mode | No | grouped | |
| management | No | ||
| product_id | No | ||
| attribution | No | ||
| consistency | No | cached | |
| ad_account_id | No | ||
| query_contract_version | No | ||
| require_complete_range | No |