Community Discussion
Get All Campaigns Returns Empty List
over 4 years ago by Andy Shih
I sent a GET request to "https://backstage.taboola.com/backstage/api/1.0/<account_id>/campaigns/" with my access_token in the header. I get the following response:
data: {
results: [],
metadata: { total: 0, count: 0, static_fields: [], static_total_fields: [] }
}
From this old github issue (https://github.com/singer-io/tap-taboola/issues/1) I found on the deprecated Backstage API docs (https://github.com/taboola/Backstage-API) says that:
Reading, creating or updating Campaigns is only possible when the [account-id] references an Account with ADVERTISER in its partner_types field. Trying to send a request with a non-Advertiser Account will result in a 404 Not Found response.
I checked, my<account_id> does not have "ADVERTISER" in its partner_types
.
I did not see any mention of this issue regarding partner_types
in the current documentation. Could anyone confirm if "ADVERTISER" really is required to access Campaigns? Thank you.