UD创意查询接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
creative_top_query_dto | CreativeTopQueryDTO | 必须 | 查询参数 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | CreativeTopDTO [] | 返回结果 | |
|
|||
total | Number | 1 | 总条数 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); UnideskRtaAdCreativeGetRequest req = new UnideskRtaAdCreativeGetRequest(); UnideskRtaAdCreativeGetRequest.CreativeTopQueryDTO obj1 = new UnideskRtaAdCreativeGetRequest.CreativeTopQueryDTO(); obj1.setCampaignId(1L); obj1.setPageNo(1L); obj1.setIds( new Long[] { 1 }; ); obj1.setPageSize(10L); obj1.setAdvertiserId(1L); obj1.setAdgroupId(1L); obj1.setStartTime( "2023-01-01" ); obj1.setEndTime( "2023-01-01" ); req.setCreativeTopQueryDto(obj1); UnideskRtaAdCreativeGetResponse 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 | < unidesk_rta_ad_creative_get_response > < result > < creative_top_d_t_o > < reasons > < creative_reject_reason_top_d_t_o > < reject_reason >审核拒绝原因</ reject_reason > < material_type >素材</ material_type > < reject_item >审核拒绝项</ reject_item > < title >标题</ title > </ creative_reject_reason_top_d_t_o > </ reasons > < adgroup_id >1</ adgroup_id > < id >1</ id > < campaign_id >1</ campaign_id > < title >创意标题</ title > < gmt_create >1661742350955</ gmt_create > < advertiser_id >1</ advertiser_id > < opt_status >1</ opt_status > < category >1</ category > < action_text >行动号召文本</ action_text > < format >1</ format > < video_id >v02033g10000catc8b3c77ua16dov4og</ video_id > < video_cover_img_id >0000catc8b3c77ua1</ video_cover_img_id > < status >1</ status > < last_modify_time >1600987</ last_modify_time > </ creative_top_d_t_o > </ result > < total >1</ total > </ unidesk_rta_ad_creative_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 > |
错误码 | 错误描述 | 解决方案 |
---|