Community Discussion
Timezone and date in the campaign_hour_breakdown report..
For the campaign_hour_breakdown... is the results .date field the day/hour in UTC? Or in the TZ of the entire results? Or in the TZ of the account to which the campaign hour result record belongs?
It seems like I am getting the same data for a campaign whether I query the campaign_hour breakdown against a specific account, or the entire network, despite the timezone property of the response showing different time zones.
Posted by [email protected] almost 2 years ago
404 calling campaigns/base
I'm currently developing an api loader and following these 3 api calls to gather daily campaign stats for our account.
1. https://backstage.taboola.com/backstage/api/1.0/users/current/allowed-accounts
2. https://backstage.taboola.com/backstage/api/1.0/<account id from 2>/campaigns/base?start
3. https://backstage.taboola.com/backstage/api/1.0/<network-account-id>/reports/campaign-summary/dimensions/day?start_date=<start date>&end_date=<end date>&campaign=<campaginID from 3>
I'm currently getting 404 errors making a call to campaigns/base for some of the "type": "PARTNER" accounts but not for others.
Can you please give any insights as to how an account has to be setup for the campaigns/base url to function correctly?
Posted by John B almost 3 years ago
How can I know if campaign is in 'Scaling' phase
Using {account_id}/reports/campaign-summary/dimensions/campaign_breakdown endpoint we can't find 'Scaling' value in campaign_learning_state field
Instead it shows EMPTY_DISPLAY value
Please clarify if there are any options how we could know if campaign is in scaling phase or not
Posted by Igor Lapshyn almost 3 years ago
campaign_learning_state in Campaign Object?
It looks like 'campaign_learning_state' is only available via the campaign-summary reporting, and not within the Campaign Object. Is that correct?
Wouldn't it make more sense for this to be available within the current state of the Campaign Object, instead of in performance data?
Posted by Mike almost 3 years ago
Reporting: site breakdown - no `site_url` is provided
Hello! I getting `campaign-summary` report using `campaign_site_day_breakdown`:
https://backstage.taboola.com/backstage/api/1.0/<account_id>/reports/campaign-summary/dimensions/campaign_site_day_breakdown?start_date=2021-02-24&end_date=2021-02-24
API response is:
{
// omitted...
"results": [
{
"date": "2021-02-24 00:00:00.0",
"site": "site-string-id",
"site_name": "Site pretty name",
"site_id": 1053067
// omitted... "site_url" field is not provided
}
}
but there is no property containing `site_url`. How can I get it?
Posted by Skorokhodov Egor over 3 years ago
Publisher Url
Hi,
I'd like to know if there's a way to get the Publisher's URL via the API.
Posted by MΓ©lanie Macias almost 4 years ago
Duplicate a campaign to a different advertiser_id
This is regarding and endpoint to`DUPLICATE` a campaign - [backstage-api reference](https://developers.taboola.com/backstage-api/reference#duplicate-a-campaign)
POST https://backstage.taboola.com/backstage/api/1.0/{advertiser_id}/campaigns/{campaign_id}/duplicate
The above is the endpoint I'm using to duplicate a campaign, but attempting to duplicate to a different advertiser_id, I receive 400 BAD REQUEST with the following msg:
``{
"http_status": 400,
"message": "Trying to modify a read-only field",
"offending_field": "advertiser_id",
"message_code": "api.action.bad_request.field_read_only.advertiser_id"
}``
Is there a way to duplicate a campaign into a different `advertiser_id` via API? This functionality seems to be available on Taboola dashboard, so any guidance would be appreciated.
Posted by Melody Song about 4 years ago
Report By Browser
Hi,
It would be very useful to be able to generate reports by browsers/OS's. That would open up a new world to targeting.
Cheers,
James
Posted by James about 4 years ago
bid strategy in duplicate
Hey,
I would like to know if there is an option to change the Bid Strategy while you duplicate a campaign?
Posted by Guy Horowitz about 4 years ago
Point of a PATCH operation if you error on duplicates?
When trying to submit PATCH operation to add 20 publisher blocks (for example), we receive an error response if one publisher is already blocked. That means in order to avoid an error, we need to request the current block list, check it against the new batch of publisher blocks, and only submit unique publishers.
In that case, it does not seem helpful to use PATCH. We might as well just GET the blocks and POST the entire list.
Am I missing something here? Why would Taboola's practice be to error, instead of simply skipping over duplicates?
Posted by Mike about 4 years ago