When trying to delete a FOLLOWERS_OF_USER target on the batch endpoint, I’m receiving an error that the target does not exist, even though a GET request to the targeting_criteria endpoint says otherwise:
Delete error:
{
"request": [
{
"params": {
"targeting_criterion_id": "dim0ai",
"account_id": "XXXXXX"
},
"operation_type": "Delete"
}
],
"operation_errors": [
[
{
"code": "NOT_FOUND",
"message": "targeting criterion dim0ai was not found for account XXXXXX"
}
]
]
}
GET request (showing target does exist):
{
"request": {
"params": {
"line_item_id": "8dqoj",
"account_id": "XXXXXX"
}
},
"data": [
{
"line_item_id": "8dqoj",
"name": "hyfntest",
"id": "dim0ai",
"operator_type": "EQ",
"created_at": "2017-05-15T21:57:55Z",
"targeting_value": "3073813016",
"updated_at": "2017-05-15T21:57:55Z",
"deleted": false,
"targeting_type": "FOLLOWERS_OF_USER"
}
],
"data_type": "targeting_criterion",
"total_count": 1,
"next_cursor": null
}
@juanshishido is this another bug with the batch delete processing?