工具 API

ad_status_update

Enable, disable, or delete one or more ads by updating their operation status. The status of a deleted ad, or an ad in a deleted ad group or deleted campaign, cannot be modified. You can check current statuses through `/campaign/get/`, `/adgroup/get/`, or `/ad/get/` via the `operation_status` field. In v1.3, the endpoint path is `/v1.3/ad/status/update/`, the request parameter `opt_status` was renamed to `operation_status`, and `advertiser_id`, `ad_ids`, and `aco_ad_ids` use string types.

ecommerceOAuth1 积分

调用信息

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

输入参数

aco_ad_ids

List of ACO ad IDs to update. Allowed quantity: `1-20`. Either `ad_ids` or `aco_ad_ids` must be provided. For ACO ads, only `ENABLE` and `DISABLE` are supported, so do not use `DELETE` when this field is set.

ad_ids

List of ad IDs to update. Allowed quantity: `1-20`. Either `ad_ids` or `aco_ad_ids` must be provided.

advertiser_id必填

Advertiser ID.

operation_status必填

Operation to perform on the specified ads. Enum values: `DELETE` (delete), `DISABLE` (pause), `ENABLE` (enable). If `aco_ad_ids` is used, only `ENABLE` and `DISABLE` are valid. The status of deleted ads, or ads in deleted campaigns or deleted ad groups, cannot be modified.