/basicOpen/adReport/spTarget/archiveNegatives{
"operation": {
"method": "POST",
"path": "/basicOpen/adReport/spTarget/archiveNegatives"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/basicOpen/adReport/spTarget/archiveNegatives?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"sid\": 134225003201380864,\n \"targetIds\": [\"12345\", \"67890\"]\n}'",
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "a0d54debf93140f3b58d1ed81e8e3583",
"response_time": "2026-04-20 12:00:00",
"data": {
"successTargets": [
{
"targetId": "12345",
"campaignId": "67890",
"adGroupId": "11111",
"state": "ARCHIVED",
"targetType": "KEYWORD",
"targetLevel": "AD_GROUP"
}
],
"errors": [],
"notExistTargetIds": []
}
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | profileId | 店铺 Profile ID | integer | — | Optional | 店铺 Profile ID,profileId和sid不能同时为空 |
| 2 | sid | 店铺id | integer | — | Optional | 店铺id,profileId和sid不能同时为空 |
| 3 | targetIds | 否定投放的Target ID | array<any> | — | Required | 否定投放的Target ID 对应【基础数据-SP否定投放】接口中的target_id |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0:成功 |
| 2 | message | 消息提示 | string | success | Required | 消息提示 |
| 3 | error_details | 数据校验失败时的错误详情 | array<any> | — | Required | 数据校验失败时的错误详情 |
| 4 | request_id | 请求链路id | string | a0d54debf93140f3b58d1ed81e8e3583 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2026-04-20 12:00:00 | Required | 响应时间 |
| 6 | data | 响应数据 | object | — | Required | 响应数据 |
| 6.1 | successTargets | 归档成功的Target列表 | array<object> | — | Required | 归档成功的Target列表 |
| 6.1.1 | targetId | Target唯一标识 | string | 12345 | Required | Target唯一标识 |
| 6.1.2 | campaignId | 广告活动ID | string | 12345 | Required | 广告活动ID |
| 6.1.3 | adGroupId | 广告组ID | string | 12345 | Required | 广告组ID |
| 6.1.4 | state | 状态 | string | ARCHIVED | Required | 状态:ARCHIVED, ENABLED, PAUSED |
| 6.1.5 | targetType | 投放类型 | string | KEYWORD | Required | 投放类型:KEYWORD, PRODUCT等 |
| 6.1.6 | targetLevel | 投放级别 | string | AD_GROUP | Required | 投放级别:AD_GROUP, CAMPAIGN |
| 6.2 | errors | 归档失败的Target列表 | array<any> | — | Required | 归档失败的Target列表 |
| 6.3 | notExistTargetIds | 不存在的Target ID列表 | array<any> | — | Required | 不存在的Target ID列表 |
The SP广告否定词归档 API (/basicOpen/adReport/spTarget/archiveNegatives) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.