Community Discussion
Some Content IDs on API Response are null
This is the API Call we are directing to Taboola :
```
curl --location 'https://backstage.taboola.com/backstage/api/1.0/<acc-id>/reports/top-campaign-content/dimensions/item_breakdown?item_breakdown=item&start_date=2023-03-24&end_date=2023-03-24' \
--header 'Authorization: Bearer <token>'
```
From the API response we are receiving performance and other statistics data, but some content ids are sent as null.
Posted by Iris about 2 months ago
Count of items from Top Campaign Content Report is less then count of all campaign items
Hi, is there any way to collect data from Top Campaign Content Report for all items in campaign?
Posted by [email protected] 6 months ago
Load item performance report, daily
Hey team, hope you are well.
We are planning to consume the API to get daily reports for every item of every campaign.
https://developers.taboola.com/backstage-api/reference#top-campaign-content-report
The strategy would be to set the timeframe between start_date and end_date to 1, and request for each item of every campaign.
From what I understood, would be necessary only one request per campaign, and the return would be the top 1000 ads with its performance of that day, correct? Or it would be necessary to run one request for each item inside the campaign?
For every connection we create, the requests would be done in sequential, but is possible to create multiple connections to run in parallel.
I didn't see any formal rate limits in the documentation
To load the historical data, this would require a lot from the API but after it, the daily sync would be more stable. It doesn't seem the API was optimized to this specific use case so i'm a little concerned about the reliability. I didn't see any formal rate limits in the documentation, so i don't know how the API would behave with this use case.
I'm sharing it with you to see if we would face any limit or reliability issue that I'm not seeing right now, or if you guys have a better way to structure the requests that could guarantee daily reports for every item of a campaign.
Thanks a lot,
Posted by Matheus Reis about 1 year ago
How to get hourly Top Campaign Content Report
Hi,
We're trying to get hourly report data for campaign items (similar to getting campaign-summary with dimensions "campaign_hour_breakdown", but for item), but it doesn't seems to work- when i'm trying do api call to "reports/top-campaign-content" with start_date and end_date in the format yyyy-mm-ddThh:mm:ss it looks like the api ignores the hours.
If it's not supported, there is a workaround?
Thanks in advance
Avishay
Posted by Avishay Guttman over 1 year ago
Why Do I get an error when posting a new ad (item)?
I'm trying to make a post request in order to submit a new item (ad), but. But when I do so I get a 400 error:
http_status: 400,
message: "Unknown field name 'url'",
message_code: 'api.action.bad_request.null'
This is the code:
const url = 'https://backstage.taboola.com/backstage/api/1.0/'+accountID+'/campaigns/'+cID+'items/';
const options = {
method: 'POST',
headers: {
Authorization: "Bearer" + await getToken(),
Accept: 'application/json',
'Content-Type': 'application/json'},
body: JSON.stringify({
url: landingPage,
thumbnail_url: image,
title: adTitle
})
}
const respose = await fetch(url, options);
Posted by null over 1 year ago
Access ad creation date along with other ad data
Hi team,
is it possible to access the ad creation date along with the ad data (title, image etc.). via the API?
This option seems to not be available or am I missing something?
Posted by Eugenia Klemusch over 1 year ago
Creation Date for Item
Hey,
How can we get the creation date for item (creative) which exists in your dashboard but I can't find it in the API documentation?
Thanks,
Leo
Posted by Leo almost 2 years ago
Add a Video URL in Campaign Item
Is it possible to add a Video URL in the campaign item via API? Currently, the thumbnail_url only accepts image URLs, not video URLs. Please help, Thank You.
Posted by Andrien Pecson almost 3 years ago
Getting 404 status for Campaign Item that actually exists
I'm getting 404 status response when trying to call https://backstage.taboola.com/backstage/api/1.0/{accountId}/campaigns/{campaignId}/items/{campaignItemId}.
The account/campaign/campaign item, all them exists, and are valid.. but still the endpoint is giving me 404, can you please let me know why that can happen?
Posted by Gabriel Diaz almost 3 years ago