Community Discussion

Ask a Question
Back to All

Error Getting campiagn details

get all allowed accounts for my credentials

i am getting all accounts allowed for my user using the below api.

url = "https://backstage.taboola.com/backstage/api/1.0/users/current/allowed-accounts"

account_ids = [1202994,
1208530,
1208531,
1208528,
1208529,
1235798,
1208532,
1245083,
1198520,
1208526,
1208527,
1208525]

However, when i try to get campaign details for the accounts using api "url = "https://backstage.taboola.com/backstage/api/1.0/{account_id}/campaigns/""

i get the following error:

{'http_status': 404,
'message': 'account',
'message_code': 'api.action.resource_not_found'}

Please let mw know the issue here.