Unable to get data from API


Hello, we are using script:

“status”: “PROCESSING”,
“created_at”: “2017-05-17T05:22:25Z”,
“placement”: “PUBLISHER_NETWORK”,
“account_id”: “------------”,
“metric_groups”: [
“url”: null,
“country”: null,
“start_time”: “2017-04-13T21:00:00Z”,
“updated_at”: “2017-05-17T05:22:25Z”,
“expires_at”: null,
“entity”: “CAMPAIGN”,
“platform”: null,
“id_str”: “--------------”,
“granularity”: “DAY”,
“entity_ids”: [
“segmentation_type”: null,
“id”: ----------------,
“end_time”: “2017-05-16T21:00:00Z”

Usually it works, but now status is Processing for more than 24 hours.



Coudl you provide to us the request you are making?

It will be better if is in “twurl” format.




Thank you for your reply.

The request:
accound_id = ‘18ce54a6toe’

url = ‘https://ads-api.twitter.com/1/stats/jobs/accounts/’ + accound_id + ‘/?’

print session.get(url, params = {‘job_ids’ : ‘865514697835003906’}).json()

Some jobs a get stuck permanently in processing status. For instance the one with id 865514697835003906.


Have you tryed to DELETE the job and create it again with the same data? In order to see if it’s related to the data you have requested, or if is something different.