从创意库添加查询创意列表
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
top_service_context | TopServiceContext | 必须 | topServiceContext | ||||||||
|
|||||||||||
creative_query_v_o | CreativeQueryVo | 必须 | creativeQueryVO | ||||||||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | TopResult | 结果体 | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); UniversalbpCreativeGetcreativebyconditionmapRequest req = new UniversalbpCreativeGetcreativebyconditionmapRequest(); UniversalbpCreativeGetcreativebyconditionmapRequest.TopServiceContext obj1 = new UniversalbpCreativeGetcreativebyconditionmapRequest.TopServiceContext(); obj1.setBizCode( "xxxxx" ); req.setTopServiceContext(obj1); UniversalbpCreativeGetcreativebyconditionmapRequest.CreativeQueryVo obj2 = new UniversalbpCreativeGetcreativebyconditionmapRequest.CreativeQueryVo(); obj2.setAdgroupIdList( new Long[] { 68798447504 }; ); obj2.setCampaignIdList( new Long[] { 68792788657 }; ); obj2.setOffset(0L); obj2.setPageSize(20L); obj2.setMaterialIdList( new Long[] { 714706341071 }; ); obj2.setPromotionTypeList( "" item "" ); obj2.setTabTypeList( "" 103 "" ); req.setCreativeQueryVO(obj2); UniversalbpCreativeGetcreativebyconditionmapResponse 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 147 148 149 150 151 152 153 | < universalbp_creative_getcreativebyconditionmap_response > < result > < info > < ok >true</ ok > < message >参数错误</ message > < error_code >xxxxx</ error_code > </ info > < creative_v_o_top_bulk_data > < creative_v_o_list > < creative_vo > < creative_id >6843262308</ creative_id > < creative_name >sss</ creative_name > < creative_type >1</ creative_type > < source >1</ source > < creative_center_id >225349579</ creative_center_id > < format >2</ format > < material_list > < item_material_vo > < material_id >714616513841</ material_id > < video_id >398436114008</ video_id > < source >1</ source > < haitang_id >989898</ haitang_id > < format_type >1</ format_type > < url >https://img.alicdn.com/imgextra/i4/2247603103/O1CN011YnDpyANl3b4vZq_!!2247603103-0-alimamacc.jpg</ url > </ item_material_vo > </ material_list > < template_id >2000000000</ template_id > < outer_id >225349579</ outer_id > < js_in_html >https://kb-render.alicdn.com/html/208565/2023/02/20/9976a3a6-fb588e85-225600921.html</ js_in_html > < template_data >{ "_creationType": { "selectedOption": "video" }, "_apng": "https://a1.alicdn.com/assets/%E6%B4%BB%E5%8A%A8%E4%BF%83%E9%94%80%E5%80%BE%E5%90%91/%E6%B5%81%E6%98%9F%E9%9B%A8.png", "image": "https://img.alicdn.com/imgextra/i2/2247603103/O1CN01cHB4B71YnDo0G1MBV_!!2247603103-0-alimamacc.jpg" }</ template_data > < clickurl_media_type_list > < string >[1]</ string > </ clickurl_media_type_list > < audit > < status >W</ status > < audit_status >2</ audit_status > < effective_time >2023-05-29 18:21:40</ effective_time > < expire_time >2999-12-31 23:59:59</ expire_time > < audit_reason >直播已结束,结束后创意自动变为审核拒绝状态</ audit_reason > </ audit > < adzone_audit_result_list > < audit_vo > < status >W</ status > < audit_status >2</ audit_status > < effective_time >2023-05-29 18:21:40</ effective_time > < expire_time >2999-12-31 23:59:59</ expire_time > < audit_reason >直播已结束,结束后创意自动变为审核拒绝状态</ audit_reason > </ audit_vo > </ adzone_audit_result_list > < preview_list > < creative_adzone_preview_vo > < adzone_type >1</ adzone_type > < adzone_name >全屏微详情</ adzone_name > < adzone_id >111287850198</ adzone_id > < preview_data_list > < creative_preview_result_vo > < preview_format >2</ preview_format > < preview_size >342x530</ preview_size > < preview_scale >0.5</ preview_scale > < preview_video_path >342x530</ preview_video_path > < preview_video_image >342x530</ preview_video_image > </ creative_preview_result_vo > </ preview_data_list > </ creative_adzone_preview_vo > </ preview_list > < creative_size >513x750</ creative_size > < item_videos > < item_video_vo > < poster >https://img.alicdn.com/imgextra/i3/2208746800922/O1CN01kOmOXg1IgJwyU0HAt_!!2208746800922-0-alimamacc.jpg</ poster > < item_id >708275631127</ item_id > < video_url >https://cloud.video.taobao.com/play/u/167873659/p/2/e/6/t/1/412089156502.mp4?sBizCode=alimama_tuijian.mp4</ video_url > < audit_state >1</ audit_state > < audit_desc >xxxxx</ audit_desc > < video_id >415780011227</ video_id > < source >1</ source > < type >1</ type > < width >800</ width > < height >1200</ height > < duration >32</ duration > < haitang_id >989898</ haitang_id > </ item_video_vo > </ item_videos > < online_status >1</ online_status > < start_time >2023-05-29 18:00:00</ start_time > < end_time >2024-05-28 17:59:00</ end_time > < create_time >2023-05-29 18:21:40</ create_time > < update_time >2023-05-29 18:21:40</ update_time > < creative_promotion_entity > < promotion_type >item</ promotion_type > < sub_promotion_type >item</ sub_promotion_type > < promotion_entity_id >714616513841</ promotion_entity_id > < material > < material_id >714616513841</ material_id > < img_url >//img.alicdn.com/bao/uploaded/i1/3838159498/O1CN013BTEpu2K28f5CkcgG_!!3838159498.jpg</ img_url > < material_name >yiliantest测试请不要拍22</ material_name > < title >yiliantest测试请不要拍22</ title > </ material > </ creative_promotion_entity > < extend_data >https://kb-render.alicdn.com/html/208565/2023/02/20/9976a3a6-fb588e85-225600921.html</ extend_data > < material_image_info > < material_id >714616513841</ material_id > < image_position >0</ image_position > < img_url >https://img.alicdn.com/bao/uploaded/i1/3838159498/O1CN013BTEpu2K28f5CkcgG_!!3838159498.jpg</ img_url > < material_name >外投宝贝测试,请不要拍</ material_name > </ material_image_info > < title >薄荷脑软膏,测试请不要拍</ title > < image_path >https://img.alicdn.com/imgextra/i4/2247603103/O1CN011YnDpyANl3b4vZq_!!2247603103-0-alimamacc.jpg</ image_path > < video_id >398436114008</ video_id > < video_duration >10</ video_duration > < video_path >https://a1.alibabausercontent.com/prod/feupload/user/qr/2008b520-b0ee-11ed-a2a7-412df572c89c.mp4_.mp4</ video_path > < video_image_path >https://img.alicdn.com/imgextra/i2/2247603103/O1CN01torMqR1YnDnyNTsIt_!!2247603103-0-alimamacc.jpg</ video_image_path > < item_id_list > < number >[679056995041]</ number > </ item_id_list > < children > < creative_children_vo > < material_list > < item_material_vo > < material_id >714616513841</ material_id > < video_id >398436114008</ video_id > < source >1</ source > < haitang_id >989898</ haitang_id > < format_type >1</ format_type > < url >https://img.alicdn.com/imgextra/i4/2247603103/O1CN011YnDpyANl3b4vZq_!!2247603103-0-alimamacc.jpg</ url > </ item_material_vo > </ material_list > </ creative_children_vo > </ children > < tab_type >103</ tab_type > < tab_type_name >103</ tab_type_name > < type_name >自定义创意</ type_name > < type >1</ type > < main_pic_video >1</ main_pic_video > </ creative_vo > </ creative_v_o_list > < count >1</ count > </ creative_v_o_top_bulk_data > </ result > </ universalbp_creative_getcreativebyconditionmap_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 > |
错误码 | 错误描述 | 解决方案 |
---|