This change has been deployed. Attempting to target multiple age buckets per line item will result in the following error:
$ twurl -A "Content-Type: application/json" -X POST -H ads-api.twitter.com "/3/batch/accounts/18ce54d4x5t/targeting_criteria" -d '[{"operation_type":"Create","params":{"line_item_id":"bero9","targeting_type":"AGE","targeting_value":"AGE_20_TO_49"}}]'
{
"request": [
{
"params": {
"line_item_id": "bero9",
"targeting_type": "AGE",
"targeting_value": "AGE_20_TO_49",
"account_id": "18ce54d4x5t"
},
"operation_type": "Create"
}
],
"operation_errors": [
[
{
"code": "INVALID",
"message": "Line item 19164825 may have at most one AGE_BUCKET targeting criterion but already has AGE_20_TO_34.",
"attribute": ""
}
]
]
}