第 2 章 广告主接口

目录

营业执照查询(废弃)

根据参数licNums查询license是否存在。

http://amp.ad.sina.com.cn/sax/interface/idea/LicenseStatus!queryLicState.action

参数必选类型含义
dspIdLongDSP在ADX系统中的ID,用来标识使用API的是哪个DSP
tokenStringDSP对应的token值,用来进行权限验证
licNumsJsonArray营业执照编号

licNums参数:

[ {
    "id" : 1
}, {
    "id" : 2
}, {
    "id" : 3
} ]

调用成功:

[ {
    "id" : 1,// 营业执照编号
    "state" : 1// 0 为不存在 1为存在
}, {
    "id" : 2,
    "state" : 0
} ]

调用失败:

{
    "data" : {},
    "status" : 1,
    "statusInfo" : {
        "global" : "访问拒绝"
    }
}