13. h5 广告上报
<h3>广告曝光上报</h3>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/api/h5/adstat/exposure</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </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;">data</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>json数据,如下:</td>
</tr>
</tbody>
</table>
<p>请求的 data 示例, 支持批量上报</p>
<pre><code>[
{
"ad_group":"general_ad",
"ad_id":"40",
"material_id":"36"
},
]
</code></pre>
<h3>广告点击上报</h3>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/api/h5/adstat/click_report</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </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;">data</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>json数据,如下:</td>
</tr>
</tbody>
</table>
<p>请求的 data 示例, 支持批量上报</p>
<pre><code>[
{
"ad_group":"general_ad",
"ad_id":"40",
"material_id":"36"
},
]
</code></pre>