Analytics : Missing retweets metric for quoted tweets

analytics

#1

Hello,

We use the analytics API to retrieve stats from some tweets, but it seems that the number of retweet returned by the api for quoted tweets is always null.

Is this behavior normal ? all other metrics are returned correctly.

Example :

URL:
https://ads-api.twitter.com/2/stats/jobs/accounts/xxxxxxxx

Parameters :

{  
     "start_time":"2018-01-25T23:00:00Z",
     "segmentation_type":null,
     "entity_ids":968632640596267008,
     "end_time":"2018-04-25T22:00:00Z",
     "country":null,
     "placement":"ALL_ON_TWITTER",
     "granularity":"TOTAL",
     "entity":"ORGANIC_TWEET",
     "platform":null,
     "metric_groups":"ENGAGEMENT"
}

Job result :

‌{  
   "data_type":"stats",
   "time_series_length":1,
   "data":[  
      {  
         "id":"968632640596267008",
         "id_data":[  
            {  
               "segment":null,
               "metrics":{  
                  "impressions":[  
                     672163
                  ],
                  "tweets_send":null,
                  "qualified_impressions":null,
                  "follows":[  
                     9
                  ],
                  "app_clicks":[  
                     1314
                  ],
                  "retweets":null,
                  "likes":[  
                     8589
                  ],
                  "engagements":[  
                     27005
                  ],
                  "clicks":[  
                     26928
                  ],
                  "card_engagements":null,
                  "poll_card_vote":null,
                  "replies":[  
                     68
                  ],
                  "url_clicks":null,
                  "carousel_swipes":null
               }
            }
         ]
      }
   ],
   "request":{  
      "params":{  
         "start_time":"2018-01-25T23:00:00Z",
         "segmentation_type":null,
         "entity_ids":[  
            968632640596267008
         ],
         "end_time":"2018-04-25T22:00:00Z",
         "country":null,
         "placement":"ALL_ON_TWITTER",
         "granularity":"TOTAL",
         "entity":"ORGANIC_TWEET",
         "platform":null,
         "metric_groups":[  
            "ENGAGEMENT"
         ]
      }
   }
}

Thank you in advance,

Thomas


#2

Thanks for the question, @Chokapix41.

I’m not able to repro this.

$ twurl -H ads-api.twitter.com "/3/stats/accounts/18ce54d4x5t?entity=ORGANIC_TWEET&entity_ids=973002610033610753&metric_groups=ENGAGEMENT&placement=ALL_ON_TWITTER&granularity=TOTAL&start_time=2018-03-11&end_time=2018-03-18"
{
  "data_type": "stats",
  "time_series_length": 1,
  "data": [
    {
      "id": "973002610033610753",
      "id_data": [
        {
          "segment": null,
          "metrics": {
            "impressions": [
              397
            ],
            "tweets_send": null,
            "qualified_impressions": null,
            "follows": null,
            "app_clicks": null,
            "retweets": [
              1
            ],
            "likes": [
              2
            ],
            "engagements": [
              26
            ],
            "clicks": [
              17
            ],
            "card_engagements": null,
            "poll_card_vote": [
              6
            ],
            "replies": null,
            "url_clicks": null,
            "carousel_swipes": null
          }
        }
      ]
    }
  ],
  "request": {
    "params": {
      "start_time": "2018-03-11T08:00:00Z",
      "segmentation_type": null,
      "entity_ids": [
        973002610033610753
      ],
      "end_time": "2018-03-18T07:00:00Z",
      "country": null,
      "placement": "ALL_ON_TWITTER",
      "granularity": "TOTAL",
      "entity": "ORGANIC_TWEET",
      "platform": null,
      "metric_groups": [
        "ENGAGEMENT"
      ]
    }
  }
}

I’m seeing the values I expect, given the time range.

It’s not clear why the specific Tweet you looked up returned no Retweets, though. This is likely something we won’t be able to take a close look at.


#4

Thanks for your reply !

Your test is working because the selected tweet is not a quoted tweet.

The problem is reproducible only for tweets that quotes another tweet like this one : https://twitter.com/DominGo/status/968632640596267008


#5

Thanks for the clarification, @Chokapix41! Let us see what the issue might be here. It’ll likely be next week at the earliest. Thanks.