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

alibaba.alihealth.yt.wt.media.rta.query (阿里健康广告站外投放RTA策略查询)

阿里健康广告站外投放RTA策略查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
isv_rta_bind_request IsvRTABindRequest 必须 查询参数
  • └ channel_id
  • Number
  • 必须
  • 1
  • 渠道ID:2-抖音2.0,3-快手,4-腾讯,6-UC
  • └ advertiser_id
  • Number
  • 必须
  • 1713451524739
  • 账户ID

响应参数

名称 类型 示例值 描述
result Result 返回结果
  • └ success
  • Boolean
  • true
  • 是否成功
  • model
  • StrategyBindingDTO
  • 返回值
  • └ advertiser_id
  • Number
  • 171235322468
  • 账户ID
  • └ crowd_id
  • Number
  • 111111
  • 人群ID
  • └ crowd_name
  • String
  • 测试人群
  • 人群名称
  • └ status
  • Number
  • 1
  • 绑定状态:-1 失败,0 解绑,1 正常,2 待生效,3 异常
  • └ is_exclude
  • Number
  • 0
  • 人群类型:0 定向,1 反向
  • └ request_count
  • Number
  • 100000000
  • 请求次数
  • └ hit_count
  • Number
  • 9999999
  • 命中次数
  • └ hit_rate
  • String
  • 9.99%
  • 流量命中率
  • └ msg_info
  • String
  • null
  • 错误信息
  • └ msg_code
  • String
  • null
  • 错误码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthYtWtMediaRtaQueryRequest req = new AlibabaAlihealthYtWtMediaRtaQueryRequest();
AlibabaAlihealthYtWtMediaRtaQueryRequest.IsvRTABindRequest obj1 = new AlibabaAlihealthYtWtMediaRtaQueryRequest.IsvRTABindRequest();
obj1.setChannelId(1L);
obj1.setAdvertiserId(1713451524739L);
req.setIsvRtaBindRequest(obj1);
AlibabaAlihealthYtWtMediaRtaQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_yt_wt_media_rta_query_response>
    <result>
        <success>true</success>
        <model>
            <advertiser_id>171235322468</advertiser_id>
            <crowd_id>111111</crowd_id>
            <crowd_name>测试人群</crowd_name>
            <status>1</status>
            <is_exclude>0</is_exclude>
            <request_count>100000000</request_count>
            <hit_count>9999999</hit_count>
            <hit_rate>9.99%</hit_rate>
        </model>
        <msg_info>null</msg_info>
        <msg_code>null</msg_code>
    </result>
</alibaba_alihealth_yt_wt_media_rta_query_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

返回
顶部