update_tiktok_ads_ad_group
Edit a TikTok ad group (targeting, bid, schedule) destructive
Description
EDIT an existing TikTok ad group after launch: targeting (locationIds, zipcodeIds, ageGroups AGE_18_24…, gender, languages, interestCategoryIds, interestKeywordIds, audienceIds, excludedAudienceIds, operatingSystems, networkTypes, spendingPower, householdIncome, deviceModelIds), bid (bidType BID_TYPE_CUSTOM cost cap or BID_TYPE_NO_BID, bid, roasBid) and schedule (startTime before it starts, endTime, dayparting 336 characters). Placement, optimization goal and billing cannot change; budget is set_tiktok_ads_budget. TikTok's update replaces the whole ad group, so everything you do not change is resent from TikTok's stored row. A switched-on ad group needs confirm:true. Read back. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
advertiserId | string | TikTok ad account id; omit when only one is shared |
adgroupIdrequired | string | the ad group id (from list_tiktok_ads_campaigns) |
name | string | |
targeting | object | only the fields you pass change; ids from search_tiktok_ads_targeting |
targeting.locationIds | string[] | |
targeting.zipcodeIds | string[] | |
targeting.languages | string[] | |
targeting.ageGroups | string[] | |
targeting.gender | string | |
targeting.interestCategoryIds | string[] | |
targeting.interestKeywordIds | string[] | |
targeting.audienceIds | string[] | |
targeting.excludedAudienceIds | string[] | |
targeting.operatingSystems | string[] | |
targeting.networkTypes | string[] | |
targeting.spendingPower | string | |
targeting.householdIncome | string[] | |
targeting.deviceModelIds | string[] | |
targeting.devicePriceRanges | number[] | |
bidType | "BID_TYPE_CUSTOM" | "BID_TYPE_NO_BID" | |
bid | number | cost cap in the advertiser currency (click or conversion bid, by the ad group billing) |
roasBid | number | |
scheduleType | "SCHEDULE_START_END" | "SCHEDULE_FROM_NOW" | |
startTime | string | only before the ad group starts; ISO 8601 or "YYYY-MM-DD HH:MM:SS" UTC |
endTime | string | |
dayparting | string | 336 characters of 0/1, Monday first, 48 half-hours a day; "" = always |
confirm | boolean | required when the ad group is switched on |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/update_tiktok_ads_ad_group.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"update_tiktok_ads_ad_group","arguments":{"adgroupId":"<string>"}}}
CLI
hermoso call update_tiktok_ads_ad_group --json '{"adgroupId":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
set_tiktok_ads_budgetChange a TikTok campaign or ad group budgetdelete_tiktok_ads_objectDelete TikTok campaigns / ad groups / adsset_tiktok_ads_statusActivate, pause or delete TikTok campaigns / ad groups / adscreate_tiktok_ads_crm_event_setCreate a TikTok CRM Event setlist_tiktok_ads_crm_event_setsList TikTok CRM Event setssend_tiktok_ads_offline_eventsReport in-store and other real-world conversions to TikTokmanage_tiktok_ads_offline_event_setCreate, rename or delete a TikTok Offline Event setlist_tiktok_ads_offline_event_setsList TikTok Offline Event sets