Demand Reports - Example: Get All Demands

Adi Heymann -

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

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

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 <token>'

 

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"

   }

 }

}

Have more questions? Submit a request

0 Comments

Article is closed for comments.