For a specific account there is data shown in the ui, but if we request data for the same data range from the API the values are null in the response.

The original call is:

 "url": "https://ads-api.twitter.com/10/stats/jobs/accounts/{accountId}
 "method": "GET",
 "oauth": {...},
 "json": true

Then we request the data for all the returned urls which fall into the last year based on the start_time and end_time property of the corresponding object.

The responses look like:

{
"result": "{\"data_type\":\"stats\",\"time_series_length\":1,\"data\":[{\"id\":{id},\"id_data\":[{\"segment\":null,\"metrics\":{\"impressions\":null,\"follows\":null,\"retweets\":null,\"unfollows\":null,\"likes\":null,\"engagements\":null,\"replies\":null}}]}],\"request\":{\"params\":{\"start_time\":{start time},\"segmentation_type\":null,\"entity_ids\":null,\"end_time\":{end_ time},\"country\":null,\"placement\":\"ALL_ON_TWITTER\",\"granularity\":\"TOTAL\",\"entity\":\"ACCOUNT\",\"platform\":null,\"metric_groups\":[\"ENGAGEMENT\"]}}}",
"dateRange": {...}
}

Screenshot about the ui:

Could you please help us to resolve this issue.

We are still experiencing the issue.

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