Thank you Juan for responding so quickly.
The POST request is :
https://ads-api.twitter.com/1/stats/jobs/accounts/48g7op?end_time=2017-04-20T00%3A00%3A00Z&entity=ORGANIC_TWEET&entity_ids=853027657851838465&granularity=HOUR&metric_groups=ENGAGEMENT&placement=ALL_ON_TWITTER&segmentation_type=GENDER&start_time=2017-04-14T00%3A00%3A00Z
The response was:
{
"request": {
"params": {
"job_ids": [
854784792960937984
]
}
},
"data_type": "job",
"next_cursor": null,
"data": [
{
"start_time": "2017-04-14T00:00:00Z",
"segmentation_type": "GENDER",
"url": "https:\/\/ton.twimg.com\/advertiser-api-async-analytics\/vQTzDH8toD1bJCDCDd7yr_DNBQdqnTSHjnM6aSvmuzfHkglwqpCezM68ONFOFdaS4yJCNh4eJ-yAeNCDMWGmN7HENoKq1gBoCUGdQEof30htwpEvJCz6kHosb3mCqi77.json.gz",
"id_str": "854784792960937984",
"entity_ids": [
853027657851838465
],
"end_time": "2017-04-20T00:00:00Z",
"country": null,
"placement": "ALL_ON_TWITTER",
"id": 854784792960937984,
"expires_at": "2017-04-21T19:52:32Z",
"account_id": "48g7op",
"status": "SUCCESS",
"granularity": "HOUR",
"entity": "ORGANIC_TWEET",
"created_at": "2017-04-19T19:52:30Z",
"platform": null,
"updated_at": "2017-04-19T19:52:32Z",
"metric_groups": [
"ENGAGEMENT"
]
}
]
}
But when I downloaded the JSON.gz file, all it contains is :
{
"data_type": "stats",
"time_series_length": 144,
"data": [
{
"id": "853027657851838465",
"id_data": [
]
}
],
"request": {
"params": {
"start_time": "2017-04-14T00:00:00Z",
"segmentation_type": "GENDER",
"entity_ids": [
853027657851838465
],
"end_time": "2017-04-20T00:00:00Z",
"country": null,
"placement": "ALL_ON_TWITTER",
"granularity": "HOUR",
"entity": "ORGANIC_TWEET",
"platform": null,
"metric_groups": [
"ENGAGEMENT"
]
}
}
}
Thanks.
-jerry