成效预估
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
top_service_context | TopServiceContext | 必须 | topServiceContext | ||||||||
|
|||||||||||
algo_query_v_o | AlgoQueryVO | 必须 | algoQueryVO | ||||||||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
top_result | TopResult | topResult | |
|
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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); UniversalbpNewAlgoGeteffectpredictionRequest req = new UniversalbpNewAlgoGeteffectpredictionRequest(); UniversalbpNewAlgoGeteffectpredictionRequest.TopServiceContext obj1 = new UniversalbpNewAlgoGeteffectpredictionRequest.TopServiceContext(); obj1.setBizCode( "xxxxx" ); obj1.setLoginType(1L); obj1.setMemberId(12345L); obj1.setExt( "{}" ); req.setTopServiceContext(obj1); UniversalbpNewAlgoGeteffectpredictionRequest.AlgoQueryVO obj2 = new UniversalbpNewAlgoGeteffectpredictionRequest.AlgoQueryVO(); UniversalbpNewAlgoGeteffectpredictionRequest.AlgoCampaignQueryVO obj3 = new UniversalbpNewAlgoGeteffectpredictionRequest.AlgoCampaignQueryVO(); obj3.setCampaignId(68799007001L); obj3.setPromotionModel( "display" ); obj3.setPromotionScene( "promotion_scene_crowd" ); obj3.setPromotionGoals( "shop_crowd" ); obj3.setOptimizeTarget( "shop_visit_new" ); obj3.setDmcType( "normal" ); obj3.setDayBudget(60L); obj3.setTotalBudget(350L); obj3.setBudgetPeriod(1L); obj3.setBidType( "roi_control" ); obj3.setConstraintType( "roi" ); obj3.setConstraintValue( "3" ); obj3.setPromotionType( "item" ); obj3.setItemSelectedMode( "user_define" ); List<UniversalbpNewAlgoGeteffectpredictionRequest.AdzoneRefCommandVO> list5 = new ArrayList<UniversalbpNewAlgoGeteffectpredictionRequest.AdzoneRefCommandVO>(); UniversalbpNewAlgoGeteffectpredictionRequest.AdzoneRefCommandVO obj6 = new UniversalbpNewAlgoGeteffectpredictionRequest.AdzoneRefCommandVO(); list5.add(obj6); obj6.setAdzoneId(111287850198L); obj6.setCampaignId(68796878069L); obj6.setDiscount(3L); obj6.setStatus( "start" ); obj3.setAdzoneList(list5); List<UniversalbpNewAlgoGeteffectpredictionRequest.CampaignLaunchPeriodCommandVO> list8 = new ArrayList<UniversalbpNewAlgoGeteffectpredictionRequest.CampaignLaunchPeriodCommandVO>(); UniversalbpNewAlgoGeteffectpredictionRequest.CampaignLaunchPeriodCommandVO obj9 = new UniversalbpNewAlgoGeteffectpredictionRequest.CampaignLaunchPeriodCommandVO(); list8.add(obj9); obj9.setDayOfWeek(1L); List<UniversalbpNewAlgoGeteffectpredictionRequest.TimeSpanVO> list12 = new ArrayList<UniversalbpNewAlgoGeteffectpredictionRequest.TimeSpanVO>(); UniversalbpNewAlgoGeteffectpredictionRequest.TimeSpanVO obj13 = new UniversalbpNewAlgoGeteffectpredictionRequest.TimeSpanVO(); list12.add(obj13); obj13.setDiscount(100L); obj13.setTime( "00:00-24:00" ); list10.setTimeSpanList(list12); obj3.setLaunchPeriodList(list8); obj3.setLaunchAreaStrList( "" all "" ); UniversalbpNewAlgoGeteffectpredictionRequest.CampaignLaunchTimeCommandVO obj14 = new UniversalbpNewAlgoGeteffectpredictionRequest.CampaignLaunchTimeCommandVO(); obj14.setStartTime(StringUtils.parseDateTime( "2023-06-09 00:00:00" )); obj14.setEndTime(StringUtils.parseDateTime( "2199-02-01 00:00:00" )); obj14.setLaunchForever( true ); obj3.setLaunchTime(obj14); List<UniversalbpNewAlgoGeteffectpredictionRequest.WordCommandVO> list16 = new ArrayList<UniversalbpNewAlgoGeteffectpredictionRequest.WordCommandVO>(); UniversalbpNewAlgoGeteffectpredictionRequest.WordCommandVO obj17 = new UniversalbpNewAlgoGeteffectpredictionRequest.WordCommandVO(); list16.add(obj17); obj17.setBidwordId(1124844766581L); obj17.setCampaignId(68796878069L); obj17.setAdgroupId(68793666608L); obj17.setWord( "鞋原创小众" ); obj17.setBidPrice( "2.23" ); obj17.setSuggestTraceId( "xxxxx" ); obj17.setOnlineStatus(1L); obj17.setMatchScope(4L); obj3.setWordList(list16); obj3.setSearchUpgradePxb(0L); obj3.setNeedTargetCrowd(1L); obj3.setAlgoPredictionExtraInfo( "{}" ); obj3.setItemRecStrategy( "" effect_gmv "," effect_coll "" ); obj2.setCampaign(obj3); List<UniversalbpNewAlgoGeteffectpredictionRequest.AlgoAdgroupQueryVO> list19 = new ArrayList<UniversalbpNewAlgoGeteffectpredictionRequest.AlgoAdgroupQueryVO>(); UniversalbpNewAlgoGeteffectpredictionRequest.AlgoAdgroupQueryVO obj20 = new UniversalbpNewAlgoGeteffectpredictionRequest.AlgoAdgroupQueryVO(); list19.add(obj20); UniversalbpNewAlgoGeteffectpredictionRequest.AdgroupMaterialCommandVO obj22 = new UniversalbpNewAlgoGeteffectpredictionRequest.AdgroupMaterialCommandVO(); obj22.setMaterialId(714616513841L); obj22.setMaterialName( "yiliantest测试请不要拍22" ); obj22.setPromotionType( "item" ); obj22.setSubPromotionType( "item" ); List<UniversalbpNewAlgoGeteffectpredictionRequest.ItemLifeCycleViewVO> list24 = new ArrayList<UniversalbpNewAlgoGeteffectpredictionRequest.ItemLifeCycleViewVO>(); UniversalbpNewAlgoGeteffectpredictionRequest.ItemLifeCycleViewVO obj25 = new UniversalbpNewAlgoGeteffectpredictionRequest.ItemLifeCycleViewVO(); list24.add(obj25); obj25.setLifeCycleDesc( "新品打爆期" ); obj25.setColor( "#36A2FC" ); obj25.setTips( "近30日GMV排名在叶子类目5%以内的新品" ); obj25.setType(1L); obj22.setGoalLifeCycleList(list24); list21.setMaterial(obj22); obj2.setAdgroupList(list19); obj2.setDmcTypeElement( "dayBudget" ); req.setAlgoQueryVO(obj2); UniversalbpNewAlgoGeteffectpredictionResponse 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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | < universalbp_new_algo_geteffectprediction_response > < top_result > < info > < ok >true</ ok > < message >参数错误</ message > < error_code >xxxxx</ error_code > </ info > < effect_predict_v_o > < pv >1621</ pv > < pv_low >1297</ pv_low > < pv_high >1945</ pv_high > < click >97</ click > < click_low >78</ click_low > < click_high >117</ click_high > < conv >13</ conv > < conv_low >10</ conv_low > < conv_high >15</ conv_high > < wconv >27</ wconv > < wconv_low >22</ wconv_low > < wconv_high >33</ wconv_high > < mem >0</ mem > < mem_low >0</ mem_low > < mem_high >1</ mem_high > < cost >823.83</ cost > < cost_low >659.06</ cost_low > < cost_high >988.60</ cost_high > < cart >10</ cart > < cart_low >5</ cart_low > < cart_high >15</ cart_high > < uv_aim_low >5</ uv_aim_low > < uv_aim_high >15</ uv_aim_high > < gmv >6845.21</ gmv > < gmv_low >5476.17</ gmv_low > < gmv_high >8214.26</ gmv_high > < success_ratio_high >0.9</ success_ratio_high > < success_ratio_low >0.8</ success_ratio_low > < gmv_diff_percent >0.67</ gmv_diff_percent > </ effect_predict_v_o > </ top_result > </ universalbp_new_algo_geteffectprediction_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 > |
错误码 | 错误描述 | 解决方案 |
---|