Community Discussion
Ad cost API endpoint
I'll keep this one separate because these two are separate concerns, I guess.
**Question**: Which endpoint should I be using to find my daily ad spend?
Like I mentioned on the other post, I want to pull how much it cost me to run on Taboola daily, per individual ad, so I'll know my general ad cost against my conversions.
I figured I could pull the campaigns and from there the items under those campaigns. Doesn't seem like [/campaigns](https://developers.taboola.com/backstage-api/reference/get-all-campaigns) gives me the spent of any given day, just the settings for that campaign (cap, monthly limit, etc).
When I try the [/items](https://developers.taboola.com/backstage-api/reference/get-a-campaign-item) I get the same result: I don't see the ad spend.
Posted by null about 2 months ago
Endpoint for retrieving campaigns
This is what I'm seeing and I wanted to understand if I'm using the best endpoint for this. We want to pull the campaign data and ad cost from yesterday so I can push the data cost to Wicked Reports.
That's going to be a scheduled task that runs daily.
**Endpoint**: <https://developers.taboola.com/backstage-api/reference/get-all-campaigns>
What I'm seeing right now: <https://share.cleanshot.com/f0QrGhdv>
Not sure why this is empty. Also, I should be able to use start_date and end_date to filter, right?
I also tried using the endpoint below and that gives me more data but then I can't see dates.
**Endpoint**: <https://developers.taboola.com/backstage-api/reference/get-all-campaigns-across-network>


So, that's it, I'm trying to pull daily ad cost so we can forward that to other systems. The way we do it today is we pull all the campaigns, we pull the ads for each campaign and then we push that into Wicked.
Posted by AbraΓ£o about 2 months ago
Optimizer-Taboola Subaccount integraion issue
Hi Team,
We have integrated our Taboola sub accounts into Optimizer platform via UI but creating new campaigns are getting failed due to the below 2 reasons.
UPLOADING_IMAGES_FAILED
Requested action is forbidden
Thanks
Kalyan.
Posted by Kalyan Reddy N about 2 months ago
can't add countries in bulk update
I've posted to
<https://backstage.taboola.com/backstage/api/1.0/taboolaaccountplacedhere/campaigns/bulk-update>
{
"campaigns": [
21052236,
20964357
],
"country_targeting": {
"type": "INCLUDE",
"value": [
"FR",
"AU"
]
}
}
but i get error code
{
"http_status": 400,
"message": "Unknown field name 'country_targeting'",
"message_code": "api.action.bad_request.null"
}
while other api requests i do works
Posted by Nathan about 2 months ago
DO we have API to block Domains or Urls in taboola?
Hi,
Publisher blocking is supported via API. But do we have any api to block website domains and urls ?
Posted by Ayodhya Joshi 2 months ago
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/](https://backstage.taboola.com/backstage/api/1.0/1202994/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.
Posted by Ayodhya Joshi 2 months ago
Setting include_multi_conversions=true does not include custom conversion columns into Top Campaign Content Report
Hi there,
I noticed that setting include_multi_conversions=true does not include custom conversion columns into Top Campaign Content Report.
Any help would be appreciated.
Posted by Jacky Duong 2 months ago
campaign_day_breakdown - include sub-account name and id as dimension?
I'm calling the following endpoint successfully:
[https://backstage.taboola.com/backstage/api/1.0/name-here/reports/campaign-summary/dimensions/campaign_day_breakdown?start_date=2023-03-19&end_date=2023-03-19](https://backstage.taboola.com/backstage/api/1.0/rise4-network/reports/campaign-summary/dimensions/campaign_day_breakdown?start_date=2023-03-19&end_date=2023-03-19)
Getting back date, campaign_name & campaign as dimensions. I'd like to also get sub-account name and sub-account id back as dimensions; how would I do this?
Posted by null 2 months ago
To generate an Acess Token in token endpoint
Hi there,
I'm trying to generate an Acess Token in token endpoint following this guideline
<https://developers.taboola.com/backstage-api/reference/client-credentials-flow>
But I didn't seem to be able to get into the endpoint <https://backstage.taboola.com/backstage/oauth/token>
as it requires a Taboola backstage login - I wondered if this login is something advertisers can request and if so, how?
Many thanks,
Joey
Posted by Joey 3 months ago