why do the values of reach are not matching with the platform when I’m fetching the data from the API?
I’m using the below API to fetch reach. Also, how do I pass timezone with dates in the call in this API, I’m getting error when I pass it.
Statistics differences between the API and UI are usually caused by a few different things:
- date ranges in the UI are inclusive while the
end_time is exclusive in the API, and
- the API will default to midnight in the accounts local timezone, if not specified
The timezone can be adjusted by modifying the time directly, such as 2021-09-28T08:00:00Z