SB广告的投放报告
POST
/pb/openapi/newad/listHsaTargetingReport请尽快调整OpenAPI中亚马逊广告接口请求头 X-API-VERSION 参数的建议
兼容说明:为兼容早期对接,亚马逊广告接口的请求头
X-API-VERSION支持1和2;未传时默认使用1。推荐方案:游标分页(X-API-VERSION=2)。需要处理
next_token参数,数据获取效率高且稳定,强烈建议使用这种分页方案。兼容方案:偏移量分页(X-API-VERSION=1)。随着分页偏移量增大,接口响应可能变慢,影响数据获取效率及稳定性。
生效规则:自 2026 年 12 月 1 日起,若未设置
X-API-VERSION或将其设置为1,且单个接口数据总量超过 100,000条,接口将返回【请将X-API-VERSION设置为2】的提示。请及时评估并调整。如有疑问,请联系我们。
接口信息
| API Path | 请求协议 | 请求方式 | 令牌桶容量 |
|---|---|---|---|
/ | HTTPS | POST | 10 |
请求头
| 标签 | 必填 | 说明 | 类型 | 示例 |
|---|---|---|---|---|
| X-API-VERSION | 是 | 【兼容旧版本】 不添加标签:offset 为分页页码,从1开始 值为 2 时:offset 为分页偏移量,从0开始 | [int] | 2 |
请求参数
next_tokenstringsidinteger必填profile_idinteger必填sponsored_typestring必填target_typestring必填report_datestring必填offsetintegerlengthinteger请求示例
{
"sid": 109,
"sponsored_type": "ALL",
"target_type": "keyword",
"report_date": "2022-06-01",
"offset": 0,
"length": 10
}
返回结果
Json Object
next_tokenstring必填codeinteger必填messagestring必填error_detailsarray<any>必填request_idstring必填response_timestring必填totalinteger必填dataarray<object>必填隐藏子属性显示子属性21 个子字段
impressionsinteger必填clicksinteger必填costnumber必填report_datestring必填profile_idnumber必填campaign_idnumber必填ad_group_idnumber必填keyword_idnumbertarget_idnumbercreative_typestring必填ordersnumber必填same_ordersnumber必填salesnumber必填same_salesnumber必填new_to_brand_ordersnumber必填new_to_brand_order_percentagenumber必填new_to_brand_order_ratenumber必填new_to_brand_salesnumber必填new_to_brand_unitsnumber必填unitsnumber必填same_unitsnumber必填