← 返回目录
📁 API Reference › Creative Tools

(已废弃)获取任务状态

您可以使用本接口获取创意工具异步任务的状态,例如智能配乐任务,一键优化任务,和智能微电影任务。

v1.2与v1.3版本对比

以下表格概括了 v1.2与v1.3接口的变化。 ``xtable |变化内容{30%}|v1.2{35%}|v1.3{35%}| |---|---|---| |接口路径| /v1.2/creative/status/get/|/v1.3/creative/status/get/| |请求参数类型|advertiser_id: number |advertiser_id: string | |返回参数名称 |errmsg|error_msg` |


## 请求

**地址** https://business-api.tiktok.com/open_api/v1.3/creative/status/get/

**方法** GET

**Header**

```xtable
|字段|类型|描述|
|--- |--- |--- |
|Access-Token {必填}|string|授权访问令牌。可以通过[获取访问令牌](https://ads.tiktok.com/marketing_api/docs?id=1738373164380162)接口获取。|

参数

|字段|类型|描述|
|-|-|-|
|advertiser_id {必填}|string|广告主ID。|
|task_id {必填}|string|任务ID。|

返回

|字段|类型|描述|
|-|-|-|
|code |number|返回码,详见[附录-返回码](https://ads.tiktok.com/marketing_api/docs?id=1737172488964097)。|
|message |string|返回信息,详见[附录-返回码](https://ads.tiktok.com/marketing_api/docs?id=1737172488964097)。|
|data|object|返回数据。|
#|status|string|任务状态。枚举值详见:[枚举值-创意管理-任务状态](https://ads.tiktok.com/marketing_api/docs?id=1737174886619138)。|
#|video_ids{+ 条件返回}|string|视频ID列表。仅当`status`为`SUCCESS`时有效。|
#|error_msg{+ 条件返回}|string|错误信息。 |
#|extra_info{+ 条件返回} |object |创建任务时指定的回调信息。|
|request_id|string|请求日志ID。|

示例

(code Success-Response python)
HTTPS/1.1 200 OK
{
  "message": "OK",
  "code": 0,
  "data": {
    "status": "SUCCESS",
    "video_ids": [
      "v09033a60000bt1posj6hujpgbgomlo2",
      "v090336c0000bt1pp2ac3teiuedco26s"
    ],
    "extra_info": {
      "name": "test"
    }
  }
}
(/code)

内容来源:TikTok API for Business 官方文档 · 本地归档

在接这个接口时卡住了?
Stuck wiring this API into production? We build ad-delivery tooling on these platforms — campaign automation, reporting pipelines, error-handling and migration between API versions.
联系我们 · Talk to us 每日平台更新简报 →