Community Discussion

Ask a Question

Taboola Campaign Duplication: Campaign duplicated after API returned 401 unauthorized

We are using the backstage api to create campaigns via duplication. We faced an instance where Taboola returned 401 Unauthorized for a request but still created the campaign at their end. It was thankfully detected but this is a very dangerous situation. Allowing campaigns to be created after returning FAILED status to end user can cause spends to be incurred. Please investigate and fix the issue on priority. Logs (Timestamps are in UTC) : 2023-11-13 10:38:50.164 INFO 1 --- [l-15-thread-145] \: --> POST <https://backstage.taboola.com/backstage/api/1.0/>\<redacted_source_account>/campaigns/30114321/duplicate?destination_account=\<redacted_destination_account> (182-byte body) 2023-11-13 10:39:17.769 INFO 1 --- [l-15-thread-145] \: \<-- 401 Unauthorized <https://backstage.taboola.com/backstage/api/1.0/>\<redacted_source_account>/campaigns/30114321/duplicate?destination_account=\<redacted_destination_account> (27605ms, unknown-length body) The campaign was created and is present in \<redacted_destination_account> with campaign Id :30298951 Details of these account, campaigns will be shared via private correspondence to our AccountManager

404 get all campaigns

When I try to get all the campaigns, I'm getting a 404 response: { http_status: 404, message: 'account', message_code: 'api.action.resource_not_found' } const fetch = require('node-fetch'); require('dotenv').config(); const url = '<https://backstage.taboola.com/backstage/api/1.0/ADACCOUNTID/campaigns/'>; const options = { method: 'GET', headers: { authorization: 'Bearer ' + process.env.TABOOLA_ACCESS } }; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error('error:' + err)); What could be the issue?

Gaps in data collection API?

Why are there gaps in pulling exposure data from the system to the BI software?

Bulk Campaign & Content Upload

Hi, How can I upload bulk campaigns via API

Why do I cannot access campaign-report-by-campaign-daily end-point by API?

I'm trying get all reports by day from a specific user, but I'm getting: http_status: 405, message: 'Not allowed call detected: timeDiffMin=153722867280912, endpoint=/api/my_client_id_here/reports/campaign-report-by-campaign-daily, user=[myuseremail.here](mailto:[email protected]), ip=my_ip_address_here, ua=axios/1.6.0, signature=null, clientVersion=no data'. How can I get access to this endpoint? Also has another way to getting all reports with all of campaigns by day? Campaign Summary Report endpoint does not brings campaing_name and I need that. Top Campaign Content Report endpoint brings just one campaign, I need all of campaigns from the client_id. Also Realtime Campaign Report endpoint does not brings capaing_name. How Can I get reports from all campaigns by user account filtering by date?
ANSWERED

How to get total clicks,total spend for a account id

For all accounts under a network I want clicks, spend, conversion value. I was not able to find the API. Can you please help me with it.

How to track events post via http requests

Hi, I am sending http events from Hightouch to Taboola ads. The url I am using in Hightouch is : <https://ads.taboola.com/> . From the Hightouch the events are showing syncing fine and response code is 200. How can I track the events in Taboola? Regards, Abhishek

Duplicate campaigns - MAX_CONVERSIONS

Hi, Is it possible to duplicate SMARTBID campaigns to MAX_CONVERSIONS campaigns with the API? Is it possible to duplicate MAX_CONVERSIONS campaigns to MAX_CONVERSIONS campaigns with the API? We tried it many times different options with no success. Thanks, Amir.

Site blocking doesnt work

![](<>) (Tried to upload Images but the option was bugged after the first Image and couldn't upload more than 1 Image it got stuck) Patch Request- <https://cdn.discordapp.com/attachments/1159048574802350133/1164601329591783555/image.png?ex=6543ce82&is=65315982&hm=4645126c2e29b6577114877904355f62ebd676696d25d9ac35a136af8f5a7935&> Patch Response - <https://cdn.discordapp.com/attachments/1159048574802350133/1164601353394462730/image.png?ex=6543ce87&is=65315987&hm=2a33bf9fec0393cd66023d3eb92ad2b02167ff675c9d626b337a3068eb6c998c&> Checking after patch to see if the site is blocked - <https://cdn.discordapp.com/attachments/1159048574802350133/1164601461511045251/image.png?ex=6543cea1&is=653159a1&hm=f8a446bbe7b57464d7a1ee2cfc3c947fb3da4542f2d76e8b68109a62e0fe05b8&> Post Request - <https://cdn.discordapp.com/attachments/1159048574802350133/1164601387804540968/image.png?ex=6543ce90&is=65315990&hm=3aa88ba032091f9bb557ee75f8de9603548de0e65f508697363ad662c6f8150c&> Post Response + With checking on the Response - <https://cdn.discordapp.com/attachments/1159048574802350133/1164601425951735869/image.png?ex=6543ce99&is=65315999&hm=4f74769f6357a725e354812d7174427d6b9b9a2a0aadf48cbb8d76cce7adc32a&> I've tried to upload blocking sites with both options Patch and Post. I got on both options successful response but the site never appeared on the campaign on neither options. when i send a get request for the campaign to check if the site got excluded Thanks, Amir.

my question is Internal Server Error

When I posted the question, I was able to view the screen, but at about the time I got the reply, I am getting an Internal Server Error. <https://developers.taboola.com/backstage-api/discuss/65250e8b1d53db006206f61f>
150030003014004014034044294_flows50050390_daysaccess_tokenaccountaccount_creationaccount_idaccount_levelaccount_level_blockaccount_typeaccountsactivity_scheduleactual_cpcadvertiser_idadvertisersallowed_accountsalphabeticapi_accessapi_changesapi_keyapi_newsletterapi_secretaudienceaudience_onboardingaudience_segmentsaudience_targetingaudiencesaudit_trailauthorization_codeauto_targetingaws_downtimeaws_serverbalancebasebasic_authenticationbibidbid_modifierbid_modifiersbid_strategybillingbilling_cycleblockblock_publisherblock_publishersbrand_safetybrowser_breakdownbulk_createbulk_updatebulk_update_campaignsby_audienceby_campaignby_hour_of_daycachingcampaigncampaign_daycampaign_day_breakdowncampaign_fieldscampaign_learningcampaign_levelcampaign_ownercampaign_site_daycampaign_summarycampaignscity_targetingclick_idclicksclient_credentialsclient_idclient_secretcode_snippetconnectorcontent-typeconveresion_ruleconversion_dataconversion_ruleconversionsconversions_valuecorscountriescountrycountry_codescpa_actionscpa_actions_numcpccpc_macrocreate_campaigncreate_itemcreate_timecreation_datectacustom_audiencecustom_audience_rulecustom_conversion_rulecustom_conversionscut_offdaily_capdaily_spenddata_freshnessdata_studiodata_studio_connectordayday_dimensionday_partingdelaydeletedictionarydifferent_accountdiscrepancydocs_issuedocumentationdomainduplicateduplicate_campaignduplicate_campaignsempty_responseend_dateevent_basedexelatefeature_requestfetch_levelfiltersfirst_party_audienceflowfull_authenticationget_account_detailsgoogle_apps_scriptgoogle_scriptgoogle_sheetshidden_audiencehidden_segmentshourlyhourly_reportinghourly_spendhtmlhtml_login_pagehtml_responseiasimplicit_flowinactive_accountsinclude_multi_conversionsinclusionsintegrationinternal_support_ticketip_addressis_atomicitemitemsixudra_curljava_client_sdkjava_sdkjavascriptjsjupyter_notebooklaravellearning_statelimitlist_of_publisherslookalike_audiencelookalike_audienceslookback_windowloss_of_scalemacrosmalformed_jsonmarketplacemarketplace_audiencesmax_campaignsmax_itemsmax_resultsminimum_bidminimum_cpcmixedanalyticsmy_audiencesnetworknetwork_accountnew_featurenullnumeric_site_idoauth2os_breakdownpage_viewpagingpartner_typepassword_credentialspatchpausepermissionsphppixel_lookalikeplacementplacement_breakdownplacement_filterplacement_nameplatform_targetingpostmanprecannedprerequisites_not_metpublisherpublisher_bid_modifierpublisher_blockspublisher_idpublisher_namepublisher_networkpublisher_reportspublisher_targetingpublisher_urlpublisherspythonpython_clientrrate_limitreal_timereal_time_reportingrealtime_reportsrecommendation_apiredirect_urirejected_campaignsremove_allreport_cachingreportingreporting_discrepancyreportsretention_periodrevenuerevenue_summaryrevenue_summary_reportroadmaps2ssafety_ratingsalessandboxscalesitesite_breakdownsite_nameslowslownesssort_filterspecial_charsspendspending_limitsslssostatussub_accountssupermetricssupport_tickettataboola_adstaboola_pixeltargetingtcctest_accounttheoptimizertimeouttimezonetlstop_campaign_contenttop_contenttracking_codetypouiunblock_publishersunknown_publisherupdate_itemupload_imageurluser_accountsuser_segmentsutmvaluevideovideo_campaign_summaryvideo_campaignsvideo_completionsvideo_itemvideo_itemsviewsvisit_valuevoluumweb_hookswhitelistx-www-form-urlencodedyearly_reportingנ