@RileyJohnGibbs: Could you clarify what the issue is? Is the request to the POST /1/stats/jobs/accounts/:account_id endpoint not working when you specify segmentation_type? Or are you not seeing the data you expect to see?
Here are the results* of the async request you specified:
twurl -X POST -H ads-api.twitter.com "/1/stats/jobs/accounts/18ce54ba1mx?placement=ALL_ON_TWITTER&metric_groups=WEB_CONVERSION&start_time=2017-01-09T08:00:00Z&entity=CAMPAIGN&end_time=2017-01-11T08:00:00Z&granularity=TOTAL&entity_ids=758ab&segmentation_type=CONVERSION_TAGS"
{
"data_type":"stats",
"time_series_length":1,
"data":[
{
"id":"758ab",
"id_data":[
{
"segment":{
"segment_name":{segment_name},
"segment_value":"nvm0j"
},
"metrics":{
"conversion_purchases":{
"order_quantity_engagement":null,
"sale_amount_engagement":null,
"sale_amount_view":[
148500000
],
"post_view":[
2
],
"order_quantity":[
3000000
],
"assisted":null,
"post_engagement":null,
"sale_amount":[
148500000
],
"metric":[
2
],
"order_quantity_view":[
3000000
]
},
"conversion_sign_ups":{
"order_quantity_engagement":null,
"sale_amount_engagement":null,
"sale_amount_view":null,
"post_view":null,
"order_quantity":null,
"assisted":null,
"post_engagement":null,
"sale_amount":null,
"metric":null,
"order_quantity_view":null
},
"conversion_site_visits":{
"order_quantity_engagement":null,
"sale_amount_engagement":null,
"sale_amount_view":null,
"post_view":null,
"order_quantity":null,
"post_engagement":null,
"sale_amount":null,
"metric":null,
"order_quantity_view":null
},
"conversion_custom":{
"order_quantity_engagement":null,
"sale_amount_engagement":null,
"sale_amount_view":null,
"post_view":null,
"order_quantity":null,
"post_engagement":null,
"sale_amount":null,
"metric":null,
"order_quantity_view":null
},
"conversion_downloads":{
"order_quantity_engagement":null,
"sale_amount_engagement":null,
"sale_amount_view":null,
"post_view":null,
"order_quantity":null,
"post_engagement":null,
"sale_amount":null,
"metric":null,
"order_quantity_view":null
}
}
}
]
}
],
"request":{
"params":{
"start_time":"2017-01-09T08:00:00Z",
"segmentation_type":"CONVERSION_TAGS",
"entity_ids":[
"758ab"
],
"end_time":"2017-01-11T08:00:00Z",
"country":null,
"placement":"ALL_ON_TWITTER",
"granularity":"TOTAL",
"entity":"CAMPAIGN",
"platform":null,
"metric_groups":[
"WEB_CONVERSION"
]
}
}
}
* Of course these results are retrieved after making a request to the GET /1/stats/jobs/accounts/:account_id endpoint, downloading the .gz file from the url (after seeing "status": "SUCCESS"), and gunzip-ing the file.