工具 API
optimizer_ rule_ update
Edits the settings of existing automated rules (apply objects, conditions, actions, notification, schedule, name). To only turn rules on/off or delete them, use `optimizer_rule_update_status_update` instead; this tool has no status field. Recommended flow: read the current rule with `optimizer_rule_get`, change only what the user asked for, and send the complete rule back in `rules`. `advertiser_id`, `dimension_ids`, and `rule_id` are strings.
调用信息
- 工具标识
- tiktok-ads.optimizer_rule_update
- 服务提供方
- TikTok 广告
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
advertiser_id必填Advertiser ID. Updating rules requires edit access to this advertiser in Business Center; view-only access is not enough. If the response says `Insufficient permission`, do not retry or change other parameters; tell the user to ask their BC admin to grant edit access to this advertiser.
langLanguage for error messages. Defaults to `EN` if omitted.
rules必填Required. A JSON array of rule objects (not a JSON-encoded string), e.g. [{"rule_id": "...", "name": "...", ...}]. Each item must include all of: `rule_id`, `name`, `apply_objects`, `conditions`, `actions`, `notification`, `rule_exec_info`. There is no `status` or `rule_name` field.