Community Discussion
is there any way to replace all users in an exisiting audience by api?
I need to update my audience every X hours.
I don't know the previous users that was on the list.
I just need a way to send a new list of users and replace the whole exisiting users inside audience.
is there any way to do that or I must have the previous users?
thanks
Posted by Yossi over 1 year ago
Duplicate campaign with new creative
I would like to know if it is possible to duplicate a campaign with a brand new creative (Img, Title, URL)?
Thanks in advance.
Posted by Guy Horowitz over 3 years ago
Patching Targeted Publishers (blocking campaign level)
Hello.
I have 2 questions:
1. I want to block some publishers at the campaign level. I tried to PATCH with the action "REMOVE" and I'm receiving the same error for all publishers even if we have data in the last 10 days for that publisher.
ERROR: "publisher cnbc does not exist in the campaignโs auto_publisher_targeting" or "{publisher_id} not exists in campaign targeting"
Before REMOVING it, I tried to ADD the publisher to that campaign and after that, it worked, I could block it.
There is another way or I'm doing it wrong?
2. What is the difference between "publisher_targeting" and "auto_publisher_targeting" for blocking at campaign level?
Posted by Ciocan Alexandru almost 4 years ago
Video Ads
Hi,
A few questions regarding video ads:
1. Do video ads need to be added to video campaigns or can they be added to usual campaigns?
2. Do video ads show up in the Top Campaign Content Report or do they only show up in the new Video Campaign Summary Report?
Thanks in advance
Posted by Jorge about 2 years ago
Get a Campaign is not retrieving data
I am trying to access Campaign data and not getting the result. API I use
https://backstage.taboola.com/backstage/api/1.0/priceholdings-network/campaigns/11602384
Getting this in body
{
"http_status": 404,
"message": "Resource not found",
"message_code": "api.action.resource_not_found"
}
Posted by Mani Swami almost 3 years ago
Some Publishers Cannot Be Blocked In API
We noticed a strange issue where there are many publisher IDs that cannot seem to be blocked using the API.
We get a successful response (200) to our campaign update request, and in the response object the 'publisher_targeting' seems accurate. However, if we retrieve the campaign details immediately after, the 'publisher_targeting' is missing many (but not all) of the publisher IDs we tried to block. The UI also does not show these publishers as blocked.
Posted by Michael about 4 years ago
Blocking publishers via API
I am trying to block a publisher within a single company via a POST request to a URL:
https://backstage.taboola.com/backstage/api/1.0/account-id/campaigns/campaign-id
Request body:
{
"publisher_targeting": {
"type": "EXCLUDE",
"value": [
"my-publisher"
],
"href": null
}
}
Next, I go to the control panel, where all the publishers of the campaign are located. Here I can see that the publishers I specified in the request body specified above are not blocked after the POST request is executed. What could be the problem? Perhaps there is a delay in the web interface until the actual data appears?
Posted by Danil Makogon about 3 years ago
Custom audience targeting update failure
Hello,
I've been unsuccessfully trying to update the audience targeting of a campaign to make it include a custom audience. The steps I've taken follow:
1) I've successfully created a campaign through the Taboola API and set aside its id.
2) I've successfully created a new conversion through the Taboola UI. To be more specific:
- I reached the "Tracking" section
- I clicked "New Conversion"
- I set the "Type" field as "Event", the "Based on" field as "Custom" and filled all the remaining fields.
I managed to set aside its id extracting it from the created conversion page's URL.
I know that this is not probably the proper way to accomplish the task, but was just meant as a temporary workaround while waiting for another question (https://developers.taboola.com/backstage-api/discuss/61d5df7ae026df01f3680a81) to be answered.
3) I've tried to update the targeting of the campaign by issuing a POST request to
https://backstage.taboola.com/backstage/api/1.0/my_account_id/campaigns/the_campaign_id/targeting/custom_audience
with this JSON body:
{
"collection": [{
"collection": [the_conversion_id],
"type": "INCLUDE"
}]
}
The API responds with an error:
{
"http_status": 400,
"message": "Collection contains invalid rule ids for targeting: [1]",
"offending_field": "custom_audience_targeting.collection[0].collection",
"message_code": "campaign.unip.retargeting.rules.invalid.ids"
}
Am I doing something wrong?
I supposed that creating a new custom conversion through the UI and creating a new custom audience rule through the API (https://developers.taboola.com/backstage-api/reference#create-a-custom-audience-rule) were interchangeable operations. Perhaps this is not the way it works but I could not make it clear reading the documentation and/or using the UI.
Thanks is advance for your support.
Posted by Francesco Orazini over 2 years ago
API oAuth2 redir domain
Hi,
Iยดm trying to connect to TAboola APi via oAuth to google sheets, I have de credencials but when I log in in the account, Iยดm not redirect back to the google sheets.
Example of the request:
"https://authentication.taboola.com/authentication/login?grant_type=authorization_code&response_type=code&redirect_uri=https%3A%2F%2Fbackstage.taboola.com%2Fbackstage%2Fauthenticate%2Flogin&client_id=xxxxredir=https%3A%2F%2Fscript.google.com%2Fmacros%2Fd%2F12COOkin8nod....."
Does this domain script.google.com need to be white listed by Taboola?
Best.
Posted by Guilherme Malta about 3 years ago
Duplicate campaigns to different advertiser (within the same account)
Hello,
In taboola UI:
When we select "network" in advertiser selection in top right corner and then duplicate campaign (by click the last icon in campaign management) we have option to select advertiser on the next screen (its called provider).
However if we select specific advertiser we can duplicate only to the same advertiser - "provider" selection is grayed out.
We try to use the first behavior via API, duplicate campaign to different advertiser.
This is attempt to duplicate to different advertiser from network level as its done in UI:
https://backstage.taboola.com/backstage/api/1.0/webfoxconetwork/campaigns/5159895/duplicate
RES
{
"http_status": 404,
"message": "Resource not found"
}
This is attempt to duplicate to different advertiser (we not expected this will work as its not working in taboola UI)
https://backstage.taboola.com/backstage/api/1.0/bleacherbreaker-sc/campaigns/5159895/duplicate
BODY:
{
"advertiser_id": "bleacherbreaker-m-sc",
"name": "wuz-d-uk-c-0-p3-200623-bb-tb-0--dev"
}
RES
{
"http_status": 400,
"message": "Trying to modify a read-only field",
"offending_field": "advertiser_id"
}
Without passing "advertiser_id" duplication works fine.
Can we somehow duplicate to different advertiser_id from API as its done from taboola UI?
This can help us to avoid manual operations/error and reduce usage of taboola UI.
Thanks,
Misha
Posted by Misha Makarevsky almost 4 years ago