Community Discussion

Ask a Question
ANSWERED
ANSWERED
ANSWERED
ANSWERED
ANSWERED
ANSWERED
ANSWERED

Custom audience targeting update failure

Hello, I've been unsuccessfully trying to update the audience targeting of a campaign to make it include a custom audience. The steps I've taken follow: 1) I've successfully created a campaign through the Taboola API and set aside its id. 2) I've successfully created a new conversion through the Taboola UI. To be more specific: - I reached the "Tracking" section - I clicked "New Conversion" - I set the "Type" field as "Event", the "Based on" field as "Custom" and filled all the remaining fields. I managed to set aside its id extracting it from the created conversion page's URL. I know that this is not probably the proper way to accomplish the task, but was just meant as a temporary workaround while waiting for another question (https://developers.taboola.com/backstage-api/discuss/61d5df7ae026df01f3680a81) to be answered. 3) I've tried to update the targeting of the campaign by issuing a POST request to https://backstage.taboola.com/backstage/api/1.0/my_account_id/campaigns/the_campaign_id/targeting/custom_audience with this JSON body: { "collection": [{ "collection": [the_conversion_id], "type": "INCLUDE" }] } The API responds with an error: { "http_status": 400, "message": "Collection contains invalid rule ids for targeting: [1]", "offending_field": "custom_audience_targeting.collection[0].collection", "message_code": "campaign.unip.retargeting.rules.invalid.ids" } Am I doing something wrong? I supposed that creating a new custom conversion through the UI and creating a new custom audience rule through the API (https://developers.taboola.com/backstage-api/reference#create-a-custom-audience-rule) were interchangeable operations. Perhaps this is not the way it works but I could not make it clear reading the documentation and/or using the UI. Thanks is advance for your support.
ANSWERED
ANSWERED

Duplicate campaigns to different advertiser (within the same account)

Hello, In taboola UI: When we select "network" in advertiser selection in top right corner and then duplicate campaign (by click the last icon in campaign management) we have option to select advertiser on the next screen (its called provider). However if we select specific advertiser we can duplicate only to the same advertiser - "provider" selection is grayed out. We try to use the first behavior via API, duplicate campaign to different advertiser. This is attempt to duplicate to different advertiser from network level as its done in UI: https://backstage.taboola.com/backstage/api/1.0/webfoxconetwork/campaigns/5159895/duplicate RES { "http_status": 404, "message": "Resource not found" } This is attempt to duplicate to different advertiser (we not expected this will work as its not working in taboola UI) https://backstage.taboola.com/backstage/api/1.0/bleacherbreaker-sc/campaigns/5159895/duplicate BODY: { "advertiser_id": "bleacherbreaker-m-sc", "name": "wuz-d-uk-c-0-p3-200623-bb-tb-0--dev" } RES { "http_status": 400, "message": "Trying to modify a read-only field", "offending_field": "advertiser_id" } Without passing "advertiser_id" duplication works fine. Can we somehow duplicate to different advertiser_id from API as its done from taboola UI? This can help us to avoid manual operations/error and reduce usage of taboola UI. Thanks, Misha
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ื