Demand Reports - Example: Get all Demands by Supplies Filtered by 2 demands

Note: demand ids should be seperated by ‘,’

GET https://api.cedato.com/api/reports/demands/extended?group_by=supply_id&demand_id=1144977396,1

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

cURL example:

curl --request GET \

 --url 'https://api.cedato.com/api/reports/demands/extended?group_by=supply_id'&demand_id=1144977396,1 \

 --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",

       "supply_id": "0",

       "name": "video2",

       "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": "1144977396",

       "supply_id": "17469515",

       "name": "test123",

       "ad_requests": "21",

       "ad_loads": "20",

       "ad_starts": "0",

       "completed": "0",

       "reqs_starts": "0",

       "imps_time": "0",

       "ad_loads_precent": 100,

       "completed_percent": 0,

       "ad_starts_precent": 0,

       "avg_time": 0,

       "revenue": 0,

       "RPM": 0

     }

   ],

   "navigation": {

     "next": "https://api.cedato.com/api/reports/demands/extended?group_by=supply_id&offset=20&limit=20&demand_id=1144977396,1"

   }

 }

}

 

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