Report Results

📘

GET https://api.kayzen.io/v1/reports/:report_id/report_results

Returns results of a specific report. You should pass the report_id in the sample request to fetch the results for specific report. To know your report_id, please refer to List Reports (id in show reports is synonym for report_id)

See below for supported fields and param

FieldParamRequired/ OptionalDescription
page intoptionalReturns page number. Default Value- 1
per_page intoptionalSet number of rows per page. Default Value- 20
sort_field stringoptionalField to use for sort by function.
sort_direction asc/descoptionalShow results in ascending or descending order.Default value -'desc' order
start_date YYYY-MM-DDoptionalThe start date of a specific report can be changed while viewing the report results. eg: 2019-01-01
end_date YYYY-MM-DDoptionalThe end date of a specific report can be changed while viewing the report results. eg: 2019-03-01
curl -X GET \
'https://api.kayzen.io/v1/reports/2641/report_results?end_date=2019-03-01&page=1&per_page=25&sort_direction=desc&start_date=2019-03-01' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer ACCESS_TOKEN'
{  
   "data":[  
      {  
         "day":"2019-03-01",
         "wins":"601373",
         "impressions":"332826",
         "clicks":"60000000",
         "installs":{
           "click":{
             "mmp":"87550",
             "self":"90000"
           },
           "view":{
             "mmp":"90000",
             "self":"96000"
           }
         },
         "win_rate":0.548,
         "ctr":180.2744,
         "conversion_rate":{
           "click":{
             "mmp":"0.0015",
             "self":"0.0012"
           }
         }
         "advertiser_ecpm":278.02,
         "advertiser_ecpi":1.06,{
           "click":{
             "mmp":1.60,
             "self":1.20
           },
           "view":{
             "mmp":1.40,
             "self":1.10
           }
         },
         "advertiser_ecpc":0,
         "advertiser_spend":92532.26
      }
   ],
   "headers":[  
      "day",
      "wins",
      "impressions",
      "clicks",
      "installs",
      "win_rate",
      "ctr",
      "conversion_rate",
      "advertiser_ecpm",
      "advertiser_ecpi",
      "advertiser_ecpc",
      "advertiser_spend",
      "advertiser_margin",
      "advertiser_margin_per"
   ]
}