Age targeting is now available for all advertisers.
Target users in one or several of the following age buckets.
AGE_13_TO_24
AGE_13_TO_34
AGE_13_TO_49
AGE_13_TO_54
AGE_OVER_13
AGE_18_TO_34
AGE_18_TO_49
AGE_18_TO_54
AGE_OVER_18
AGE_21_TO_34
AGE_21_TO_49
AGE_21_TO_54
AGE_OVER_21
AGE_25_TO_49
AGE_25_TO_54
AGE_OVER_25
AGE_35_TO_49
AGE_35_TO_54
AGE_OVER_35
AGE_OVER_50
As a reminder, use the POST batch/accounts/:account_id/targeting_criteria or POST accounts/:account_id/targeting_criteria endpoints to add age targeting to line items. In addition, it’s possible to retrieve analytics segmented by age using the asynchronous POST stats/jobs/accounts/:account_id endpoint. Simply specify segmentation_type=AGE.
For now, the GET accounts/:account_id/features endpoint will continue to return the VALIDATED_AGE_TARGETING account feature. This will be present for all ads accounts. We will no longer return the AGE_TARGETING account feature, which was associated with the old age buckets. See this announcement for more context.
Please plan to remove any age targeting account feature checks as we will remove this account feature completely in the coming months. We will update this thread with timing.
Twitter Ads API Team
$ twurl -A "Content-Type: application/json" -X POST -H ads-api.twitter.com "/2/batch/accounts/18ce54d4x5t/targeting_criteria" -d '[{"operation_type":"Create","params":{"line_item_id":"a7bs8","targeting_type":"AGE","targeting_value":"AGE_21_TO_34"}}, {"operation_type":"Create", "params":{"line_item_id":"a7bs8", "targeting_type":"AGE","targeting_value":"AGE_25_TO_49"}}]'
{
"data": [
{
"line_item_id": "a7bs8",
"name": "AGE_21_TO_34",
"id": "fwcnvb",
"operator_type": "EQ",
"created_at": "2017-10-25T06:22:06Z",
"targeting_value": "AGE_21_TO_34",
"updated_at": "2017-10-25T06:22:06Z",
"deleted": false,
"targeting_type": "AGE"
},
{
"line_item_id": "a7bs8",
"name": "AGE_25_TO_49",
"id": "fwcnvc",
"operator_type": "EQ",
"created_at": "2017-10-25T06:22:06Z",
"targeting_value": "AGE_25_TO_49",
"updated_at": "2017-10-25T06:22:06Z",
"deleted": false,
"targeting_type": "AGE"
}
],
"request": [
{
"params": {
"line_item_id": "a7bs8",
"targeting_type": "AGE",
"targeting_value": "AGE_21_TO_34",
"account_id": "18ce54d4x5t"
},
"operation_type": "Create"
},
{
"params": {
"line_item_id": "a7bs8",
"targeting_type": "AGE",
"targeting_value": "AGE_25_TO_49",
"account_id": "18ce54d4x5t"
},
"operation_type": "Create"
}
]
}