Hi,
I am trying to get organic data for Tweets, but the data returned by the Ads API doesn’t correspond to the data displayed in the Twitter Ads UI.
1) Difference on 13th January
GET https://ads-api.twitter.com/0/stats/accounts/oz2mvk/organic_tweets
with params:
"params": {
"tweet_ids": "643405483760590848",
"start_time": "2016-01-11",
"end_time": "2016-01-16",
"granularity": "DAY",
"metrics": "organic_tweet_impressions"
}
the response: ( account timezone )
{
"data": {
"data_type": "stats",
"data": [
{
"start_time": "2016-01-11T08:00:00Z",
"organic_tweet_impressions": [
1,
0,
352,
8,
2
],
"end_time": "2016-01-16T08:00:00Z",
"id": "643405483760590848",
"granularity": "DAY"
}
],
"request": {
"params": {
"start_time": "2016-01-11T08:00:00Z",
"end_time": "2016-01-16T08:00:00Z",
"tweet_ids": [
643405483760590800
],
"account_id": "oz2mvk",
"granularity": "DAY",
"metrics": [
"organic_tweet_impressions"
]
}
}
}
}
picture of Ads UI(Timezone Europe/Prague):

Aggregated data to days from hourly data for all tweets (in Timezone Europe/Prague ):

(Screenshot of my console with the aggregations of data downloaded by Ads API).
I get HOUR data and save them in UTC timezone, than I calculate sum for Europe/Prague timezone. The difference is in Ads UI, where for 13. Januar missing around 300 impressions. Can you please explain why?
2) Similar problem as in 1) but now at 7th and 8th of February
Ads UI:

Aggregated data to days from hourly data for all tweets (in Timezone Europe/Prague ):

I don’t know which tweet make this difference from all tweets, so I couldn’t provide API call. There are differences every day, but 7th it’s 59 vs 22 and 8th it’s 196 vs 67. These days have the biggest differences.
3) History Question
I would like to ask how impressions of each tweet are counted to the chart in Ads UI and in which history? For these examples I count all tweets and replies from 2015-01-01. If i check TOTAL data for every tweet, than the sum is correct. But when I make sum of all data from all tweets for the whole account, I find differences between the result and the chart Ads UI .
4) Timezones.
I have found that api call for DAY and TOTAL is returned by account timezone. But what timezone are in Ads UI on web? I tried changing computer timezone and the chart was the same. I would like to change view to another timezone, is it possible?
If you need more information, let me now. Thanks for your help.
Thank you.