Community Discussion
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 over 3 years ago
Why country and platform filters do not work for by_hour_of_day dimention?
It is stated in the documentation that platform and country filters are available for by_hour_of_day dymention https://developers.taboola.com/backstage-api/reference#campaign-summary-dimensions, but they do not work. API returns success response, but the numbers do not change irrespective of the value of the filter
Please check the following requests for ad account spine-deforg-sc
1. Request without any filters.
curl --location --request GET 'https://backstage.taboola.com/backstage/api/1.0/spine-deforg-sc/reports/campaign-summary/dimensions/by_hour_of_day?start_date=2020-03-09&end_date=2020-03-10' \
--header 'Authorization: {token}'
2. Request with filter platform=DESK.
curl --location --request GET 'https://backstage.taboola.com/backstage/api/1.0/spine-deforg-sc/reports/campaign-summary/dimensions/by_hour_of_day?start_date=2020-03-09&end_date=2020-03-10&platform=DESK' \
--header 'Authorization: {token}'
3. Request with filter country=CA.
curl --location --request GET 'https://backstage.taboola.com/backstage/api/1.0/spine-deforg-sc/reports/campaign-summary/dimensions/by_hour_of_day?start_date=2020-03-09&end_date=2020-03-10&country=CA' \
--header 'Authorization: {token}'
The sum of spend for all of them is the same
Posted by Alex Kolesnykov over 4 years ago