SSP Banner AD. Report API (for DSP)
1 minute read
Chansup Yang
SSP DSP
The MezzoMedia SSP calls the DSP Report API as follows.
The response to SSP is in the form of json array and distinguish between upper and lower case characters. If there are any additional cautions or additions when call the DSP API, please share them us.
API request URL
Request Url |
Description |
http://{DSP domain} |
DSP API url that can be called by the MezzoMedia |
API Request parameter
Field |
Required |
Description |
Example |
key |
optional |
It can be used if DSP wants to define each SSP. |
44800908 |
sdate |
required |
start date (yyyy-mm-dd) |
2019-01-01 |
edate |
required |
end date (yyyy-mm-dd) |
2019-01-01 |
API Response field
Field |
Description |
date |
search date(2018-10-02) |
pubid |
site ID or app ID |
request |
request count |
imps |
impression count |
click |
click count |
revenue |
publisher revenue ( VAT excluded ) |
… |
Please share any additional values. |
Report API Sample
Sample url |
Description |
{DSP URL}?key={keyvalue}&sdate=2018-09-30&edate=2018-10-03 |
if there is key value |
{DSP URL}?sdate=2018-09-30&edate=2018-10-03 |
if no key value exists |
Report API Response Sample
{
"data": [
{
"pubid": "0338E1B551069026A4EA5B805413E2FD",
"date": "20181121",
"request": 1588,
"imps": 1588,
"click": 1,
"revenue": 70
},
{
"pubid": "0338E1B551069026A4EA5B805413E555",
"date": "20181121",
"request": 33,
"imps": 33,
"click": 1,
"revenue": 70
},
{
"pubid": "0338E1B551069026A4EA5B805413E666",
"date": "20181121",
"request": 44,
"imps": 55,
"click": 1,
"revenue": 70
},
...
]
}