/pb/openapi/newad/asinReports{
"operation": {
"method": "POST",
"path": "/pb/openapi/newad/asinReports"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 10,
"text": ""
},
"requestExample": {
"sid": 109,
"report_date": "2022-06-01",
"show_detail": 1,
"offset": 0,
"length": 15
},
"responseExample": {
"code": 0,
"message": "操作成功",
"error_details": [],
"request_id": "78E28978-7404-9BDF-3F41-01F0401D1305",
"response_time": "2023-02-24 09:26:58",
"total": 1,
"data": [
{
"ad_group_id": 257935689603689,
"campaign_id": 280135158572753,
"keyword_id": 0,
"keyword_text": null,
"profile_id": 121923590660074,
"asin": "B07FFK8LTD",
"sku": "8999J2113",
"currency": "USD",
"target_id": 252176660633338,
"targeting_text": "asin=\"B078RD7R26\"",
"report_date": "2021-06-23",
"other_asin": "B09MT3989Q",
"match_type": null,
"other_units": 1,
"other_sales": 18.87,
"other_orders": null,
"other_units_1d": 1,
"other_units_7d": 1,
"other_units_14d": 1,
"other_units_30d": 1,
"other_sales_1d": 18.87,
"other_sales_7d": 18.87,
"other_sales_14d": 18.87,
"other_sales_30d": 18.87,
"targeting_type": "TARGETING_EXPRESSION",
"other_orders_1d": null,
"other_orders_7d": null,
"other_orders_14d": null,
"other_orders_30d": null
}
]
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | next_token | 分页游标 | string | — | 可选 | 分页游标,使用上次响应中的 next_token。首次请求无需传入;与 offset 同时传入时,以 next_token 为准 |
| 2 | sid | 店铺id | integer | — | 必填 | 店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】,sid跟profile_id其中一个必填 |
| 3 | profile_id | VC广告店铺profile_id | integer | — | 必填 | VC广告店铺profile_id,对应查询广告账号列表接口对应字段【profile_id】,sid跟profile_id其中一个必填 |
| 4 | report_date | 报表日期 | string | — | 必填 | 报表日期,格式:Y-m-d |
| 5 | show_detail | 是否展示完整归因期信息【默认0】 | integer | — | 可选 | 是否展示完整归因期信息【默认0】:0 否,1 是 |
| 6 | offset | 分页偏移量 | integer | — | 可选 | 分页偏移量,默认0 |
| 7 | length | 分页长度 | integer | — | 可选 | 分页长度,默认15 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | next_token | 分页游标 | string | ODAwMDAwMDAwMDAwMDAyNDE3 | 必填 | 分页游标,作为 next_token 传入下一次请求 |
| 2 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 3 | message | 提示消息 | string | 操作成功 | 必填 | 提示消息 |
| 4 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 5 | request_id | 请求链路id | string | 78E28978-7404-9BDF-3F41-01F0401D1305 | 必填 | 请求链路id |
| 6 | response_time | 响应时间 | string | 2023-02-17 09:59:19 | 必填 | 响应时间 |
| 7 | total | 总数 | integer | 1 | 必填 | 总数 |
| 8 | data | 响应数据 | array<object> | — | 必填 | 响应数据 |
| 8.1 | ad_group_id | 广告组id | number | 257935689603689 | 必填 | 广告组id |
| 8.2 | campaign_id | 广告活动id | number | 280135158572753 | 必填 | 广告活动id |
| 8.3 | keyword_id | 关键词id | number | — | 必填 | 关键词id |
| 8.4 | keyword_text | 关键词 | string | — | 必填 | 关键词 |
| 8.5 | profile_id | 亚马逊店铺数字id | number | 121923590660074 | 必填 | 亚马逊店铺数字id |
| 8.6 | asin | asin | string | B07FFK8LTD | 必填 | ASIN |
| 8.7 | sku | sku | string | 8999J2113 | 必填 | SKU |
| 8.8 | currency | 货币 | string | USD | 必填 | 货币 |
| 8.9 | target_id | 投放id | number | 252176660633338 | 必填 | 投放id |
| 8.10 | targeting_text | 投放 | string | asin="B078RD7R26" | 必填 | 投放 |
| 8.11 | report_date | 报表日期 | string | 2021-06-23 | 必填 | 报表日期 |
| 8.12 | other_asin | Other Asin | string | B09MT3989Q | 必填 | Other Asin |
| 8.13 | match_type | 匹配类别 | string | — | 必填 | 匹配类别 |
| 8.14 | targeting_type | 投放类别 | string | TARGETING_EXPRESSION | 必填 | 投放类别 |
| 8.15 | other_units | 销量 | number | 1 | 必填 | 销量 |
| 8.16 | other_units_1d | other_units_1d | number | 1 | 可选 | 销量(1d)【show_detail=1时返回字段】 |
| 8.17 | other_units_7d | other_units_7d | number | 1 | 可选 | 销量(7d)【show_detail=1时返回字段】 |
| 8.18 | other_units_14d | other_units_14d | number | 1 | 可选 | 销量(14d)【show_detail=1时返回字段】 |
| 8.19 | other_units_30d | other_units_30d | number | 1 | 可选 | 销量(30d)【show_detail=1时返回字段】 |
| 8.20 | other_sales | 销售额 | number | 18.87 | 必填 | 销售额 |
| 8.21 | other_sales_1d | other_sales_1d | number | 18.87 | 可选 | 销售额(1d)【show_detail=1时返回字段】 |
| 8.22 | other_sales_7d | other_sales_7d | number | 18.87 | 可选 | 销售额(7d)【show_detail=1时返回字段】 |
| 8.23 | other_sales_14d | other_sales_14d | number | 18.87 | 可选 | 销售额(14d)【show_detail=1时返回字段】 |
| 8.24 | other_sales_30d | other_sales_30d | number | 18.87 | 可选 | 销售额(30d)【show_detail=1时返回字段】 |
| 8.25 | other_orders | 订单数 | number | 0 | 必填 | 订单数 |
| 8.26 | other_orders_1d | other_orders_1d | number | 0 | 可选 | 订单数(1d)【show_detail=1时返回字段】 |
| 8.27 | other_orders_7d | other_orders_7d | number | 0 | 可选 | 订单数(7d)【show_detail=1时返回字段】 |
| 8.28 | other_orders_14d | other_orders_14d | number | 0 | 可选 | 订单数(14d)【show_detail=1时返回字段】 |
| 8.29 | other_orders_30d | other_orders_30d | number | 0 | 可选 | 订单数(30d)【show_detail=1时返回字段】 |
领星ERP的接口:SP已购买商品报表(/pb/openapi/newad/asinReports),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。