Get in Touch

In order to use the reporting API resource please request a Private Key from your point of contact at display.io.

API Structure

To call the Developer API you will need to initiate GET requests including your API key, the API method name and it’s parameters. The API response is a json structure containing a status field indicating the success or failure of the API call and a data field containing the response payload.

Endpoint URL

http://api.brand.display.io/api/developerAPI

Reporting time zone – UTC.

API Methods

 getReport
The getReport method gives developers access to query their performance report, filtered by a set of time range options. It also let’s developers group their report by a variety of dimensions. The metrics returned from this method include: clicks, imps (Impressions), revenue (Net Revenue), ecpm, ctr and fill.

Example API Request URL

http://api.brand.display.io/api/developerAPI?method=getReport&key=rZA79f896iCOTJ2ZzpeRj4k82MEBfZCmMfrSKmE50bSePaQKRQ8A&dimensions=day&timeperiod=Last%20Month

Request Parameters

Param Options Example
dimensions placement, placementId, adUnit, platform, integration, inventory, inventoryId, adUnitSizes, bundleDomain, day, month, country, countryCode, label dimensions=placement,day
timeperiod Today, Yesterday, ThisWeek, Last Week, ThisMonth, Last Month, ThisYear timeperiod=Last%20Month
timerangefrom “2023-01-05” timerangefrom=2023-01-05
timerangeto “2023-01-06” timerangeto=2023-01-06

 

To apply filtering specify the required dimension and values using comma as a separator via paramter filters as:
&filters[dimension]=value1,value2,value3

Example:
&filters[inventoryId]=8764,8765

 

Response Structure

Field Type Description
resNumRows int Number of results in the rows field
sums object List of metric values for the queried time range
rows array The resulted rows grouped as requested in the dimensions parameter

Example Response

{
"status": "success",
"data":
{
"sums": {
"clicks": 403,
"imps": 4803,
"revenue": "$14.15",
"ecpm": "$2.95",
"ctr": "8.39%",
"fill": "88.20%"
},
"resNumRows": 7,
"rows": [
{
"clicks": 30,
"imps": 459,
"revenue": "$0.00",
"ecpm": "$0.00",
"ctr": "6.54%",
"fill": "86.17%",
"placement": "Interstitial Ad 1",
"app": "My Special App",
"inventoryId": 3635,
"day": "2016-11-07"
},
{
"clicks": 55,
"imps": 653,
"revenue": "$0.00",
"ecpm": "$0.00",
"ctr": "8.42%",
"fill": "87.75%",
"placement": "Interstitial Ad 1",
"app": "My Special App",
"inventoryId": 3635,
"day": "2016-11-06"
},
{
"clicks": 72,
"imps": 657,
"revenue": "$7.00",
"ecpm": "$10.65",
"ctr": "10.96%",
"fill": "87.15%",
"placement": "Interstitial Ad 1",
"app": "My Special App",
"inventoryId": 3635,
"day": "2016-11-05"
},
{
"clicks": 55,
"imps": 615,
"revenue": "$0.00",
"ecpm": "$0.00",
"ctr": "8.94%",
"fill": "83.69%",
"placement": "Interstitial Ad 1",
"app": "My Special App",
"inventoryId": 3635,
"day": "2016-11-04"
},
{
"clicks": 60,
"imps": 745,
"revenue": "$3.50",
"ecpm": "$4.70",
"ctr": "8.05%",
"fill": "86.49%",
"placement": "Interstitial Ad 1",
"app": "My Special App",
"inventoryId": 3635,
"day": "2016-11-03"
},
{
"clicks": 63,
"imps": 780,
"revenue": "$3.50",
"ecpm": "$4.49",
"ctr": "8.08%",
"fill": "87.99%",
"placement": "Interstitial Ad 1",
"app": "My Special App",
"inventoryId": 3635,
"day": "2016-11-02"
},
{
"clicks": 68,
"imps": 894,
"revenue": "$0.15",
"ecpm": "$0.17",
"ctr": "7.61%",
"fill": "96.03%",
"placement": "Interstitial Ad 1",
"app": "My Special App",
"inventoryId": 3635,
"day": "2016-11-01"
}
]
}
,
"warnings": []
}
NOTE:
For OpenWrap and Prebid Integrations stats are available in PST time zone. Also by request stats can be sent within scheduled email in UTC time zone.