Lingxing
切换旧版

SB广告的投放

POST/pb/openapi/newad/sbTargeting

接口信息

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

请求头

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

请求参数

sidinteger必填
店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】
profile_idinteger必填
VC广告店铺profile_id,对应查询广告账号列表接口对应字段【profile_id】,sid跟profile_id其中一个必填
ads_typestring必填
广告类型:
SB 返回SB广告数据
SBV 返回SBV广告数据
ALL 同时返回SB和SBV广告数据
targeting_typestring必填
投放类型:
keyword 返回关键词数据
producttarget 返回商品定位数据
ALL:同时返回关键词和商品定位数据
offsetinteger
分页偏移量,默认0
lengthinteger
分页长度,默认1000
next_tokenstring
分页游标,上次分页结果中的next_token
(第一次分页无需填写,当next_token 和 offset同时存在时以next_token为主

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
提示消息
示例 操作成功
error_detailsarray<any>必填
错误信息
request_idstring必填
请求链路id
示例 nd8492d4-7a15-11ed-b162-0242ac1c0004
response_timestring必填
响应时间
示例 2022-11-03 14:09:15
totalinteger必填
总数
示例 1
next_tokenstring必填
分页游标,填入下次请求中的next_token
示例 "ODAwMDAwMDAwMDAwMDAyNDE3"
dataarray<object>必填
响应数据
隐藏子属性
campaign_idnumber必填
广告活动ID
ad_group_idnumber必填
广告组ID
keyword_idnumber必填
关键词ID
keyword_textstring必填
关键词文本
keyword_bidnumber必填
关键词竞价
keyword_statestring必填
关键词状态
示例 enabled
match_typestring必填
匹配类型
示例 exact
target_idnumber必填
商品定位ID
expressionstring必填
表达式
target_bidnumber必填
商品定位竞价
target_statestring必填
商品定位状态
resolved_expressionstring必填
商品定位解析表达式
targeting_typestring必填
投放类型
ads_typestring必填
广告类型
profile_idnumber必填
亚马逊店铺数字id
示例 121923590660074