KA地域报表
生成展示广告KA广告主分地域报表
HTTP请求方式
POST
请求地址
https://api.e.360.cn/display/report/karegioncost
| 字段 |
类型 |
必须 |
描述 |
| 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/karegioncost'
返回结果
{
"count": 2,
"cost":[
{
"adcost": "0.00000",
"advertiserName": "展示产品测试_1",
"advertiserId": "387528",
"cityName": "其他",
"cityId": "0",
"countryName": "其他",
"countryId": "0",
"date": "2019-07-06",
"nc": "0",
"ns": "0",
"provinceName": "其他",
"provinceId": "0"
},
{
"adcost": "0.39425",
"advertiserName": "展示产品测试_1",
"advertiserId": "387528",
"cityName": "其他",
"cityId": "0",
"countryName": "中国",
"countryId": "1",
"date": "2019-07-06",
"nc": "0",
"ns": "9193",
"provinceName": "其他",
"provinceId": "0"
}
]
}
返回结果说明
| 字段 |
类型 |
描述 |
| count |
int |
返回记录总条数 |
| date |
string |
日期 |
| advertiserId |
string |
展示广告系统里的广告主ID |
| courtryId |
string |
国家ID |
| provinceId |
string |
省份ID |
| cityId |
string |
城市ID |
| ns |
string |
展现 |
| nc |
string |
点击 |
| adcost |
string |
消耗 |
| advertiserName |
string |
广告主名称 |
| countryName |
string |
国家名称 |
| provinceName |
string |
省份名称 |
| cityName |
string |
城市名称 |