Community Discussion
Why do we can not update Lookalike Audience Targeting for the specified campaign?
We have a problem with updating Lookalike Audience Targeting for the specified campaign (https://developers.taboola.com/backstage-api/reference#update-lookalike-audience-targeting).
Here is an example request:
curl --location --request POST 'https://backstage.taboola.com/backstage/api/1.0/definitionorg-sc/campaigns/4074776/targeting/lookalike_audience' \
--header 'Authorization: bearer {token}' \
--header 'Content-Type: application/json' \
--data-raw '{"collection":[{"collection":[{"rule_id":238699,"similarity_level":5}],"type":"INCLUDE"}]}'
Here is the response:
{
"http_status": 400,
"message": "Collection contains invalid rule ids for targeting: [238699]",
"offending_field": "lookalike_audience_targeting.collection[0].collection"
}
Although if we check 238699 audience, we can see that it belongs to the same ad account as the campaign.
curl --location --request GET 'https://backstage.taboola.com/backstage/api/1.0/definitionorg-sc/universal_pixel/conversion_rule/238699' \
--header 'Authorization: bearer {token}'
What are we doing wrong? Please help us to resolve this problem.
Posted by Alex Kolesnykov over 4 years ago
Why API doesn`t provide a full list of lookalike audiences for a particular marketer?
We are faced with the problem of getting a list of lookalike audiences via API.
Here is the endpoint that returns a list of audiences for a given marketer:
https://backstage.taboola.com/backstage/api/1.0/spine-deforg-sc/universal_pixel/custom_audience_rule
But it doesn't contain the audience we need, namely LAL Page 15
But if we retrieve this audience separately, then API returns the result
https://backstage.taboola.com/backstage/api/1.0/spine-deforg-sc/universal_pixel/custom_audience_rule/265044
Could you help us to deal with this?
Posted by Alex Kolesnykov over 4 years ago