UD计划组查询接口
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| campaign_top_query_dto | CampaignTopQueryDTO | 必须 | 查询参数 | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | CampaignTopDTO [] | 返回结果 | |
|
|||
| total | Number | 1 | 总条数 |
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
UnideskRtaAdCampaignGetRequest req = new UnideskRtaAdCampaignGetRequest();
UnideskRtaAdCampaignGetRequest.CampaignTopQueryDTO obj1 = new UnideskRtaAdCampaignGetRequest.CampaignTopQueryDTO();
obj1.setPageNo(1L);
obj1.setIds(new Long[] { 1 };
);
obj1.setPageSize(10L);
obj1.setAdvertiserId(1L);
obj1.setVersion(9999L);
req.setCampaignTopQueryDto(obj1);
UnideskRtaAdCampaignGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
<unidesk_rta_ad_campaign_get_response>
<result>
<campaign_top_d_t_o>
<type>1</type>
<gmt_create>12</gmt_create>
<advertiser_id>1</advertiser_id>
<opt_status>1</opt_status>
<name>计划</name>
<id>1</id>
<budget>
<budget_type>1</budget_type>
<budget>1</budget>
<budget_optimize_switch>1</budget_optimize_switch>
</budget>
<status>1</status>
<tencent>
<smooth>1</smooth>
</tencent>
<kuaishou>
<bid_type>1</bid_type>
</kuaishou>
<toutiao_v2>
<adzone>
<type>1</type>
</adzone>
<cast_show_type>1</cast_show_type>
<pricing>
<cast_target>1</cast_target>
<pricing_type>1</pricing_type>
<bid_type>1</bid_type>
<deep_bid_type>1</deep_bid_type>
<roi_goal>0.01</roi_goal>
</pricing>
<cast_time>
<time_series>111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111</time_series>
<time_type>1</time_type>
<start_time>2022-08-25 00:00:00</start_time>
<end_time>2022-08-25 00:00:00</end_time>
</cast_time>
<target>
<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>
<interest_action>
<action_categorie>
<action_categories>
<common_d_t_o>
<num>11</num>
<name>名称</name>
<value>1</value>
</common_d_t_o>
</action_categories>
<action_days>1</action_days>
<keywords>
<common_d_t_o>
<num>1</num>
<name>名称</name>
<value>1</value>
</common_d_t_o>
</keywords>
<action_strength>0</action_strength>
</action_categorie>
<interest_categorie>
<keywords>
<common_d_t_o>
<num>1</num>
<name>名称</name>
<value>1</value>
</common_d_t_o>
</keywords>
<interest_categories>
<common_d_t_o>
<num>1</num>
<name>名称</name>
<value>1</value>
</common_d_t_o>
</interest_categories>
</interest_categorie>
<type>1</type>
</interest_action>
<hide_if_converted>1</hide_if_converted>
<gender>1</gender>
<device>
</device>
<age>
<age_range>
<string>18</string>
</age_range>
<type>2</type>
</age>
<toutiao>
<aweme_fan_behavior>
<keywords>
<common_d_t_o>
<num>1</num>
<name>名称</name>
<value>1</value>
</common_d_t_o>
</keywords>
<aweme_fan_days>1</aweme_fan_days>
<aweme_fan_scene>
<string>1</string>
</aweme_fan_scene>
<aweme_fan_categories>
<common_d_t_o>
<num>1</num>
<name>名称</name>
<value>1</value>
</common_d_t_o>
</aweme_fan_categories>
</aweme_fan_behavior>
</toutiao>
<platform>
<type>1</type>
</platform>
</target>
<delivery_mode>1</delivery_mode>
<related_item>
<if_related>1</if_related>
<related_item_id>1</related_item_id>
</related_item>
</toutiao_v2>
</campaign_top_d_t_o>
</result>
<total>1</total>
</unidesk_rta_ad_campaign_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>
| 错误码 | 错误描述 | 解决方案 |
|---|