Community Discussion
I cannot get a report with multiple conversions
Hi Taboola team,
We have a campaign that links to a landing page. The landing page links then to multiple websites where conversions happen. To track these conversions, each destination page sends an S2S postback to Taboola.
For each destination page, we want to have a dedicated conversion rule. We do it to see how many conversions come from each destination page.
For testing purposes, I created two dedicated conversion rules. In the Taboola UI, we can see the conversions per conversion rule, which is what we want.
Unfortunately, I am unable to replicate it via the API. As far as I understand the documentation, we should use the `include_multi_conversions=true` parameter. However, it does not add the `dynamic_fields` field to the results set.
Here is the URL we use:
[https://backstage.taboola.com/backstage/api/1.0/{{ACCOUNT_ID}}/reports/campaign-summary/dimensions/campaign_hour_breakdown?start_date=2023-05-11&end_date=2023-05-12&include_multi_conversions=true&campaign={{CAMPAIGN_ID}}](https://backstage.taboola.com/backstage/api/1.0/{{ACCOUNT)
Do you see any problem with the setup mentioned above? What is the proper way of achieving what we need? Thank you!
Posted by Jacek Francuz 12 months ago
Query regarding creating campaign with Target CPA Smart Bid
Can you provide an example of a create campaign API request which creates a Smart Bid campaign and set a Target Cpa corresponding to the article bwlow
<https://help.taboola.com/hc/en-us/articles/4411547120919-Setting-Your-Bid-Strategy-SmartBid-s-Target-CPA>
On the API reference, in bid_type I can only see OPTIMIZED_CONVERSIONS which does not seem to correspond to Target Cpa and it doesn't provide an option to set the cpa target required
<https://developers.taboola.com/backstage-api/reference/campaign-bid-type>
Posted by Shubham A 12 months ago
Was Taboola's click ID parameter changed?
This is Taboola's token/macro for the click ID : {click_id}
And this works fine, since we correctly get the click ID.
For the postback, to pass conversions back to Taboola, we're using the following: click-id
Is this parameter (click-id) correct?
We get a successful response when posting conversions to Taboola, but some users are complaining that conversions are not showing up on Taboola.
Can you please confirm.
Thanks!
Posted by Ervis 12 months ago
Requested action is forbidden
I am trying to block a publisher and when executing the request I receive the error Requested action is forbidden
```php,php
$url = "https://backstage.taboola.com/backstage/api/1.0/$account_id/campaigns/$campaign_id/";
$body = json_encode([
"patch_operation" => "ADD",
"publisher_targeting" => [
"publishers"=> [$site]
]
]);
$client = new GuzzleHttp();
try {
$response = $client->request('PATCH', $url, [
'headers' => [
'authorization' => "Bearer $token",
'accept' => 'application/json',
'content-type' => 'application/json',
],
'body' => $body,
]);
$response_curl->status=1;
}catch (\Exception $e) {
$response = $e->getResponse();
}
```
Posted by alfon 12 months ago
Realtime API questions
Realtime API for previous days from the current day: In the dashboard when we select previous dates the Real-time filter automatically turns off. But the Real-time API (reports/realtime-top-campaign-content/dimensions/by_item) works fine for previous 4 days from the current day. I have added this point in the queries so that this can also be confirmed with Taboola Support.
Please find below the Queries I have regarding Taboola's Real-time API Integration,
Is there any way to get specific fields in {account-id}/campaigns?fetch_level=R API? For eg. If we require only tracking_code from the entire response.
Real-time reporting in Dashboard shows data according to America/New_York timezone. Is this the same while requesting data in API? Can this be changed?
Can the Realtime API be used to fetch data for previous days?
Can you please explain the reason behind the following delta? Please find attached logs where detailed request-response is logged.
For Ad (3567621651) on 06/05/2023 via API (reports/top-campaign-content/dimensions/item_breakdown) The spend is reported as 86.58.
For the same via real-time API (reports/realtime-top-campaign-content/dimensions/by_item) The spend is reported as 90.69.
Figures for visible_impressions and clicks also do not match.
Posted by Gaston 12 months ago
Disable Auto load of image/headline in campaignItem creation while using backstage api
On taboola UI there is a feature to "Load image and headline from the landing page URL" when you create a campaign Item and enter a url.
In the campaign item creation flow on backstage api there is no such option available and the feature seems to be enabled by default. Furthermore there is no documentation regarding this in the api reference.
<https://developers.taboola.com/backstage-api/reference/creating-a-campaign-item>
<https://developers.taboola.com/backstage-api/reference/create-a-campaign-item>
<https://developers.taboola.com/backstage-api/reference/updating-campaign-items>
<https://developers.taboola.com/backstage-api/reference/updating-campaign-items>
Please provide option to enable/disable this feature and update the documentation
Posted by [email protected] 12 months ago
Looking for `Group` and `Contained_Account` Information via API
Hi Team,
I am trying to retrieve a list of Groups and Contained_Accounts via API but it does not seem to be returned. Based on previous API calls, I thought this information would be returned from the below endpoint:
```
'https://backstage.taboola.com/backstage/api/1.0/users/current/allowed-accounts'
```
Can you confirm if this information is returned from the above endpoint and if it was deprecated in the past?
Posted by Mark Gaughran 12 months ago
Issue with Taboola API - "Resource Not Found" Error
I'm encountering a "Resource not found" error with the Taboola API. I've double-checked my credentials, campaign ID, and API endpoints, but the issue persists. Any guidance or assistance would be appreciated.
Error Message: {"http_status":404,"message":"Resource not found","message_code":"api.action.resource_not_found"}
Posted by null 12 months ago
Taboola Ad object inquiries
Hi Team,
Can you help me answer the following questions?
1. Is Taboola's data structure the following: Account > Campaign > Ad? Is there a group level/object between Campaign and Ad?
2. Does Taboola track ad placements? If yes, is there an endpoint that references placements?
3. Is the Campaign Summary Report the correct endpoint to use for retrieving performance data?
Thank you in advance for your help!
Posted by null 12 months ago
Please help - websites block list.
Hey guys!
I was running some campaigns here in Brazil and I realized that my ads were being displayed in A LOT of websites from other countries/pleaces (USA, Europe and so on...), then I started blocking all of them on account level, so they wouldn't use my budget for nothing.
Yesterday I decided to start announcing products from ClickBank to the american public... the campaign is active and running, but it wasn't flowing really nice, so I realized that there were MORE than 600 websites - mostly from the USA - blocked on account level, something that is really bad for this specific campaign that aims a public from the USA.
Then I tried to delete some of these 600 websites, so they can display my american Ads, but I would like them to stay blocked on my Brazilian ads. And what happened then?
"If you remove this website from the list, it will be unblocked for all your account"... and it would include my campaigns that aims only brazilians.
Omg, what can I do? I would like to remove all the american websites from this specific campaign, but they are blocked on account level and if I remove them, they will be allowed also for my brazilian campaigns (wasting my budget).
How can I solve this? How can I have different website block lists and run differente ads targeting different countries?
Should I add these 600+ websites on "CAMPAIGN block level" and always when I need to announce a new product, I have to duplicate the original campaign to have all the blocklist on campaign level?
Please help, I'm quite confused with this part.
Thanks a lot.
Posted by Felipe Albiero 12 months ago