Read top product campaigns
products_get_top_campaignsTop-N TikTok campaigns by spend for a single TikTok-owned product card. Reads tiktok_insights_daily filtered by the card's matching_rules — a product-card rollup, NOT a live campaign inventory.
For campaign names, cached status, and spend, use insights_query_overview or insights_query_consistent with ad_account_id, date_from/date_to, and group_by=campaign. Native overview returns status/secondary_status; compact reads return configured_status/effective_status. These report only the returned cached entities, not exhaustive current inventory. An empty report does not prove all campaigns paused or no ads created. Use overview_get_live_configs for current configuration of known IDs; that bounded read does not discover other campaigns.
REQUIRED: product_id (str — the product_ref returned by this server's read-only products_list; legacy internal ids are still accepted). EXAMPLE: products_get_top_campaigns({"product_id": "<product_ref-from-products_list>", "limit": 10})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| product_id | Yes | ||
| connection_context | No |