Community Discussion
Bulk Update for Bid Modifier?
Hi everyone, as the title suggests, I'm trying to see if it's possible to do a bulk update for publisher_bid_modifer. Looking at https://developers.taboola.com/backstage-api/reference/bulk-update-campaigns, publisher_bid_modifier is.... not an option, but when having to do thousands of sites individually as PATCH operations... At some point it may be so long that the cronjob won't be finished before it kicks off again 24 hours later.
I don't know if it's possible, BUT... if it is, I'm POSTing to:
https://backstage.taboola.com/backstage/api/1.0/{$accountId}/campaigns/bulk-update
and my payload looks something like:
{"campaigns":[12345],"update":{"publisher_bid_modifier":{"values":[{"target":"abc123","cpc_modification":1.5}]}}}
Whenever I post it, I get back a 400, the error is usually something like:
{"http_status":400,"message":"Bad request","message_code":"api.action.bad_request.null"}
So... Is this possible, or do I have to patch? What's wrong with my payload that I'm posting, IF this is something we're able to do? Thank you!
Posted by James Taylor about 2 years ago
Bulk each campaign bid modification
Hi do you have any option to patch a campaign bulks sites bid value?
Please check my attachment.
https://i.ibb.co/1LFVcf7/tbla.png
Posted by Nithushan almost 3 years ago
Blocking sites in bulk
I'm sorry if this question has been asked, but I'm unable to find it.
Is there a way to block sites in bulk? Trying to avoid having to click hundreds of individual properties.
With regards,
Posted by Scotty almost 3 years ago
API Error: site does not belong to campaign targetting
Hello,
we are getting this error when trying to block some site via API.
The problem is that these sites do belong to the campaign and are also currently getting traffic. There are multiple examples but below I'm sending just one:
Campaign id: 9761652
Sites we're trying to block: nbcsports-probasketballtalk, tegna-wxia
Posted by Ervin about 3 years ago
Point of a PATCH operation if you error on duplicates?
When trying to submit PATCH operation to add 20 publisher blocks (for example), we receive an error response if one publisher is already blocked. That means in order to avoid an error, we need to request the current block list, check it against the new batch of publisher blocks, and only submit unique publishers.
In that case, it does not seem helpful to use PATCH. We might as well just GET the blocks and POST the entire list.
Am I missing something here? Why would Taboola's practice be to error, instead of simply skipping over duplicates?
Posted by Mike about 4 years ago
Cannot block some sites
Some sites cannot be blocked through API:
1317418 caras.com.mx
1316462 levante-emv.com
1316357 dailystar.co.uk
1315252 musicmundial.com
We are using the PATCH endpoint: https://backstage.taboola.com/backstage/api/1.0/{account}/campaigns/{campaign}
API response is (404):
{
"http_status": 404,
"message": "account"
}
Can you help checking why this happens?
Posted by Pirouzn Nilforoush about 4 years ago
how to know if a site has been patched or not
I want to use the patch modify bids endpoint to change bids and strategies on certain sites, and I would want to change the bid occusainly, how could I know when to use `ADD` and when to use `REPLACE` as a `patch_operation`?
I would usually patch multiple sites at once so I don't want to send a GET request for every site.
Posted by Abdallah AlHalees about 4 years ago