Hi,
I am using api ads twitter on sandbox. So, how I can get the data Ads Insights of one account filter by : DEVICE,LOCATION,HOURLY.

Additionally, I want to ask about the meaning of time_series_length fields .

Hey @HieuAgust ,

Can you please provide the exact request and response bodies of the request using twurl, along with the actual versus expected output?

As for the time_series_length, could you provide additional details around where you’re seeing this field?

Thanks!

1 Like

Thanks @imi8me for responding me!
All your information is below:


Please help me with this issue
Have a nice day!

Thanks for those details! The time_series_length value corresponds to size, or the number of data points available for the request. For example, in your request you’ve asked for data between 2018-10-12 and 2018-10-16 (4 days) with an HOUR granularity which would correspond to

4 (days) * (24 hours) = 96 (hours).

When inspecting the individual stats e.g., the id_data['impressions'] field, this will be an array of 96 individual values (if not null), corresponding to each hour between the start_time and end_time

Hope that helps!

Thanks!

1 Like

Hi,
Thanks for your response!
It means that when id_data not null when show the information for 96 times when I choose the “granularity” = “Hour”?
And when show like that , the data in id_data will have the time for each hour ?

Please share with me and i am looking forward to hearing from your response ASAP.

BR,
Hieu Nguyen

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.