查询单个计划详情信息(不包括报表数据)
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
top_service_context | TopServiceContext | 必须 | topServiceContext | ||||||||
|
|||||||||||
campaign_query_v_o | CampaignQueryVo | 必须 | campaignQueryVO | ||||||||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | TopResult | 结果体 | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); UniversalbpCampaignGetRequest req = new UniversalbpCampaignGetRequest(); UniversalbpCampaignGetRequest.TopServiceContext obj1 = new UniversalbpCampaignGetRequest.TopServiceContext(); obj1.setBizCode( "xxxxx" ); req.setTopServiceContext(obj1); UniversalbpCampaignGetRequest.CampaignQueryVo obj2 = new UniversalbpCampaignGetRequest.CampaignQueryVo(); obj2.setStatusList(" "start" , "pause" "); obj2.setPromotionTypeList(" "item" , "shop" "); obj2.setCampaignId(68796878069L); obj2.setOffset(0L); obj2.setPageSize(20L); req.setCampaignQueryVO(obj2); UniversalbpCampaignGetResponse 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 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 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | < universalbp_campaign_get_response > < result > < info > < ok >true</ ok > < message >参数错误</ message > < error_code >xxxxx</ error_code > </ info > < top_campaign_v_o > < campaign > < biz_code >onebpDisplay</ biz_code > < campaign_group_id >25696724</ campaign_group_id > < campaign_group_name >测试</ campaign_group_name > < campaign_id >68796878069</ campaign_id > < campaign_name >管家计划_宝贝候选集</ campaign_name > < promotion_scene >promotion_scene_crowd</ promotion_scene > < promotion_goals >traffic_nd</ promotion_goals > < promotion_model >daily:持续推广,order:套餐包</ promotion_model > < promotion_type >item</ promotion_type > < promotion_type_list > < string >["item"]</ string > </ promotion_type_list > < sub_promotion_type >item</ sub_promotion_type > < sub_promotion_type_list > < string >["item"]</ string > </ sub_promotion_type_list > < optimize_target >conv</ optimize_target > < online_status >0</ online_status > < display_status >pause</ display_status > < top_status >true</ top_status > < dmc_type >normal</ dmc_type > < day_budget >100</ day_budget > < smooth_option >smooth</ smooth_option > < total_budget >100</ total_budget > < budget_period >7</ budget_period > < period_smooth >smooth</ period_smooth > < bid_type >max_amount</ bid_type > < campaign_ocpc > < enable_ocpc >1</ enable_ocpc > < ocpc_ratio >200</ ocpc_ratio > </ campaign_ocpc > < max_price >0.4</ max_price > < min_price >0.25</ min_price > < bid_unit >元/次点击</ bid_unit > < constraint_type >元/次点击</ constraint_type > < constraint_value >3</ constraint_value > < cold_boot >1</ cold_boot > < cold_boot_time >2023-06-11 23:56:23</ cold_boot_time > < cold_boot_stage >mature</ cold_boot_stage > < launch_period_discount >100%</ launch_period_discount > < launch_period_display_time >15:00-15:30</ launch_period_display_time > < launch_time > < start_time >2023-06-09 00:00:00</ start_time > < end_time >2199-02-01 00:00:00</ end_time > < launch_forever >true</ launch_forever > </ launch_time > < launch_area_str_list > < string >["1"</ string > < string >"19"] 或者 ["all"]</ string > </ launch_area_str_list > < launch_period_list > < launch_period_vo > < day_of_week >1</ day_of_week > < time_span_list > < time_span_query_res_vo > < time >00:00-24:00</ time > < discount >100</ discount > </ time_span_query_res_vo > </ time_span_list > </ launch_period_vo > </ launch_period_list > < crowd_filter_list > < campaign_crowd_filter_vo > < behavior >shop_crowd</ behavior > < window >7</ window > </ campaign_crowd_filter_vo > </ crowd_filter_list > < brand_filter_list > < campaign_brand_filter_vo > < brand_id >20067</ brand_id > < deeplink_list > < string >["Engage"]</ string > </ deeplink_list > </ campaign_brand_filter_vo > </ brand_filter_list > < deeplink_brand_list > < deeplink_brand_vo > < deeplink_brand_id >20067</ deeplink_brand_id > < deeplink_brand_name >Lancome/兰蔻</ deeplink_brand_name > </ deeplink_brand_vo > </ deeplink_brand_list > < gender_age_filter_list > < campaign_gender_age_filter_vo > < gender >man</ gender > < age_list > < string >[0</ string > < string >1</ string > < string >2</ string > < string >3</ string > < string >4</ string > < string >5</ string > < string >6]</ string > </ age_list > </ campaign_gender_age_filter_vo > </ gender_age_filter_list > < mini_detail > < mini_detail_theme >1</ mini_detail_theme > < private_mini_item_id_list > < number >[714707465203</ number > < number >714901906337]</ number > </ private_mini_item_id_list > < private_mini_top_item_id_list > < number >[714707465203]</ number > </ private_mini_top_item_id_list > < private_mini_type >1</ private_mini_type > </ mini_detail > < item_selected_mode >shop</ item_selected_mode > < shop_item_type >effect</ shop_item_type > < shield_items > < number >[714707465203</ number > < number >714901906337]</ number > </ shield_items > < scope_items > < number >[714707465203</ number > < number >714901906337]</ number > </ scope_items > < adgroup_list > < adgroup_v_o > < campaign_id >68796878069</ campaign_id > < adgroup_id >68793666608</ adgroup_id > < adgroup_name >ds460418344</ adgroup_name > < online_status >1</ online_status > < display_status >pause</ display_status > < material > < material_id >714616513841</ material_id > < material_name >yiliantest测试请不要拍22</ material_name > < title >yiliantest测试请不要拍22</ title > < img_url >xxxxx</ img_url > < link_url >xxxxx</ link_url > < promotion_type >item</ promotion_type > </ material > </ adgroup_v_o > </ adgroup_list > </ campaign > </ top_campaign_v_o > </ result > </ universalbp_campaign_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 > |
错误码 | 错误描述 | 解决方案 |
---|