Show Report

πŸ“˜

GET https://api.kayzen.io/v1/reports/:id

Use this API to get the report's metadata and query parameters like report filters, metrics, group_by etc

curl -X GET \
'https://api.kayzen.io/v1/reports/2641' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer ACCESS_TOKEN'
{  
   "id":2641,
   "advertiser_id":10298,
   "name":"Report 1",
   "start_date":"2019-04-19",
   "end_date":"2019-04-25",
   "date_macro":"last_seven_days",
   "time_zone_id":11,
   "metrics":[  
      "wins",
      "impressions",
      "clicks",
      "installs",
      "win_rate",
      "ctr",
      "conversion_rate",
      "advertiser_ecpm",
      "advertiser_ecpi",
      "advertiser_ecpc",
      "advertiser_spend",
      "advertiser_margin",
      "advertiser_margin_per"
   ],
   "filters":{  
      "campaign_id":[  
         108996,
         108997
      ]
   },
   "group_by":[  
      "day",
      "line_item_id",
      "campaign_id"
   ],
   "attribution_types":[
     "click",
     "view"
   ],
   "attribution_sources":[
     "mmp",
     "self"
   ],
   "created_at":"2019-04-24T21:45:33.000Z",
   "last_updated_at":null,
   "time_zone_name":"(GMT+00:00) UTC"
}