Community Discussion

Ask a Question
ANSWERED

Taboola to Google Sheet Script

Hi there, Is there a script available that I can use within Google Sheets to import campaign data such as costs on an hourly/daily basis from my Taboola Ad account? If so I'd be very grateful if someone could share this with me :)
ANSWERED

upload picture

Calling with Python https://backstage.taboola.com/backstage/api/1.0/operations/upload-image Interface upload image, no return value
ANSWERED

How to extract revenues by publisher with Python Script (split by platform)

Hello all, I have this script to extract my campaign data splited by plateform (see bellow). But now, I want to know how to extract the revenues earn by my publisher. Do you knwo how I can do that ? ___________________________ My Script : client_id =XXXXXXXXXXX client_secret = XXXXXXXXXXXXX start_date = "2021-06-08" end_date = "2021-06-08" account_id = "XXXXXXXX" dimension = "content_provider_breakdown" folder_path = r"/Users//Documents/" url = "https://backstage.taboola.com/backstage/oauth/token" payload = f"client_id={client_id}&client_secret={client_secret}&grant_type=client_credentials" headers = {"Content-Type": "application/x-www-form-urlencoded"} response = requests.request("POST", url, data=payload, headers=headers) data = response.json() access_token = data["access_token"] url = f"https://backstage.taboola.com/backstage/api/1.0/{account_id}/reports/campaign-summary/dimensions/{dimension}" url = f"https://backstage.taboola.com/backstage/api/1.0/{account_id}" querystring = {"start_date":start_date,"end_date":end_date,"platform":"DESK"} bearer = f"Bearer {access_token}" headers = {"Authorization": bearer} response = requests.request("GET", url, headers=headers, params=querystring) data = response.json() _____________________________
ANSWERED

Export Datas from Python using your API.

Hello, I would like to know how to export datas from taboola using your API through Python. Do you have a script wich allows me to extract datas directly from a Jupyter Notebook. There is some informaiton on this site but i'm not a developper, just a data analyst: https://github.com/dolead/pytaboola (Currently I use the export button then I clean and export datas using python with numpy and pandas library but I don't know how to directly export data from a notebook using your API) Thank you in advance, Charles Martinaud
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_modifiersbillingbilling_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_credentialscode_snippetconnectorcontent-typeconversion_dataconversion_ruleconversionsconversions_valuecorscountriescountrycountry_codescpa_actionscpa_actions_numcpccpc_macrocreate_campaigncreate_itemcreate_timecreation_datecustom_audiencecustom_audience_rulecustom_conversion_rulecustom_conversionscut_offdaily_capdaily_spenddata_freshnessdata_studiodata_studio_connectordayday_dimensiondelaydeletedictionarydifferent_accountdiscrepancydocs_issuedocumentationdomainduplicateduplicate_campaignempty_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_reportingrecommendation_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נ