post https://backstage.taboola.com/backstage/api/1.0//campaigns//targeting/lookalike_audience
Update Lookalike Audience Targeting for the specified campaign.
VALID request examples:
{
"collection": []
}
{
"collection": [
{
"collection": [
{
"rule_id": 5253453,
"similarity_level": 15
},
{
"rule_id": 444487,
"similarity_level": 25
}
],
"type": "INCLUDE"
}
]
}
To obtain a list of Lookalike Audience IDs, use the Dictionary endpoint:
dictionary/lookalike_audiences
.To create Lookalike Audiences, use Backstage UI.
Pixel Lookalike Audiences support a single similarity level of 5.
CRM Lookalike Audiences support a wider range of similarity levels - see: Lookalike Audience Object.
Audience Targeting does not support a PATCH operation - the submitted values overwrite the old ones.
For a successful request, the same object is returned in the response.
INVALID request example:
{
"collection": [
{
"collection": [
{
"rule_id": 190356,
"similarity_level": 15
},
{
"rule_id": 232287,
"similarity_level": 25
}
],
"type": "EXCLUDE"
}
]
}
{
"http_status": 400,
"message": "Invalid input - Exclude for lookalike audiences is not supported.",
"offending_field": "lookalike_audience_targeting.collection[0].type"
}
Lookalike Audience Targeting does not support EXCLUDE.