消耗数据
生成展示广告推广消耗数据报告
HTTP请求方式
POST
请求地址
https://api.e.360.cn/display/report/cost
| 字段 |
类型 |
必须 |
描述 |
| Content-Type |
string |
yes |
application/x-www-form-urlencoded |
| apiKey |
string |
yes |
注册时分配到的api key,该参数作为HTTP HEAD字段传递。 |
| accessToken |
string |
yes |
访问token |
Body 请求参数
| 字段 |
类型 |
必须 |
描述 |
| startDate |
date |
yes |
起始时间,最大跨度90天,不包括当天 |
| endDate |
date |
yes |
截至时间,不包括当天 |
| level |
string |
yes |
物料层级,目前仅支持account级别 |
| page |
int |
no |
请求的页码,默认为1,一页固定为1000条数据 |
请求示例
curl -X POST \
--header 'apiKey:APIKEY' \
--data 'startDate=STARTDATE&endDate=ENDDATE&level=LEVEL&page=PAGE' \
'https://api.e.360.cn/display/report/cost'
返回结果
{
"count": 2,
"cost":[
{
"date": "2018-06-10",
"advertiserId": "230053",
"campaignId": "1381767",
"groupId": "13176074",
"bannerId": "66242783",
"views": "31",
"clicks": "0",
"totalCost": "0.00000",
"quickNum": "5",
"advertiserName": "广告主名称",
"campaignName": "推广计划名称",
"campaignType": "推广计划类型",
"groupName": "推广组名称",
"bannerName": "创意名称1",
"link": "http://www.360.cn",
"materialUrls": [
"http://s3m.mediav.com/n2ffe78632faheend.jpg"
],
"urlParam": "__params__"
},
{
"date": "2018-06-10",
"advertiserId": "230053",
"campaignId": "1381767",
"groupId": "13176074",
"bannerId": "66242783",
"views": "31",
"clicks": "0",
"totalCost": "0.00000",
"quickNum": "5",
"advertiserName": "广告主名称",
"campaignName": "推广计划名称",
"campaignType": "推广计划类型",
"groupName": "推广组名称",
"bannerName": "创意名称2",
"link": "http://www.360.cn",
"materialUrls": [
"http://s3m.mediav.com/n2ffe78632faheend.jpg"
],
"urlParam": "__params__"
}
]
}
返回结果说明
| 字段 |
类型 |
描述 |
| count |
int |
返回记录总条数 |
| date |
string |
日期 |
| advertiserId |
string |
展示广告系统里的广告主ID |
| campaignId |
string |
推广计划ID |
| groupId |
string |
推广组ID |
| bannerId |
string |
创意ID |
| views |
string |
展现 |
| clicks |
string |
点击 |
| totalCost |
string |
消耗 |
| quickNum |
string |
KA广告主快转化数 |
| advertiserName |
string |
广告主名称 |
| campaignName |
string |
推广计划名称 |
| campaignType |
string |
推广计划类型 |
| groupName |
string |
推广组名称 |
| bannerName |
string |
创意名称 |
| link |
string |
创意落地页链接 |
| materialUrls |
array |
素材内容 |
| urlParam |
string |
后置监测参数 |