AGE_BUCKET Targeting criterion with value 'AGE_21_TO_34' is not allowed for account


#1

Hello,

A client is encountering this issue when trying to create a campaign :

Input

{
    "url": "https:\/\/ads-api.twitter.com\/1\/accounts\/18ce54hksji\/targeting_criteria",
    "method": "POST",
    "parameters": {
        "account_id": "18ce54hksji",
        "line_item_id": "9v61e",
        "targeting_type": "AGE",
        "targeting_value": "AGE_21_TO_34"
    }
}

Output

{
    “errors”: [
        {
            “code”: “INVALID”,
            “message”: “AGE_BUCKET Targeting criterion with value ‘AGE_21_TO_34’ is not allowed for account”,
            “attribute”: “targeting_type”
        }
    ],
    “request”: {
        “params”: {
            “line_item_id”: “9v61e”,
            “targeting_type”: “AGE”,
            “targeting_value”: “AGE_21_TO_34”,
            “account_id”: “18ce54hksji”
        }
    }
}

Client said he’s already whitelisted for these ages targeting.
Issue happens also for : AGE_21_TO_49

Can you help us understand why this error occurs and doublecheck if client is well whitelisted for these targetings ?

Thank you

Theo


#2

Thanks for the question, @TheoMMR.

As the Available Age Targeting Buckets announcement states, the ads account will need the VALIDATED_AGE_TARGETING account feature.

As stated in our documentation:

API developers can not request access to features on behalf of an advertiser. These requests can only be made by the advertiser to their Twitter account manager.

Thanks!