basicOpen/adReport/manage/putSpTarget{
"operation": {
"method": "POST",
"path": "basicOpen/adReport/manage/putSpTarget"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"requestExample": {
"sid": 9100,
"profileId": 0,
"targetingClauses": [
{
"targetId": 468467189609276,
"state": "paused",
"bid": "",
"isBaseValue": 0,
"baseType": "",
"baseValue": ""
}
]
},
"responseExample": {
"code": 1,
"success": true,
"data": {
"apiResult": [
{
"code": "SUCCESS",
"targetId": "542455971535064"
},
{
"code": "SUCCESS",
"targetId": "561768562615146"
},
{
"code": "SUCCESS",
"targetId": "88348510637225"
},
{
"code": "entityStateError",
"description": "Archived entity cannot be modified"
}
]
},
"message": "success",
"request_id": "3868446b_2acd_4f09_8030_986b0ff530a7",
"response_time": "2025-05-21 00:00:00"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | sid | sid 和 profileId 必传一个 | integer | — | Optional | sid 和 profileId 必传一个 |
| 2 | profileId | sid 和 profileId 必传一个 | integer | — | Optional | sid 和 profileId 必传一个 |
| 3 | targetingClauses | state 和 bid 这两项不能同时为空 | array<object> | — | Required | state 和 bid 这两项不能同时为空,单次最多 1000 个 target_id。 |
| 3.1 | targetId | 商品投放id | integer | — | Required | 商品投放id 对应【基础数据-SP商品定位】接口中的target_id |
| 3.2 | state | 有效状态 | string | — | Optional | 有效状态 enabled 启用 paused 暂停 |
| 3.3 | bid | 商品投放竞价 | number | — | Optional | 商品投放竞价 |
| 3.4 | isBaseValue | 是否调整基准值 | integer | — | Required | 是否调整基准值 1 是 0 否 |
| 3.5 | baseType | 调整基准值类型 | integer | — | Optional | 调整基准值类型 1 固定值 2 系统反推 |
| 3.6 | baseValue | 根据调整基准值的类型进行选填 | number | — | Optional | 根据调整基准值的类型进行选填 固定值时填写基准值的实际数值 系统反推时不需要填写 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | code | number | 1 | Required | |
| 2 | success | success | boolean | true | Required | |
| 3 | data | data | object | — | Required | |
| 3.1 | apiResult | apiResult | array<object> | 详见返回成功示例 | Required | |
| 3.1.1 | code | SUCCESS 成功 其他为失败 | string | SUCCESS | Required | SUCCESS 成功 其他为失败 |
| 3.1.2 | targetId | 成功时返回 广告组id | string | 468467189609276 | Optional | 成功时返回 广告组id |
| 3.1.3 | description | 失败时返回 亚马逊的错误原因 | string | — | Optional | 失败时返回 亚马逊的错误原因 |
| 4 | message | message | string | success | Required | |
| 5 | request_id | 请求链路id | string | f0763238_fed4_4f06_ae05_0f864e1c78b2 | Required | 请求链路id |
| 6 | error_details | 错误信息 | array<any> | — | Required | 错误信息 |
| 7 | response_time | 响应时间 | string | — | Required | 响应时间 |
The 调整sp商品投放 API (basicOpen/adReport/manage/putSpTarget) 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.