TOOL API
search_ ad_ negative_ keyword_ add
Creates Search Ads negative keywords for campaigns or ad groups. If a user's search term matches a negative keyword, the ad in that campaign or ad group will not be shown. Before using this endpoint, Automatic Search Placement must already be enabled: for ad-group negative keywords, it must be enabled on the target ad group; for campaign negative keywords, it must be enabled for at least one ad group in the target campaign. See Create Search Ads: https://business-api.tiktok.com/portal/docs?id=1780164603696130.
Call information
- Tool slug
- tiktok-ads.search_ad_negative_keyword_add
- Provider
- TikTok for Business
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
advertiser_idrequiredAdvertiser ID.
keywordsrequiredList of negative keywords to create. Max size: 1,000. For each ad group, you can configure a maximum of 10,000 negative keywords.
object_idsrequiredCampaign IDs or ad group IDs to which the negative keywords will be applied. Max size: 50. Specify values according to `object_type`: if `object_type` is `CAMPAIGN`, provide campaign IDs; if `object_type` is `ADGROUP`, provide ad group IDs.
object_typerequiredSpecifies whether to create negative keywords for campaigns or ad groups. Use `CAMPAIGN` for campaigns or `ADGROUP` for ad groups. This value determines what IDs must be provided in `object_ids`.
replaceWhether to replace all existing negative keywords on the specified campaign or ad group with the values in `keywords`. `true` replaces all existing negative keywords; `false` adds new negative keywords. Default value: `false`.