interests_fetch_from_adset
Preview a reusable interest pack from one live TikTok adgroup's targeting. Calls /adgroup/get/ + /tool/interest_category/ + /tool/interest_keyword/get/ to resolve category and keyword IDs to human-readable names. Mirrors the Meta sister-product's interests_fetch_from_adset (adset is the MCP wire name for what TikTok calls adgroup — either spelling is accepted).
When name is omitted, returns an unsaved preview only; pass it through to interests_save_fetched_pack to persist. When name IS supplied, fetches and saves in one call.
REQUIRED: advertiser_id (str — TikTok advertiser_id this user owns), adgroup_id OR adset_id (str — TikTok adgroup_id; both names work). OPTIONAL: name (str — when supplied, persists immediately). EXAMPLE: interests_fetch_from_adset({"advertiser_id": "7390000000000000000", "adset_id": "1820000000000000000"})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| adset_id | No | ||
| adgroup_id | No | ||
| advertiser_id | Yes |