推广位查询API
接口地址:http://bkapi.com/api/Adzonequery
返回格式:json
请求方式:get
请求示例:http://bkapi.com/api/Adzonequery?appkey=登录个人中心查看&tbname=xxxxx&site_id=
请求方法
参数 | 是否必须 | 参数类型 | 说明 |
---|---|---|---|
appkey | 必填 | String | 登录后个人中心查看 |
tbname | 必填 | String | 淘客账号所对应的用户名,见“个人中心”-“淘宝授权” |
site_id | 否 | int | 网站ID |
响应参数:
参数 | 类型 | 示例值 | 说明 |
---|---|---|---|
is_success | Boolean | true | 执行成功 |
biz_error_desc | String | 无权限 | 错误提示信息 |
biz_error_code | Number | 21 | 错误码 |
total_count | Number | 12 | 对应pid个数 |
result | TkPidDTO [] | 淘客PID信息 | |
├ pid | String | mm_1423_1432_1423 | pid |
├ name | String | 爱淘宝推广位 | 推广位名称 |
响应示例
{
"tbk_sc_adzone_query_response":{
"is_success":true,
"biz_error_desc":"无权限",
"biz_error_code":21,
"total_count":12,
"result":{
"tk_pid_d_t_o":[
{
"pid":"mm_1423_1432_1423",
"name":"爱淘宝推广位"
}
]
}
}
}
code说明
code | 说明 |
---|---|
3001 | 系统繁忙,请稍后重试! |
50 | 非法参数 |