Community Discussion
Blocking publishers at business account level
Hi
Is it possible to block multiple publishers from all accounts under a specific business account?
Thanks
Posted by Amit over 1 year ago
Requested action is forbidden
I am trying to block a publisher and when executing the request I receive the error Requested action is forbidden
```php,php
$url = "https://backstage.taboola.com/backstage/api/1.0/$account_id/campaigns/$campaign_id/";
$body = json_encode([
"patch_operation" => "ADD",
"publisher_targeting" => [
"publishers"=> [$site]
]
]);
$client = new GuzzleHttp();
try {
$response = $client->request('PATCH', $url, [
'headers' => [
'authorization' => "Bearer $token",
'accept' => 'application/json',
'content-type' => 'application/json',
],
'body' => $body,
]);
$response_curl->status=1;
}catch (\Exception $e) {
$response = $e->getResponse();
}
```
Posted by alfon over 1 year ago
Can't block publishers on some campaigns
I'm trying to block some publisher on a campaign, but even though the API call is successful, the publishers are still not blocked.
This is the request body:
{
"publisher_targeting":{
"type":"EXCLUDE",
"value":[
"investing-placements-24",
"kueez-placements-251",
"9gag-placements-251",
"mobitech-tn-launcher2",
"fronthb",
"rcs-gazzetta",
"mobitech-tn-launcher",
"ume-wangxin-web",
"salesfrontier-elecbean",
"salesfrontier-play2048",
"erowz-coolstreaming",
"lotustechnologies-hirugossip",
"pushpros-health",
"carsandyachts-n",
"omgstudios-doctorreport"
]
}
}
Am I missing something?
Posted by Andrea Salvadori over 1 year ago
Sites pause/unpause specific campaign only
Hi, I'm trying to pause sites on a specific campaign with this endpoint:
https://backstage.taboola.com/backstage/api/1.0/{network-account-name}/campaigns/{campaign-id}
I can see sites paused (they are reflected after 20 min to dashboard) but they result blocked as "Account Level" and I can't unpause them with backstage.
How could I block sites for that campaign only?
Furthermore how could now unblock sites blocked on Account Level?
Thanks
Posted by Albert about 2 years ago
Can't exclude Network publisher
Hello,
while trying to block campaigns at the account level, I get this message:
{
"http_status": 400,
"message": "Can't exclude Network publisher",
"message_code": "api.action.bad_request.null"
}
this is what I sent:
POST https://backstage.taboola.com/backstage/api/1.0/ACCOUNTID/block-publisher\
Body:
{
"sites": [
"indiatoday-businesstoday",
"indiatoday-wonderwoman",
"indiatoday-cosmo"
]
}
The account I am sending the request for is not a network account. What could be the problem?
Thanks,
Amoir
Posted by [email protected] about 2 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
Invalid publisher_targeting.value
Hi, I am trying to block publishers via campaign update.
for some reason I get:
Invalid publisher_targeting.value
I've exported the names of the publishers via https://backstage.taboola.com/backstage/api/1.0/account_id/allowed-publishers/
I used the exact name as written in the response but I still get:
Invalid publisher_targeting.value
I tried many variations
for instance for this publisher - Gannett - USA today I've tried:
gannett-usatoday
gannett - usa today
Gannett - USA Today
publisher id - 1168
please let me know what could be the problem.
Thanks,
Amir.
Posted by Amir Gat over 3 years ago
Block Publishers at Campaign Level Via Numeric Site IDs
Hi,
Is it possible to block publishers via the API using the numeric site IDs or by using the exact site name as they appear in the platform UI?
Example here: https://prnt.sc/10tjolm
Posted by Kunal over 3 years ago
Unable to Block Pubs
Hi Team,
We were told that our pub blocking limit at the account level has been increased from 1500 pubs to 3000 pubs. So, we tried blocking more than 1500 pubs but are getting the following error:
Error Message: You can not target/block more than 1,500 sites.
Please advise?
Posted by Joy Pinto almost 4 years ago
Block/reactivate Mediums through API
Can I reactivate mediums that I've blocked in the past through the API?
Posted by Guy over 4 years ago