Demand Reports - Example: Get All Demands

GET https://api.cedato.com/api/reports/demands/basic

Headers:
accept: application/json
api-version: 1
authorization: Bearer

cURL example:

curl --request GET \

 --url https://api.cedato.com/api/reports/demands/basic \

 --header 'accept: application/json' \

 --header 'api-version: 1' \

 --header 'authorization: Bearer '

 

Response example:

The API server returns a response similar to this:

{

 "status": "OK",

 "data": {

   "demands": [

     {

       "demand_id": "1",

       "name": "video1",

       "ad_requests": "0",

       "ad_loads": "0",

       "ad_starts": "0",

       "completed": "0",

       "reqs_starts": "1",

       "imps_time": "0",

       "ad_loads_precent": 0,

       "completed_percent": 0,

       "ad_starts_precent": 0,

       "avg_time": 0,

       "revenue": 0,

       "RPM": 0

     },

     {

       "demand_id": "4",

       "name": "test1",

       "ad_requests": "0",

       "ad_loads": "0",

       "ad_starts": "0",

       "completed": "0",

       "reqs_starts": "0",

       "imps_time": "0",

       "ad_loads_precent": 0,

       "completed_percent": 0,

       "ad_starts_precent": 0,

       "avg_time": 0,

       "revenue": 0,

       "RPM": 0

     }

   ],

   "navigation": {

     "next": "https://api.cedato.com/api/reports/demands/basic?offset=20&limit=20"

   }

 }

}

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us how can we improve this article!

Select atleast one of the reasons

Feedback sent

We apprciate your effort and will try to fix the article