工具 API

search_ad_negative_keyword_update

Updates a Search Ads negative keyword at the campaign or ad group level via `/open_api/v1.3/search_ad/negative_keyword/update/`. Set `object_type` to identify whether the negative keyword belongs to a campaign or an ad group, provide the corresponding `object_id`, and specify the existing negative keyword with `old_keyword_id`.

ecommerceOAuth1 积分

调用信息

工具标识
tiktok-ads.search_ad_negative_keyword_update
服务提供方
TikTok 广告
平均响应
0 ms
近 7 天调用
0

输入参数

advertiser_id必填

Advertiser ID.

keyword必填

Updated values for the original negative keyword.

object_id必填

Campaign ID or ad group ID for the object whose negative keyword you want to update. This field depends on `object_type`: if `object_type` is `CAMPAIGN`, pass a campaign ID; if `object_type` is `ADGROUP`, pass an ad group ID.

object_type必填

Specifies whether to update a negative keyword for a campaign or an ad group. This field determines what ID must be passed in `object_id`: `CAMPAIGN` requires a campaign ID, and `ADGROUP` requires an ad group ID.

old_keyword_id必填

ID of the existing negative keyword to update. Obtain this ID from `/search_ad/negative_word/get/`. If the specified negative keyword ID does not exist, the request returns an error.