Announcement: Target a single age bucket

announcements

#1

It’s currently possible to target more than one age bucket for a given line item through the Ads API. As early as 2018-04-03, it will only be possible to target a single age bucket per line item.

We’re making this change in order to be consistent with ads.twitter.com and because the existing age bucket ranges cover most advertiser use cases.

Please update your targeting logic before this change takes place.

Twitter Ads API Team


Related: Announcement: Age targeting GA


Multiple age_buckets set via API will show warning in twitter UI
#2

#3

#4

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": ""
      }
    ]
  ]
}