@XTrade: We’re able to retrieve data for this account—for a specific campaign and for the account:
Campaign
$ twurl -H ads-api.twitter.com "/1/stats/accounts/18ce543zuof?start_time=2017-01-21&end_time=2017-01-28&entity=CAMPAIGN&entity_ids=7an4t&metric_groups=ENGAGEMENT&granularity=TOTAL&placement=ALL_ON_TWITTER" | jq
{
"data_type": "stats",
"time_series_length": 1,
"data": [
{
"id": "7an4t",
"id_data": [
{
"segment": null,
"metrics": {
"impressions": [
171313
],
"tweets_send": null,
"qualified_impressions": null,
"follows": [
13
],
"app_clicks": [
1525
],
"retweets": [
5
],
"likes": [
52
],
"engagements": [
2390
],
"clicks": [
839
],
"card_engagements": [
1525
],
"replies": [
8
],
"url_clicks": null,
"carousel_swipes": null
}
}
]
}
],
"request": {
"params": {
"start_time": "2017-01-20T22:00:00Z",
"segmentation_type": null,
"entity_ids": [
"7an4t"
],
"end_time": "2017-01-27T22:00:00Z",
"country": null,
"placement": "ALL_ON_TWITTER",
"granularity": "TOTAL",
"entity": "CAMPAIGN",
"platform": null,
"metric_groups": [
"ENGAGEMENT"
]
}
}
}
Account
$ twurl -H ads-api.twitter.com "/1/stats/accounts/18ce543zuof?start_time=2017-01-21&end_time=2017-01-28&entity=ACCOUNT&entity_ids=18ce543zuof&metric_groups=ENGAGEMENT&granularity=TOTAL&placement=ALL_ON_TWITTER" | jq
{
"data_type": "stats",
"time_series_length": 1,
"data": [
{
"id": "18ce543zuof",
"id_data": [
{
"segment": null,
"metrics": {
"impressions": [
2732965
],
"follows": [
294
],
"retweets": [
113
],
"likes": [
980
],
"engagements": [
42968
],
"replies": [
93
]
}
}
]
}
],
"request": {
"params": {
"start_time": "2017-01-20T22:00:00Z",
"segmentation_type": null,
"entity_ids": null,
"end_time": "2017-01-27T22:00:00Z",
"country": null,
"placement": "ALL_ON_TWITTER",
"granularity": "TOTAL",
"entity": "ACCOUNT",
"platform": null,
"metric_groups": [
"ENGAGEMENT"
]
}
}
}