文档中心 > API类目 > 本地生活广告API

alibaba.alsc.union.media.zone.get (本地生活媒体推广位查询)

本地生活媒体推广位查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
page Number 必须 1
  • 默认值:1
  • 页码,从1开始
    limit Number 必须 10
  • 默认值:10
  • 每页展示条数

    响应参数

    名称 类型 示例值 描述
    result_success Boolean true 接口正常标识
    biz_error_desc String 参数不能为空 错误描述
    total_count Number 150 总数量
    biz_error_code Number -1 错误码
    result ZoneInfoDTO [] [] 资源位明细列表
    • └ name
    • String
    • 5353534
    • 资源位名称
    • └ pid
    • String
    • alsc_xxxx_xxxx_xxxx
    • 资源位pid

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    AlibabaAlscUnionMediaZoneGetRequest req = new AlibabaAlscUnionMediaZoneGetRequest();
    req.setPage(1L);
    req.setLimit(10L);
    AlibabaAlscUnionMediaZoneGetResponse rsp = client.execute(req, sessionKey);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <alibaba_alsc_union_media_zone_get_response>
        <result_success>true</result_success>
        <biz_error_desc>参数不能为空</biz_error_desc>
        <total_count>150</total_count>
        <biz_error_code>-1</biz_error_code>
        <result>
            <zone_info_d_t_o>
                <name>5353534</name>
                <pid>alsc_xxxx_xxxx_xxxx</pid>
            </zone_info_d_t_o>
        </result>
    </alibaba_alsc_union_media_zone_get_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

    返回
    顶部