@JerryAclan: This simply means that there was no data for the time period you’re making the request for.
For example, the following campaign only has PUBLISHER_NETWORK engagement for the time period specified. The ALL_ON_TWITTER data is all null.
# Publisher Network
$ twurl -H ads-api.twitter.com "/1/stats/accounts/18ce54d4x5t?start_time=2016-09-19&end_time=2016-09-24&entity=CAMPAIGN&entity_ids=5v90x&metric_groups=ENGAGEMENT&granularity=TOTAL&placement=PUBLISHER_NETWORK" | jq
{
"data_type": "stats",
"time_series_length": 1,
"data": [
{
"id": "5v90x",
"id_data": [
{
"segment": null,
"metrics": {
"impressions": [
4
],
"tweets_send": null,
"qualified_impressions": null,
"follows": null,
"app_clicks": [
1
],
"retweets": null,
"likes": null,
"engagements": [
1
],
"clicks": [
1
],
"card_engagements": null,
"replies": null,
"url_clicks": [
1
],
"carousel_swipes": null
}
}
]
}
],
"request": {
"params": {
"start_time": "2016-09-19T07:00:00Z",
"segmentation_type": null,
"entity_ids": [
"5v90x"
],
"end_time": "2016-09-24T07:00:00Z",
"country": null,
"placement": "PUBLISHER_NETWORK",
"granularity": "TOTAL",
"entity": "CAMPAIGN",
"platform": null,
"metric_groups": [
"ENGAGEMENT"
]
}
}
}
# All on Twitter
$ twurl -H ads-api.twitter.com "/1/stats/accounts/18ce54d4x5t?start_time=2016-09-19&end_time=2016-09-24&entity=CAMPAIGN&entity_ids=5v90x&metric_groups=ENGAGEMENT&granularity=TOTAL&placement=ALL_ON_TWITTER" | jq
{
"data_type": "stats",
"time_series_length": 1,
"data": [
{
"id": "5v90x",
"id_data": [
{
"segment": null,
"metrics": {
"impressions": null,
"tweets_send": null,
"qualified_impressions": null,
"follows": null,
"app_clicks": null,
"retweets": null,
"likes": null,
"engagements": null,
"clicks": null,
"card_engagements": null,
"replies": null,
"url_clicks": null,
"carousel_swipes": null
}
}
]
}
],
"request": {
"params": {
"start_time": "2016-09-19T07:00:00Z",
"segmentation_type": null,
"entity_ids": [
"5v90x"
],
"end_time": "2016-09-24T07:00:00Z",
"country": null,
"placement": "ALL_ON_TWITTER",
"granularity": "TOTAL",
"entity": "CAMPAIGN",
"platform": null,
"metric_groups": [
"ENGAGEMENT"
]
}
}
}