资源位置查询

查询当前可以使用的资源位置。

http://amp.ad.sina.com.cn/sax/interface/idea/adposWdht!queryAdpos.action

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

调用成功:

{
    "data" : {
        "adposWdhtList" : [ {
            "adposId" : "PDPS000000046907",
            "wdht" : "0~10",
            "screenIndex" : "",
            "adposName" : "娱乐首页要闻区文字链02",
            "channel" : "21"
        }, {
            "adposId" : "PDPS000000046908",
            "wdht" : "0~10",
            "screenIndex" : "",
            "adposName" : "娱乐首页娱乐微博下文字链",
            "channel" : "21"
        }, {
            "adposId" : "PDPS000000004891",
            "wdht" : "0~10",
            "screenIndex" : "",
            "adposName" : "互动2012各频道入口页娱乐首页要闻区互动2012入口文字链01",
            "channel" : "37"
        } ]
    }
}

调用失败:

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