广告统计报表
<h4>接口说明</h4>
<hr />
<ul>
<li>接口功能描述
•获取广告位列表
<strong>请求URL:</strong> </li>
<li><code>http://domain/fy/statistics/getAdsStatisticsList</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST
• header Content-Type: application/x-www-form-urlencoded</li>
</ul>
<p><strong>请求参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">timeStart</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">Long</td>
<td>开始时间</td>
</tr>
<tr>
<td style="text-align: left;">timeEnd</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">Long</td>
<td>结束时间</td>
</tr>
<tr>
<td style="text-align: left;">adsPositionId</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">Integer</td>
<td>广告id</td>
</tr>
<tr>
<td style="text-align: left;">adsPositionName</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">String</td>
<td>广告名称</td>
</tr>
<tr>
<td style="text-align: left;">platformGenre</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">Short</td>
<td>平台类型。1:cms,2:wap,3:iOS,4:android</td>
</tr>
<tr>
<td style="text-align: left;">adsType</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">Short</td>
<td>广告类型。1:信息流,2:banner,3:插屏广告, 4:全屏视频,5:开屏广告,6:激励视频广告</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong></p>
<pre><code>{ "timeStart":1582992000000, "timeEnd":1583251200000}</code></pre>
<p><strong>返回示例</strong></p>
<pre><code> {
"result": "success",
"resultData": {
"adsStatisticsList": [
{
"clickScale": 0,
"backClickDistinctScale": 0,
"exposureWorth": 0,
"recordType": 2,
"adsCode": "131",
"platformType": 3,
"backClickAmountScale": 0,
"exposureAskAmountScale": 0,
"adsId": 1,
"ecmp": 0,
"clickExposureDistinctScale": 0,
"clickExposureAmountScale": 0,
"earnings": 0,
"exposureAmount": 1,
"exposure": 1,
"adsPositionName": "小飞传媒",
"exposureDistinct": 1,
"adsType": 1,
"clickWorth": 0,
"days": "2020-03-03",
"exposureAskDistinctScale": 0
},
{
"clickScale": 0.3333,
"backClickDistinctScale": 0,
"exposureWorth": 0,
"recordType": 3,
"adsCode": "132",
"platformType": 3,
"backClickAmountScale": 0,
"exposureAskAmountScale": 0,
"adsId": 2,
"click": 1,
"ecmp": 0,
"clickExposureDistinctScale": 0.3333,
"clickExposureAmountScale": 0.3333,
"earnings": 0,
"exposureAmount": 3,
"exposure": 3,
"adsPositionName": "福利中心底部广",
"exposureDistinct": 3,
"adsType": 1,
"clickWorth": 0,
"days": "2020-03-03",
"exposureAskDistinctScale": 0,
"clickAmountt": 1,
"clickDistinct": 1
},
{
"clickScale": 0,
"backClickDistinctScale": 0,
"exposureWorth": 0,
"recordType": 4,
"adsCode": "132",
"platformType": 0,
"backClickAmountScale": 0,
"exposureAskAmountScale": 0,
"adsId": 3,
"ecmp": 0,
"clickExposureDistinctScale": 0,
"clickExposureAmountScale": 0,
"earnings": 0,
"adsPositionName": "成语游戏",
"adsType": 6,
"clickWorth": 0,
"days": "2020-03-03",
"askDistinct": 1,
"exposureAskDistinctScale": 0,
"askAmount": 1
},
{
"clickScale": 0,
"backClickDistinctScale": 0,
"exposureWorth": 0,
"recordType": 2,
"adsCode": "132",
"platformType": 3,
"backClickAmountScale": 0,
"exposureAskAmountScale": 0,
"adsId": 2,
"ecmp": 0,
"clickExposureDistinctScale": 0,
"clickExposureAmountScale": 0,
"earnings": 0,
"exposureAmount": 1,
"exposure": 1,
"adsPositionName": "福利中心底部广",
"exposureDistinct": 1,
"adsType": 1,
"clickWorth": 0,
"days": "2020-03-02",
"exposureAskDistinctScale": 0
}
]
},
"resultCode": 0,
"resultMsg": "成功"
}</code></pre>
<p><strong>返回参数说明</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">resultCode</td>
<td style="text-align: left;">Integer</td>
<td>结果码</td>
</tr>
<tr>
<td style="text-align: left;">resultMsg</td>
<td style="text-align: left;">String</td>
<td>描述信息</td>
</tr>
<tr>
<td style="text-align: left;">resultData</td>
<td style="text-align: left;">Json</td>
<td>返回数据</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<pre><code>"clickScale": 0,//点击比例 a3
"backClickDistinctScale": 0,//去重 返回/点击c3
"exposureWorth": 0,//曝光价值
"recordType": 2,//记录类型 0-其他(备用), 1-打开app,2-曝光,3-点击,4-请求,5 : 返回
"adsCode": "131",//广告code
"platformType": 3,//平台类型。1:cms,2:wap,3:iOS,4:android
"backClickAmountScale": 0,//总数 返回/点击c6
"exposureAskAmountScale": 0,//总数 曝光/请求 c4
"adsId": 1,//广告id
"click": 1,//点击数a2
"ecmp": 0,//
"clickExposureDistinctScale": 0,// 去重 点击/曝光 c2
"clickExposureAmountScale": 0,// 总数 点击/曝光 c5
"earnings": 0,//收益
"exposureAmount": 1,//获取曝光总数b4
"exposure": 1,////获取去重曝光数 a1
"adsPositionName": "小飞传媒",//广告位名称
"exposureDistinct": 1,//去重曝光数b3
"adsType": 1,//广告类型。1:信息流,2:banner,3:插屏广告, 4:全屏视频,5:开屏广告,6:激励视频广告
"clickWorth": 0,//点击价值
"days": "2020-03-03",
"exposureAskDistinctScale": 0//去重 曝光/请求 c1
"clickAmountt": 1,//点击总数b6
"clickDistinct": 1//点击数 b5
"askDistinct":1,// 请求数b1
askAmount;//请求总数b2</code></pre>
<p><strong>resultCode对应的值</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">0</td>
<td>请求成功</td>
</tr>
<tr>
<td style="text-align: left;">-1</td>
<td>请求错误</td>
</tr>
<tr>
<td style="text-align: left;">-2</td>
<td>请求参数缺失</td>
</tr>
<tr>
<td style="text-align: left;">-3</td>
<td>用户未登录</td>
</tr>
<tr>
<td style="text-align: left;">-5</td>
<td>服务器异常</td>
</tr>
</tbody>
</table>