Thanks for the question, @matthixson. You can use segmentation_type=AUDIENCES on the asynchronous analytics job create request.
Here’s an example of what the output (the contents of the gzipped file) looks like.
{
"data_type": "stats",
"time_series_length": 1,
"data": [
{
"id": "d7muq",
"id_data": [
{
"segment": {
"segment_name": "twurl-using-subshell-for-file",
"segment_value": "1nmth"
},
"metrics": {
"impressions": [
28
],
"tweets_send": null,
"qualified_impressions": null,
"follows": null,
"app_clicks": null,
"retweets": null,
"unfollows": null,
"likes": null,
"engagements": null,
"clicks": null,
"card_engagements": null,
"poll_card_vote": null,
"replies": null,
"url_clicks": null,
"carousel_swipes": null
}
}
]
}
],
"request": {
"params": {
"start_time": "2018-12-16T08:00:00Z",
"segmentation_type": "AUDIENCES",
"entity_ids": [
"d7muq"
],
"end_time": "2018-12-18T08:00:00Z",
"country": null,
"placement": "ALL_ON_TWITTER",
"granularity": "TOTAL",
"entity": "LINE_ITEM",
"platform": null,
"metric_groups": [
"ENGAGEMENT"
]
}
}
}