Community Discussion
Error 403 - Creating Campaign
Hi,
I'm having issues with creating a campaign. I get the following error:
{"http_status":403,"message":"Requested action is forbidden","message_code":"api.action.forbidden"}
I'm sending a post request to https://backstage.taboola.com/backstage/api/1.0/account_id/campaigns/, where account_id is the alphabetical account ID. Do you have any ideas of what would be causing this issue?
Thanks,
Jerry
Posted by Jerry over 1 year ago
by_referral_and_tracking_code URL - {'http_status': 403, 'message': 'Requested action is forbidden', 'message_code': 'api.action.forbidden'}
Was an update made to the publisher API? My script all of a sudden stopped working and the only error code I got was api action forbidden.
I didn't see any announcement regarding this change.
I had no issues getting a token. I'm only running into issues when I am making a report request. It looks like the issue started on 11/10/2021.
I'm making a get request to this URL - https://backstage.taboola.com/backstage/api/1.0/reachmobi-mindyourdollars-slideshow/reports/visit-value/dimensions/by_referral_and_tracking_code?start_date=2021-11-15&end_date=2021-11-15
Posted by Carmen Ruder over 1 year ago
Filtering Inactive subaccounts
Hello,
We are currently pulling campaign data using the backstage api and are receiving a 403 response for specific accounts.
Our current process is the following:
1. Get the account_ids by making the GET request to https://backstage.taboola.com/backstage/api/1.0/users/current/allowed-accounts
2. Get the campaigns by making the GET request to
https://backstage.taboola.com/backstage/api/1.0/{account_id}/campaigns/
After some troubleshooting on our end, we see that the accounts that are giving us the 403 error, are actually inactive in the backstage ui. We would like to know if there is a way to filter out the inactive accounts via the API?
Posted by Rene about 2 years ago
Where can I get the Account Id ?
Hello everyone,
I'm in the progress of familiarizing myself with the Backstage Report API for advertisers, I'd like to fetch a report called "Revenue Summary Report".
Here is the sample given to proceed:
GET
/backstage/api/1.0/[account-id]/reports/revenue-summary/dimensions/[dimension]?[
parameters]
Host: https://backstage.taboola.com
Authorization: Bearer [access-token]
Now, I know my company has a Network account and multiple sub-account, so I'm first getting my access token using the credentials related to the Network account but then my issue comes upon trying to find the proper account-id to be used.
I have tried many of them:
- the account_id of my network account, -> ends with this response:
"http_status": 403,
"message": "Requested action is forbidden",
"message_code": "api.action.forbidden"
- the id of my network account, ends with this response:
"http_status": 400,
"message": "Unknown publisher",
"message_code": "api.action.bad_request.null"
- the account_id of different sub-accounts (that I got using the route : https://backstage.taboola.com/backstage/api/1.0/[account_id]/advertisers -> this account_id being the one of my network account) -> ends with this response :
"http_status": 403,
"message": "Requested action is forbidden",
"message_code": "api.action.forbidden"
- the id of the different sub-accounts I used -> ends with this response:
"http_status": 400,
"message": "Unknown publisher",
"message_code": "api.action.bad_request.null"
So my question is, where can I get the proper account_id that will fetch me the revenue summary report?
Is there an endpoint to be used with the network account_id first to retrieve the other id ?
Thanks in advance for your replies,
Posted by Alexandre Macrel about 2 years ago
GET 403 from getting campaign summary
{'http_status': 403, 'message': 'Requested action is forbidden'}
Posted by terry.hung almost 3 years ago