根据类目id获取类目的大盘数据,包括展现指数,点击指数,点击率,本次提供的insight相关的其它接口的都是这种情况。
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
category_id_list | String [] | 必须 | 50014579 |
|
表示要查询的类目id |
start_date | String | 必须 | 2000-01-01 | 开始时间,格式:yyyy-MM-dd | |
end_date | String | 必须 | 2000-01-01 | 查询截止时间,格式:yyyy-MM-dd |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
cat_data_list | InsightCategoryDataDTO [] | 类目详细数据列表 | |
|
1 2 3 4 5 6 7 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); SimbaInsightCatsdataGetRequest req = new SimbaInsightCatsdataGetRequest(); req.setCategoryIdList( "50014579" ); req.setStartDate( "2000-01-01" ); req.setEndDate( "2000-01-01" ); SimbaInsightCatsdataGetResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 | < simba_insight_catsdata_get_response > < cat_data_list > < insight_category_data_d_t_o > < impression >242</ impression > < click >21</ click > < cat_name >刹车片</ cat_name > < cat_id >11</ cat_id > < ctr >0.04</ ctr > </ insight_category_data_d_t_o > </ cat_data_list > </ simba_insight_catsdata_get_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|