Community Discussion
Curl inside container doesn't work
Hello, I'm using PHP in a docker container with curl to use Taboola API. Everything worked fine few months but today I get issues to run a curl request to backstage.taboola.com both in php using curl module and in the terminal inside container.
For example:
[root@e9dbea93b1cd www]# curl --location --request POST 'https://backstage.taboola.com/backstage/oauth/token?client_id=123&client_secret=123&grant_type=client_credentials' --header 'header: Content-Type: application/x-www-form-urlencoded' -v
* About to connect() to backstage.taboola.com port 443 (#0)
* Trying 151.101.1.44...
* Connected to backstage.taboola.com (151.101.1.44) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* Operation timed out after 300270 milliseconds with 0 out of 0 bytes received
* Closing connection 0
curl: (28) Operation timed out after 300270 milliseconds with 0 out of 0 bytes received
The same curl request works fine locally via the host terminal or Postman for example.
It looks like a blocking. Can you help me with it please?
Posted by Lex Pal over 1 year ago
Placement Null in API
Hello,
I'm currently using the Backstage API to extract Revenue reports using the day_site_placement_cou
ntry_platform_breakdown in the Revenue Summary Report and I noticed that there were rows in which the column "placement" was null.
What does placement = null means in this context?
Posted by [email protected] over 1 year ago
Trying to retrieve access token
Hello, I recently got my credentials from Taboola.
I try to get the access token using the description in your documentation, in C#.
The response I get is an HTML page, not JSON.
Would you know why?
var client = new RestClient("https://backstage.taboola.com/backstage/oauth/token");
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddParameter("application/x-www-form-urlencoded", "client_id=MY_ID&client_secret=MY_SECRET&grant_type=client_credentials", ParameterType.RequestBody);
var response = client.Execute(request);
Posted by Rom Raviv almost 2 years ago
Uploading Customer List?
Does anyone know where the Customer List upload button is? I don't see it populated in the Audience section.
Posted by Angelo Lozano almost 2 years ago
How to get data about the site level configured bid via API?
Hi,
I found how to modify site level bids via API, but I can't find how to get the current bid configuration data.
When I change the bid in your interface, then in the response body it is in the "configured_cpc" field.
How can I get the current site level bid configuration data via API?
Posted by Ruslan Lenkov almost 2 years ago
Get partner accounts related to a group account by API
Hello,
I have an account of type 'GROUP' that contains multiple accounts of type 'PARTNER'.
I would like to get the list of partner accounts that belongs to my group account using Taboola's backstage API.
Is there any way of doing it ?
Thank you
Posted by Dylan almost 2 years ago
Burk
Dear Taboola support team,
currently we are working on an app where a user can connect to his Taboola account via the Taboola Backstage API. We are planning on using the Authorization Code Flow for authentication.
We have the following question, since this isn't entirely clear from your Docs:
Should the client credentials (client ID and client secret) be set by the user or system wide? So, should every user of our app get his client credentials from Taboola and enter them when setting up the integration, or should we get one set of client credentials that will be used by very user of our app?
Regards, Burk
Posted by Burk almost 2 years ago
Is it possibl to know if campagn is on air or no ?
I'am using a basic request with "Campaign Summary Report".
Is it possibl to do a request and have a reponse with "campaignOnAir : True/False" or something similar.
Thank's !
Posted by Tommy almost 2 years ago
is there any way to replace all users in an exisiting audience by api?
I need to update my audience every X hours.
I don't know the previous users that was on the list.
I just need a way to send a new list of users and replace the whole exisiting users inside audience.
is there any way to do that or I must have the previous users?
thanks
Posted by Yossi almost 2 years ago
Can't exclude Network publisher
Hello,
while trying to block campaigns at the account level, I get this message:
{
"http_status": 400,
"message": "Can't exclude Network publisher",
"message_code": "api.action.bad_request.null"
}
this is what I sent:
POST https://backstage.taboola.com/backstage/api/1.0/ACCOUNTID/block-publisher\
Body:
{
"sites": [
"indiatoday-businesstoday",
"indiatoday-wonderwoman",
"indiatoday-cosmo"
]
}
The account I am sending the request for is not a network account. What could be the problem?
Thanks,
Amoir
Posted by [email protected] almost 2 years ago