注意:以下文档只适用于TOP接口,请谨慎使用!

alibaba.alihealth.yt.wt.ad.algoreport.data.pull (阿里健康外投ocpx智能回传明细拉取)

阿里健康外投ocpx智能回传明细拉取

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
isv_algo_report_quest_request IsvAlgoReportQuestRequest 必须 请求入参
  • └ ad_ids
  • String
  • 必须
  • 7314897,73148,123123
  • 媒体计划ID列表,多个id用英文逗号分隔
  • └ channel_id
  • Number
  • 可选
  • 1
  • 渠道ID:1-抖音1.0,2-抖音2.0,3-快手,4-腾讯,5-B站,6-UC,7-百度
  • └ advertiser_id
  • Number
  • 可选
  • 17408486911111111
  • 广告主id

响应参数

名称 类型 示例值 描述
result Result 返回结果
  • └ success
  • Boolean
  • true
  • 是否成功
  • model
  • DspMediaAdExtendISVDTO []
  • 明细
  • └ ad_id
  • Number
  • 1111111
  • 媒体计划ID
  • └ algo_code_pass
  • Number
  • 1
  • 1开启0关闭
  • └ user_limit
  • Number
  • 22
  • 每天智能回传数量
  • └ valid
  • Boolean
  • true
  • 当前adid广告是否属于isv
  • └ msg_info
  • String
  • null
  • 响应信息
  • └ msg_code
  • String
  • null
  • 响应码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthYtWtAdAlgoreportDataPullRequest req = new AlibabaAlihealthYtWtAdAlgoreportDataPullRequest();
AlibabaAlihealthYtWtAdAlgoreportDataPullRequest.IsvAlgoReportQuestRequest obj1 = new AlibabaAlihealthYtWtAdAlgoreportDataPullRequest.IsvAlgoReportQuestRequest();
obj1.setAdIds("7314897,73148,123123");
obj1.setChannelId(1L);
obj1.setAdvertiserId(17408486911111111L);
req.setIsvAlgoReportQuestRequest(obj1);
AlibabaAlihealthYtWtAdAlgoreportDataPullResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_yt_wt_ad_algoreport_data_pull_response>
    <result>
        <success>true</success>
        <model>
            <dsp_media_ad_extend_i_s_v_d_t_o>
                <ad_id>1111111</ad_id>
                <algo_code_pass>1</algo_code_pass>
                <user_limit>22</user_limit>
                <valid>true</valid>
            </dsp_media_ad_extend_i_s_v_d_t_o>
        </model>
        <msg_info>null</msg_info>
        <msg_code>null</msg_code>
    </result>
</alibaba_alihealth_yt_wt_ad_algoreport_data_pull_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部