工具 API

optimizer_rule_create

Creates automated rules that watch campaigns, ad groups, or ads and automatically turn them off/on, adjust budget or bid, or send a notification when conditions are met. Not supported for Upgraded Smart+ campaigns, ad groups, or ads: if the response says "This API does not support Upgraded Smart Plus ads", do not retry with other parameters; tell the user automated rules for Smart+ cannot be created through this API. If the response says "Insufficient permission ... grant access to the advertiser", do not retry: the user's role on this advertiser has no edit access; tell them to ask their Business Center admin for an edit-level role. Request shape: `advertiser_id` plus `rules` (array). Every rule needs `name`, `apply_objects`, `conditions`, `actions`, `notification`, `rule_exec_info`. Minimal example (pause active ad groups whose CPA today is above 50): {"advertiser_id":"<id>","rules":[{"name":"Pause high CPA","apply_objects":[{"dimension":"ADGROUP","pre_condition_type":"ALL_ACTIVE_AD_GROUP"}],"conditions":[{"subject_type":"CPA","range_type":"TODAY","match_type":"GT","values":["50"]}],"actions":[{"subject_type":"TURN_OFF"}],"notification":{"notification_type":"ANY_CHANGES"},"rule_exec_info":{"exec_time_type":"PER_HALF_HOUR"}}]}

ecommerceOAuth1 积分

调用信息

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

输入参数

advertiser_id必填

Advertiser ID.

lang

Language for error messages. Defaults to `EN` if omitted.

rules必填

List of rules to create.