/pb/openapi/newad/sbTargeting{
"operation": {
"method": "POST",
"path": "/pb/openapi/newad/sbTargeting"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 10,
"text": ""
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | sid | 店铺id | integer | — | 必填 | 店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 2 | profile_id | VC广告店铺profile_id | integer | — | 必填 | VC广告店铺profile_id,对应查询广告账号列表接口对应字段【profile_id】,sid跟profile_id其中一个必填 |
| 3 | ads_type | 广告类型 | string | — | 必填 | 广告类型: SB 返回SB广告数据 SBV 返回SBV广告数据 ALL 同时返回SB和SBV广告数据 |
| 4 | targeting_type | 投放类型 | string | — | 必填 | 投放类型: keyword 返回关键词数据 producttarget 返回商品定位数据 ALL:同时返回关键词和商品定位数据 |
| 5 | offset | 分页偏移量 | integer | — | 可选 | 分页偏移量,默认0 |
| 6 | length | 分页长度 | integer | — | 可选 | 分页长度,默认1000 |
| 7 | next_token | 分页游标 | string | — | 可选 | 分页游标,上次分页结果中的next_token (第一次分页无需填写,当next_token 和 offset同时存在时以next_token为主 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 提示消息 | string | 操作成功 | 必填 | 提示消息 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | nd8492d4-7a15-11ed-b162-0242ac1c0004 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2022-11-03 14:09:15 | 必填 | 响应时间 |
| 6 | total | 总数 | integer | 1 | 必填 | 总数 |
| 7 | next_token | 分页游标 | string | "ODAwMDAwMDAwMDAwMDAyNDE3" | 必填 | 分页游标,填入下次请求中的next_token |
| 8 | data | 响应数据 | array<object> | — | 必填 | 响应数据 |
| 8.1 | campaign_id | 广告活动ID | number | — | 必填 | 广告活动ID |
| 8.2 | ad_group_id | 广告组ID | number | — | 必填 | 广告组ID |
| 8.3 | keyword_id | 关键词ID | number | — | 必填 | 关键词ID |
| 8.4 | keyword_text | 关键词文本 | string | — | 必填 | 关键词文本 |
| 8.5 | keyword_bid | 关键词竞价 | number | — | 必填 | 关键词竞价 |
| 8.6 | keyword_state | 关键词状态 | string | enabled | 必填 | 关键词状态 |
| 8.7 | match_type | 匹配类型 | string | exact | 必填 | 匹配类型 |
| 8.8 | target_id | 商品定位ID | number | — | 必填 | 商品定位ID |
| 8.9 | expression | 表达式 | string | — | 必填 | 表达式 |
| 8.10 | target_bid | 商品定位竞价 | number | — | 必填 | 商品定位竞价 |
| 8.11 | target_state | 商品定位状态 | string | — | 必填 | 商品定位状态 |
| 8.12 | resolved_expression | 商品定位解析表达式 | string | — | 必填 | 商品定位解析表达式 |
| 8.13 | targeting_type | 投放类型 | string | — | 必填 | 投放类型 |
| 8.14 | ads_type | 广告类型 | string | — | 必填 | 广告类型 |
| 8.15 | profile_id | 亚马逊店铺数字id | number | 121923590660074 | 必填 | 亚马逊店铺数字id |
领星ERP的接口:SB广告的投放(/pb/openapi/newad/sbTargeting),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。