/basicOpen/adReport/spTarget/addNegativeTargets{
"operation": {
"method": "POST",
"path": "/basicOpen/adReport/spTarget/addNegativeTargets"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/basicOpen/adReport/spTarget/addNegativeTargets?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"sid\": 134225003201380864,\n \"asins\": [\n {\n \"campaignId\": \"12345\",\n \"adGroupId\": \"67890\",\n \"asin\": \"B08N5WRWNW\",\n \"state\": \"ENABLED\"\n }\n ]\n}'",
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "a0d54debf93140f3b58d1ed81e8e3583",
"response_time": "2026-04-20 12:00:00",
"data": {
"success": [
{
"index": 0,
"target": {
"targetId": "12345",
"campaignId": "67890",
"adGroupId": "11111",
"state": "ENABLED",
"targetType": "PRODUCT",
"targetLevel": "AD_GROUP"
}
}
],
"error": []
}
}
}| 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 | asins | 否定ASIN列表(最多1000个) | array<object> | — | Required | 否定ASIN列表(最多1000个) |
| 3.1 | campaignId | SP广告活动ID | string | — | Required | SP广告活动ID 对应【基础数据-SP广告活动】接口中的campaign_id |
| 3.2 | adGroupId | 广告组ID | string | — | Required | 广告组ID 对应【基础数据-SP广告组】接口中的ad_group_id |
| 3.3 | asin | asin | string | — | Required | ASIN |
| 3.4 | state | 否定投放状态 | string | — | Required | 否定投放状态 ENABLED: 启用 PAUSED: 暂停 |
| 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 | success | 创建成功的列表 | array<object> | — | Required | 创建成功的列表 |
| 6.1.1 | index | 请求中的索引位置 | integer | 0 | Required | 请求中的索引位置 |
| 6.1.2 | target | 创建成功的Target信息 | object | — | Required | 创建成功的Target信息 |
| 6.1.2.1 | targetId | Target唯一标识 | string | 12345 | Required | Target唯一标识 |
| 6.1.2.2 | campaignId | 广告活动ID | string | 12345 | Required | 广告活动ID |
| 6.1.2.3 | adGroupId | 广告组ID | string | 67890 | Required | 广告组ID |
| 6.1.2.4 | state | 状态 | string | ENABLED | Required | 状态 |
| 6.1.2.5 | targetType | 投放类型 | string | PRODUCT | Required | 投放类型 |
| 6.2 | error | 创建失败的列表 | array<object> | — | Required | 创建失败的列表 |
| 6.2.1 | index | 请求中的索引位置 | integer | 1 | Required | 请求中的索引位置 |
| 6.2.2 | errors | 错误信息列表 | array<object> | — | Required | 错误信息列表 |
| 6.2.2.1 | code | 错误码 | string | INVALID_ARGUMENT | Required | 错误码 |
| 6.2.2.2 | message | 错误消息 | string | Invalid ASIN | Required | 错误消息 |
The SP广告否定投放(ASIN) API (/basicOpen/adReport/spTarget/addNegativeTargets) 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.