Community Discussion
Get a Campaign is not retrieving data
I am trying to access Campaign data and not getting the result. API I use
https://backstage.taboola.com/backstage/api/1.0/priceholdings-network/campaigns/11602384
Getting this in body
{
"http_status": 404,
"message": "Resource not found",
"message_code": "api.action.resource_not_found"
}
Posted by Mani Swami 10 months ago
Getting empty results set for get all campaigns
Hi
I am starting to work with the api.
After fetching the access token I am trying to get all campaigns (as listed here https://developers.taboola.com/backstage-api/reference#fetching-campaigns)
but I am getting an empty array result.
Please advise.
Posted by David Baruch over 1 year ago
Campaign creation with advertiser ID?
We are looking to create campaigns via the API and have run into an issue with the API documentation.
https://developers.taboola.com/backstage-api/reference#create-a-campaign
We would like to be able to set the advertiser ID for the campaign during the creation process, but there appears to be no field listed for it.
The call would be to https://backstage.taboola.com/backstage/api/1.0/account_id/campaigns/ but I suspect we have to use our main account ID in that URL. then later provide the advertiser ID that lives within our account?
It would be awesome if the documentation could be updated at some point to mention things like this, as there are a lot of blind spots in what it covers.
Under "Campaign Fields" there is advertiser_id but it is listed as read-only.
Also, is there an API call that will return all advertiser IDs for an account?
Thanks!
/Chris
Posted by Chris Ellerby over 1 year ago
I am sending end_date as null
How can I set end_date to null or empty. end date gets changed when there is some value, I need to set it to null or empty.
if I set it to null or empty it didn't get changed
Posted by Haider Ali over 1 year ago
Campaign Settings Days and Hours Fields
Dear Team,
I was wondering if it is possible to access the fields that hold the campaign settings in the UI under "Schedule > Days and Hours > Specific days and hours via the API (the new interface in testing)?
Posted by Daniel SKultety over 1 year ago
Get campaign return resource not found
Hi,
i'm trying to get campaign details so I could make changes to it afterwards.
we have several accounts and i'm authenticating with our main one (network, account id: 1308199).
for getting campaign I tried to use below request:
https://backstage.taboola.com/backstage/api/1.0/account_id/campaigns/_campaign_id/.
But I got 404 resource not found.
(account id: 1308205, campaign Id: 6085733)
I tried to get all campaigns for above account with:
https://backstage.taboola.com/backstage/api/1.0/account_id/campaigns.
but still got 404 resource not found.
(also tried with the network account id and still same 404 error).
I believe i'm missing something basic here, can you please check it out?
Avi.
Posted by Avi L over 1 year ago
batch updating campaigns
1- is there a way to update several campaigns in a single request?
2- is there an api limit if I wanted to update > 50 campaigns at once?
Posted by Abdallah AlHalees over 1 year 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 over 1 year 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 over 1 year ago
Compaign error
i have compaign error in my api ..compaing showing null value.
Posted by ahmadali over 1 year ago