Ask a Question
Back to All

Unable to find how to get reporting data by applying custom date range filter

Hello Team,

I am not able to find how we can filter reporting API by custom date range. I am trying to implement reporting API 2.0. Following is my API request for your reference:

curl -X POST
-H 'content-type: application/json'
-d '{
"view": "performance_agg",
"fields": ["account_id","bid_day","impression","clicks"],
"limit": 30000,
"filters": {
"account_id_filter": "2,5",
"bid_day": "last 30 days"
"result_format": "json",
"sorts": ["bid_day ASC"]

I need to use the bid_day filter with a custom date range for example I want to fetch data from "2021-05-01" to "2021-05-10".

I am using the same date range filtering into the 0.5 version by using following syntax:

Can you please help me with this?