Lingxing
切换旧版

SP已购买商品报表

POST/pb/openapi/newad/asinReports

基本信息

API Path请求协议请求方式令牌桶容量
/pb/openapi/newad/asinReportsHTTPSPOST10

请求头

标签必填说明类型示例
X-API-VERSION是【兼容旧版本】
不添加标签:offset 为分页页码,从1开始
值为 2 时:offset 为分页偏移量,从0开始
[int]2

请求参数

sidinteger必填
店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】,sid跟profile_id其中一个必填
profile_idinteger必填
VC广告店铺profile_id,对应查询广告账号列表接口对应字段【profile_id】,sid跟profile_id其中一个必填
report_datestring必填
报表日期,格式:Y-m-d
show_detailinteger
是否展示完整归因期信息【默认0】:0 否,1 是
offsetinteger
分页偏移量,默认0
lengthinteger
分页长度,默认15

请求示例

{
    "sid": 109,
    "report_date": "2022-06-01",
    "show_detail": 1,
    "offset": 0,
    "length": 15
}

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
提示消息
示例 操作成功
error_detailsarray<any>必填
错误信息
request_idstring必填
请求链路id
示例 78E28978-7404-9BDF-3F41-01F0401D1305
response_timestring必填
响应时间
示例 2023-02-17 09:59:19
totalinteger必填
总数
示例 1
dataarray<object>必填
响应数据
隐藏子属性
ad_group_idnumber必填
广告组id
示例 257935689603689
campaign_idnumber必填
广告活动id
示例 280135158572753
keyword_idnumber必填
关键词id
keyword_textstring必填
关键词
profile_idnumber必填
亚马逊店铺数字id
示例 121923590660074
asinstring必填
ASIN
示例 B07FFK8LTD
skustring必填
SKU
示例 8999J2113
currencystring必填
货币
示例 USD
target_idnumber必填
投放id
示例 252176660633338
targeting_textstring必填
投放
示例 asin="B078RD7R26"
report_datestring必填
报表日期
示例 2021-06-23
other_asinstring必填
Other Asin
示例 B09MT3989Q
match_typestring必填
匹配类别
targeting_typestring必填
投放类别
示例 TARGETING_EXPRESSION
other_unitsnumber必填
销量
示例 1
other_units_1dnumber
销量(1d)【show_detail=1时返回字段】
示例 1
other_units_7dnumber
销量(7d)【show_detail=1时返回字段】
示例 1
other_units_14dnumber
销量(14d)【show_detail=1时返回字段】
示例 1
other_units_30dnumber
销量(30d)【show_detail=1时返回字段】
示例 1
other_salesnumber必填
销售额
示例 18.87
other_sales_1dnumber
销售额(1d)【show_detail=1时返回字段】
示例 18.87
other_sales_7dnumber
销售额(7d)【show_detail=1时返回字段】
示例 18.87
other_sales_14dnumber
销售额(14d)【show_detail=1时返回字段】
示例 18.87
other_sales_30dnumber
销售额(30d)【show_detail=1时返回字段】
示例 18.87
other_ordersnumber必填
订单数
示例 0
other_orders_1dnumber
订单数(1d)【show_detail=1时返回字段】
示例 0
other_orders_7dnumber
订单数(7d)【show_detail=1时返回字段】
示例 0
other_orders_14dnumber
订单数(14d)【show_detail=1时返回字段】
示例 0
other_orders_30dnumber
订单数(30d)【show_detail=1时返回字段】
示例 0

返回成功示例

{
    "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
        }
    ]
}