Dear Twitter Staff,
It looks like the tailored audience name is not properly returned in the Targeting Criteria endpoint. Instead, a general “Tailored audience CRM lookalike targeting” or “Custom audience targeting” is returned, which makes it difficult to identify the targets appropriately.
twurl -H 'ads-api.twitter.com' '/0/accounts/18ce53yrq2p/targeting_criteria?line_item_id=5g4w0' | python -m json.tool
{
"data": [
{
"account_id": "18ce53yrq2p",
"created_at": "2016-06-15T20:39:32Z",
"deleted": false,
"id": "8z5c35",
"line_item_id": "5g4w0",
"name": "Tailored audience CRM lookalike targeting",
"tailored_audience_expansion": true,
"tailored_audience_type": "CRM",
"targeting_type": "TAILORED_AUDIENCE",
"targeting_value": "u9pw",
"updated_at": "2016-06-15T20:40:21Z"
},
{
"account_id": "18ce53yrq2p",
"created_at": "2016-06-15T20:39:32Z",
"deleted": false,
"id": "8z5c36",
"line_item_id": "5g4w0",
"name": "Tailored audience CRM lookalike targeting",
"tailored_audience_expansion": true,
"tailored_audience_type": "CRM",
"targeting_type": "TAILORED_AUDIENCE",
"targeting_value": "v0sj",
"updated_at": "2016-06-15T20:40:21Z"
},
{
"account_id": "18ce53yrq2p",
"created_at": "2016-06-15T20:39:32Z",
"deleted": false,
"id": "8z5c37",
"line_item_id": "5g4w0",
"name": "Tailored audience CRM lookalike targeting",
"tailored_audience_expansion": true,
"tailored_audience_type": "CRM",
"targeting_type": "TAILORED_AUDIENCE",
"targeting_value": "v0sk",
"updated_at": "2016-06-15T20:40:21Z"
},
{
"account_id": "18ce53yrq2p",
"created_at": "2016-06-15T20:40:36Z",
"deleted": false,
"id": "8z5cnk",
"line_item_id": "5g4w0",
"location_type": "COUNTRY",
"name": "United States",
"targeting_type": "LOCATION",
"targeting_value": "96683cc9126741d1",
"updated_at": "2016-06-15T20:40:36Z"
},
{
"account_id": "18ce53yrq2p",
"created_at": "2016-06-16T00:59:48Z",
"deleted": false,
"id": "8z7y98",
"line_item_id": "5g4w0",
"name": "Custom audience targeting",
"tailored_audience_expansion": false,
"tailored_audience_type": "EXCLUDED_CRM",
"targeting_type": "TAILORED_AUDIENCE",
"targeting_value": "v0su",
"updated_at": "2016-06-16T00:59:48Z"
},
{
"account_id": "18ce53yrq2p",
"created_at": "2016-06-16T01:12:58Z",
"deleted": false,
"id": "8z812i",
"line_item_id": "5g4w0",
"name": "Custom audience targeting",
"tailored_audience_expansion": false,
"tailored_audience_type": "EXCLUDED_CRM",
"targeting_type": "TAILORED_AUDIENCE",
"targeting_value": "v0sr",
"updated_at": "2016-06-16T01:12:58Z"
},
{
"account_id": "18ce53yrq2p",
"created_at": "2016-06-16T01:17:01Z",
"deleted": false,
"id": "8z81nc",
"line_item_id": "5g4w0",
"name": "Custom audience targeting",
"tailored_audience_expansion": false,
"tailored_audience_type": "EXCLUDED_CRM",
"targeting_type": "TAILORED_AUDIENCE",
"targeting_value": "v0sv",
"updated_at": "2016-06-16T01:17:01Z"
}
],
"data_type": "targeting_criterion",
"next_cursor": null,
"request": {
"params": {
"account_id": "18ce53yrq2p",
"line_item_id": "5g4w0"
}
},
"total_count": 7
}
Can you please advise here? Thank you.