Hi Paul, Please find my responses inline:
1. Now, is there a way that i can delete all these user lists programatically from the API so that I can upload new user lists to these existing campaigns? You will be able to use the CampaignCriterionService.mutate() <https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService#mutate> and remove the userlist criterion set at the Campaign level. You will need to specify the criterionId <https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService.CriterionUserList#id> and use the REMOVE <https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService.CampaignCriterionOperation#operator> operator. You could check this <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201710/targeting/AddCampaignTargetingCriteria.java> sample in Java which adds a campaign criterion for reference and make required updates. 2. Also, If is there a way to delete these campaigns programatically from API and create new ones? Can we use CampaignCriterionService to achieve both Campaign Maintenaance and USerList maintenance? To remove a campaign, you will need to use CampaignService <https://developers.google.com/adwords/api/docs/reference/v201710/CampaignService> and set the status of that campaign as REMOVED. Please check the RemoveCampaign <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201710/basicoperations/RemoveCampaign.java> example in Java for reference. Samples in other languages can be found here <https://developers.google.com/adwords/api/docs/clientlibraries>. You can use CampaignCriterionService <https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService> to manage the criterion set at the campaign level. Thanks, Sreelakshmi, AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/9f0cd989-1687-4f95-8dc9-6906213fb2ae%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
