v1 Analytics API doesn't return twitter handles using SIMILAR_TO_FOLLOWERS_OF_USER

analytics
api

#1

When calling the v1 Analytics API to get Line Item stats broken by segmentation_type SIMILAR_TO_FOLLOWERS_OF_USER, it only returns one segment group named “Unknown”.

Here’s the query to reproduce the issue using v1 Analytics API:

twurl -H ads-api.twitter.com ‘/1/stats/accounts/:account_id?metric_groups=ENGAGEMENT&placement=ALL_ON_TWITTER&granularity=HOUR&start_time=2016-03-20T00:00:00-07:00Z&end_time=2016-03-23T19:00:00-07:00Z&entity=LINE_ITEM&segmentation_type=SIMILAR_TO_FOLLOWERS_OF_USER&entity_ids=:line_item_id’

Here’s the corresponding query using v0 Analytics API that correctly returns stats broken by twitter handle:

twurl -t -H ads-api.twitter.com ‘/0/stats/accounts/:account_id/line_items/:line_item_id?start_time=2016-03-22T00:00:00-07:00Z&end_time=2016-03-23T19:00:00-07:00Z&segmentation_type=SIMILAR_TO_FOLLOWERS_OF_USER’


#2

This is now working, thanks to fix mentioned here: No stats data for promoted_tweet entity using v1 analytics api