工具 API

search_ad_negative_keyword_delete

Deletes Search Ads negative keywords for a campaign or ad group via /open_api/v1.3/search_ad/negative_keyword/delete/. Set `object_type` to specify whether the target object is a campaign or ad group, then provide the matching `object_id`. To obtain valid negative keyword IDs before deletion, use /search_ad/negative_word/get/.

ecommerceOAuth1 积分

调用信息

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

输入参数

advertiser_id必填

Advertiser ID.

keyword_ids必填

IDs of the negative keywords to delete. Maximum 1,000 IDs. To obtain valid negative keyword IDs, use /search_ad/negative_word/get/. If any specified negative keyword ID does not exist, the request returns an error.

object_id必填

ID of the object whose negative keywords you want to delete. Provide this value according to `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 delete negative keywords at the campaign level or ad group level. This field determines the required ID type for `object_id`: `CAMPAIGN` requires a campaign ID, and `ADGROUP` requires an ad group ID.