Community Discussion
Error Getting campiagn details
over 1 year ago by Ayodhya Joshi
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.