Community Discussion

Ask a Question

API returns 200 OK, but contents are not being created on Taboola

Hello, a few of our users are running into an issue recently when creating campaigns and contents via API. What is happening is that even though our system is getting a 200 OK response, and also getting back the MD5 value for all uploaded images (which basically means that the contents have been created successfully), when looking at the campaign on Taboola dashboard some contents have not been created (sometimes none of the contents have been created). Unfortunately it is not easy to reproduce it because it does not seem to be happening regularly, but what we noticed is that for the missing contents, we get only the image MD5 as a response after creation but not the image URL. And when we try to access that image by replacing the MD% into your image cdn url, it says permission denied. For example: https://cdn.taboola.com/libtrc/static/thumbnails/3bed5cd3dc88c900d92f3b8a7d495ed8.jpg One example we were able to isolate from our logs is the one below: campaign id: 20870526 content id: 3563247174 image md5: 3bed5cd3dc88c900d92f3b8a7d495ed8 We would really appreciate your input on this. Hopefully the info above can help to debug the issue.
ANSWERED
ANSWERED
ANSWERED
ANSWERED
ANSWERED

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?
ANSWERED
ANSWERED

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);
ANSWERED
ANSWERED
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נ