Update TikTok Ad Group Targeting
update_tiktok_adgroupUPDATES a TikTok ad group's TARGETING, BID and SCHEDULE in place. Until now only status and budget could be changed, so any targeting tweak meant deleting and rebuilding the ad group — which RESETS the learning phase and throws away performance history. Use this to widen/narrow locations, ages, genders, interests or audiences, change the bid, or extend the run dates without losing what the algorithm already learned.
Leave a field empty to keep it unchanged. location_ids / age_groups / genders / interest_category_ids / audience_ids / excluded_audience_ids are comma-separated. schedule_start / schedule_end: 'YYYY-MM-DD HH:MM:SS'. Passing bid_price switches the ad group to manual bidding automatically (bid_type=BID_TYPE_CUSTOM) — TikTok silently ignores a bid sent without it. Set bid_type=BID_TYPE_NO_BID (with no bid_price) to go back to automatic bidding. pacing: PACING_MODE_SMOOTH (standard) | PACING_MODE_FAST (accelerated; needs a manual bid). confirm=false previews.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| pacing | No | ||
| confirm | No | ||
| genders | No | ||
| bid_type | No | ||
| bid_price | No | ||
| adgroup_id | Yes | ||
| age_groups | No | ||
| audience_ids | No | ||
| location_ids | No | ||
| schedule_end | No | ||
| advertiser_id | Yes | ||
| schedule_start | No | ||
| excluded_audience_ids | No | ||
| interest_category_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||