Community Discussion

Ask a Question
ANSWERED

Error 403 - Creating Campaign

Hi, I'm having issues with creating a campaign. I get the following error: {"http_status":403,"message":"Requested action is forbidden","message_code":"api.action.forbidden"} I'm sending a post request to https://backstage.taboola.com/backstage/api/1.0/account_id/campaigns/, where account_id is the alphabetical account ID. Do you have any ideas of what would be causing this issue? Thanks, Jerry
ANSWERED

by_referral_and_tracking_code URL - {'http_status': 403, 'message': 'Requested action is forbidden', 'message_code': 'api.action.forbidden'}

Was an update made to the publisher API? My script all of a sudden stopped working and the only error code I got was api action forbidden. I didn't see any announcement regarding this change. I had no issues getting a token. I'm only running into issues when I am making a report request. It looks like the issue started on 11/10/2021. I'm making a get request to this URL - https://backstage.taboola.com/backstage/api/1.0/reachmobi-mindyourdollars-slideshow/reports/visit-value/dimensions/by_referral_and_tracking_code?start_date=2021-11-15&end_date=2021-11-15
ANSWERED

Filtering Inactive subaccounts

Hello, We are currently pulling campaign data using the backstage api and are receiving a 403 response for specific accounts. Our current process is the following: 1. Get the account_ids by making the GET request to https://backstage.taboola.com/backstage/api/1.0/users/current/allowed-accounts 2. Get the campaigns by making the GET request to https://backstage.taboola.com/backstage/api/1.0/{account_id}/campaigns/ After some troubleshooting on our end, we see that the accounts that are giving us the 403 error, are actually inactive in the backstage ui. We would like to know if there is a way to filter out the inactive accounts via the API?
ANSWERED

Where can I get the Account Id ?

Hello everyone, I'm in the progress of familiarizing myself with the Backstage Report API for advertisers, I'd like to fetch a report called "Revenue Summary Report". Here is the sample given to proceed: GET /backstage/api/1.0/[account-id]/reports/revenue-summary/dimensions/[dimension]?[ parameters] Host: https://backstage.taboola.com Authorization: Bearer [access-token] Now, I know my company has a Network account and multiple sub-account, so I'm first getting my access token using the credentials related to the Network account but then my issue comes upon trying to find the proper account-id to be used. I have tried many of them: - the account_id of my network account, -> ends with this response: "http_status": 403, "message": "Requested action is forbidden", "message_code": "api.action.forbidden" - the id of my network account, ends with this response: "http_status": 400, "message": "Unknown publisher", "message_code": "api.action.bad_request.null" - the account_id of different sub-accounts (that I got using the route : https://backstage.taboola.com/backstage/api/1.0/[account_id]/advertisers -> this account_id being the one of my network account) -> ends with this response : "http_status": 403, "message": "Requested action is forbidden", "message_code": "api.action.forbidden" - the id of the different sub-accounts I used -> ends with this response: "http_status": 400, "message": "Unknown publisher", "message_code": "api.action.bad_request.null" So my question is, where can I get the proper account_id that will fetch me the revenue summary report? Is there an endpoint to be used with the network account_id first to retrieve the other id ? Thanks in advance for your replies,
ANSWERED

GET 403 from getting campaign summary

{'http_status': 403, 'message': 'Requested action is forbidden'}
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נ