V1 Stats API returns null values when breaking by segmentation type

analytics
api

#1

When calling v1 stats api with segment_type, all values returned are null. Sample API call:

twurl -t -H ads-api.twitter.com '/1/stats/accounts/:account_id?metric_groups=ENGAGEMENT,BILLING,MOBILE_CONVERSION&placement=ALL_ON_TWITTER&granularity=HOUR&start_time=2016-05-11T00:00:00-07:00Z&end_time=2016-05-14T18:00:00-07:00Z&entity=PROMOTED_TWEET&segmentation_type=KEYWORDS&entity_ids=:entity_ids'

Sample output:

{
    "data": [
        {   
            "id": ":entity_id",
            "id_data": [
                {   
                    "metrics": {
                        "app_clicks": null,
                        "card_engagements": null,
                        "carousel_swipes": null,
                        "clicks": null,
                        "engagements": null,
                        "follows": null,
                        "impressions": null,
                        "likes": null,
                        "qualified_impressions": null,
                        "replies": null,
                        "retweets": null,
                        "url_clicks": null
                    },
                    "segment": null
                }
            ]
        }
    ],
    "data_type": "stats",
    "request": {
        "params": {
            "country": null,
            "end_time": "2016-05-15T01:00:00Z",
            "entity": "PROMOTED_TWEET",
            "entity_ids": [
                ":entity_id"
            ],
            "granularity": "HOUR",
            "metric_groups": [
                "ENGAGEMENT"
            ],
            "placement": "ALL_ON_TWITTER",
            "platform": null,
            "segmentation_type": null,
            "start_time": "2016-05-11T07:00:00Z"
        }
    },
    "time_series_length": 90
}

#2

Hi @kai! Segmented data can only be got using asynchronous requests.