Community Discussion
Using 'hour_of_day' dimension
Hi, do you know what 'API endpoint URL' I could use to pull hourly statistics for a particular data range? I've tried this
<https://backstage.taboola.com/backstage/api/1.0/stats/campaigns/performance?dimensions=hour_of_day&start_date=2023-0113&end_date=2023-01-13>
but it returns the following error:
{
"http_status": 400,
"message": "The requested operation failed since the API server cannot parse the request",
"message_code": "api.action.bad_request.null"
}
Thanks!
Posted by Steward over 1 year ago
Calculating the Publisher spend for the last 24 hours
Hi,
For our requirements, in each account I need the last 24 hours' spend per Publisher.
With the Java SDK, I can easily get the spend per site in daily chunks using the **SITE_BREAKDOWN** dimension, however this doesn't support anything finer-grained, for instance if I want to know the spend from midday yesterday until midday today.
It doesn't look possible through the Java SDK.
I've also looked at calling the Backstage API directly, but even then it looks like I can only perform what I need one site per call using **campaign_hour_breakdown** with a site filter...
```
https://backstage.taboola.com/backstage/api/1.0/<account>/reports/campaign-summary/dimensions/campaign_hour_breakdown?start_date=2021-02-08&end_date=2021-02-09&site=<site name>
```
Our app can then aggregate the values in the response to calculate our spend on a site for the last 24 hours.
Given that we are using thousands of Publishers, this could take some time!
I'd love to know if there another more performant way of doing this?
Cheers,
Colin
Posted by Colin MacLean over 3 years ago
Reporting API at the item / thumbnail level
Hi, is campaign reporting (through API) available at the item / thumbnail level?
I created items / thumbnails, each with title and URL in the Campaign Inventory. Is there any way to pull campaign reporting at such item / thumbnail level, through the reporting API ?
Thanks
Posted by Jack Qian over 4 years ago
Questions on Spend data
Hi there, are the Spend numbers coming from Taboolaβs API ever inaccurate, in terms of costs related to real-time clicks? Are they ever ahead or behind, or inflated to predict Spend associated with future clicks? Weβre seeing hourly data that reflects the possibility of Spend increasing before the clicks associated with it come through.
Also, what time zone Taboolaβs API is using?
Thanks!
Posted by Justin Farber over 4 years ago
Hour of Day Reporting API
I am trying to get hourly data, and the API only responds with hour 0. Is there a special parameter I need to pass in order to get the entire day of hourly?
Here is an example of my API call:
https://backstage.taboola.com/backstage/api/1.0/spigot-network/reports/campaign-summary/dimensions/by_hour_of_day?start_date=2020-02-20&end_date=2020-02-20&include_multi_conversions=true
Posted by Carl over 4 years ago