实时质量分查询,如果不传词id则查询单元下所有的词的质量分
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
top_service_context | TopServiceContext | 必须 | topServiceContext | ||||||||
|
|||||||||||
qscore_real_query_v_o | QscoreRealQueryVo | 必须 | qscoreRealQueryVO | ||||||||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | TopResult | 结果体 | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); UniversalbpBidwordQscoreRequest req = new UniversalbpBidwordQscoreRequest(); UniversalbpBidwordQscoreRequest.TopServiceContext obj1 = new UniversalbpBidwordQscoreRequest.TopServiceContext(); obj1.setBizCode( "xxxxx" ); req.setTopServiceContext(obj1); UniversalbpBidwordQscoreRequest.QscoreRealQueryVo obj2 = new UniversalbpBidwordQscoreRequest.QscoreRealQueryVo(); obj2.setCampaignId(69061654043L); obj2.setAdgroupId(69169920066L); obj2.setBidwordIdList( new Long[] { 1221274792781 }; ); req.setQscoreRealQueryVO(obj2); UniversalbpBidwordQscoreResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | < universalbp_bidword_qscore_response > < result > < info > < ok >true</ ok > < message >参数错误</ message > < error_code >xxxxx</ error_code > </ info > < qscore_v_o_top_bulk_data > < qscore_v_o_list > < qscore_vo > < campaign_id >69061654043</ campaign_id > < adgroup_id >69169920066</ adgroup_id > < bidword_id >1221274792781</ bidword_id > < word >词</ word > < qscore >6.00</ qscore > < creative_score >6.00</ creative_score > < cust_score >6.00</ cust_score > < category_match >true</ category_match > < brand_match >true</ brand_match > < thedate >2023-09-10</ thedate > </ qscore_vo > </ qscore_v_o_list > < count >1</ count > </ qscore_v_o_top_bulk_data > </ result > </ universalbp_bidword_qscore_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 > |
错误码 | 错误描述 | 解决方案 |
---|