When I make a POST to the asynchronous stats endpoint, I am also now adding the header “Accept-encoding: gzip” for that post request. It said it was necessary only for requests made out to the asynch (POST) analytics endpoint https://dev.twitter.com/ads/reference/1/get/stats/jobs/accounts/%3Aaccount_id. All adding this header seemed to do I encode the response from the POST endpoint. So I decode the message and keep querying the GET 1/stats/jobs/accounts endpoint until I get the URL.
Now that I have the URL, how do I use this to get Twitter Ads stats data? My URL looks like https://ton.twimg.com/advertiser-api-async-analytics/[sensitive_info].json.gz