UD计划查询接口
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| adgroup_top_query_dto | AdgroupTopQueryDTO | 必须 | 查询参数 | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | AdgroupTopDTO [] | 计划信息 | |
|
|||
| total | Number | 1 | 总条数 |
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
UnideskRtaAdAdgroupGetRequest req = new UnideskRtaAdAdgroupGetRequest();
UnideskRtaAdAdgroupGetRequest.AdgroupTopQueryDTO obj1 = new UnideskRtaAdAdgroupGetRequest.AdgroupTopQueryDTO();
obj1.setCampaignId(1L);
obj1.setPageNo(1L);
obj1.setIds(new Long[] { 1 };
);
obj1.setPageSize(10L);
obj1.setAdvertiserId(1L);
obj1.setStatus(1L);
obj1.setName("name");
obj1.setVersion(9999L);
obj1.setStatusFirst(1L);
obj1.setStartTime("2023-01-01");
obj1.setEndTime("2023-01-01");
obj1.setStatusSecond(23L);
req.setAdgroupTopQueryDto(obj1);
UnideskRtaAdAdgroupGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
<unidesk_rta_ad_adgroup_get_response>
<result>
<adgroup_top_d_t_o>
<audit_items>
<creative_reject_d_t_o>
<reject_reason>拒绝原因</reject_reason>
<material_type>素材</material_type>
<reject_item>拒绝项</reject_item>
<title>标题</title>
</creative_reject_d_t_o>
</audit_items>
<id>1</id>
<budget>
<budget_type>1</budget_type>
<budget>1</budget>
</budget>
<smooth>1</smooth>
<campaign_id>1</campaign_id>
<learning_status>1</learning_status>
<landing_page>
<landing_page>httpxxx</landing_page>
<dp_link_url>tbopen://m.taobao.com/tbopen</dp_link_url>
</landing_page>
<gmt_create>1661749011925</gmt_create>
<advertiser_id>1</advertiser_id>
<target>
<interest_action>
<action_categorie>
<action_categories>
<common_d_t_o>
<num>35万</num>
<name>餐饮美食</name>
<value>18</value>
</common_d_t_o>
</action_categories>
<keywords>
<common_d_t_o>
<num><1万</num>
<name>2323</name>
<value>2590840</value>
</common_d_t_o>
</keywords>
<action_days>4</action_days>
</action_categorie>
<interest_categorie>
<keywords>
<common_d_t_o>
<num>60万</num>
<name>adidas</name>
<value>65381</value>
</common_d_t_o>
</keywords>
<interest_categories>
<common_d_t_o>
<num>8200万</num>
<name>生活服务</name>
<value>17</value>
</common_d_t_o>
</interest_categories>
</interest_categorie>
<type>2</type>
</interest_action>
<hide_if_converted>1</hide_if_converted>
<area>
<city>
<common_d_t_o>
<name>北京</name>
<value>11</value>
</common_d_t_o>
</city>
<city_target>1</city_target>
<type>1</type>
</area>
<gender>1</gender>
<platform>
<platform_d_t_o>
<type>1</type>
<android_version>4</android_version>
<ios_version>1</ios_version>
</platform_d_t_o>
</platform>
<device>
<device_price_type>1</device_price_type>
</device>
<toutiao>
<superior_popularity_type>1</superior_popularity_type>
<aweme_fan_behavior>
<keywords>
<common_d_t_o>
<num>11.6万</num>
<name>蒋小晓</name>
<value>97189077032</value>
</common_d_t_o>
</keywords>
<aweme_fan_days>1</aweme_fan_days>
<aweme_fan_categories>
<common_d_t_o>
<num>5.2亿</num>
<name>时尚</name>
<value>928528500</value>
</common_d_t_o>
</aweme_fan_categories>
</aweme_fan_behavior>
</toutiao>
<age>
<type>2</type>
</age>
<kuaishou>
<fans_star>
<common_d_t_o>
<name>风景-风景</name>
<value>2</value>
</common_d_t_o>
</fans_star>
<intelli_target_switch>0</intelli_target_switch>
</kuaishou>
</target>
<opt_status>1</opt_status>
<cast_time>
<time_series>111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111</time_series>
<time_type>1</time_type>
<start_time>1661749011964</start_time>
<end_time>1661749011964</end_time>
</cast_time>
<cast_show_type>1</cast_show_type>
<name>名称</name>
<pricing>
<cast_target>1</cast_target>
<convert_target>1</convert_target>
<bid>1</bid>
<cpa_bid>2</cpa_bid>
<bid_type>1</bid_type>
<pricing_type>1</pricing_type>
<adjust_cpa>1</adjust_cpa>
<roi_goal>0.01</roi_goal>
</pricing>
<status>1</status>
<tencent>
<creative_group_type>1</creative_group_type>
<creative_group_display_type>1</creative_group_display_type>
<derive_switch>1</derive_switch>
</tencent>
<kuaishou>
<cast_scope>0</cast_scope>
</kuaishou>
<toutiao_v2>
<promotion_identity>
<promotion_type>1</promotion_type>
<talent_id>1</talent_id>
<is_hide_video>1</is_hide_video>
<auth_type>1</auth_type>
</promotion_identity>
<media_creative_group>
<materials>
<media_material_top_d_t_o>
<format>1</format>
<cc_material_id>1</cc_material_id>
<video_conver_material>
<cc_material_id>1</cc_material_id>
</video_conver_material>
<id>1</id>
<native_video_url>https://douyin</native_video_url>
</media_material_top_d_t_o>
</materials>
<title_materials>
<text_material_d_t_o>
<content>文案内容</content>
<id>1</id>
<type>1</type>
</text_material_d_t_o>
</title_materials>
<derive_switch>1</derive_switch>
<creative_component_id>1</creative_component_id>
<anchor_component_id>1</anchor_component_id>
<anchor_related_type>1</anchor_related_type>
</media_creative_group>
<production>
<name>产品名称</name>
<material_ids>1</material_ids>
</production>
<ad_source>广告来源</ad_source>
<comment_switch>1</comment_switch>
<ad_download_switch>1</ad_download_switch>
</toutiao_v2>
<status_first>1</status_first>
<ad_modify_time>1661749011925</ad_modify_time>
<status_second>23</status_second>
</adgroup_top_d_t_o>
</result>
<total>1</total>
</unidesk_rta_ad_adgroup_get_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|