Hello, To remove all IpBlock <https://developers.google.com/adwords/api/docs/reference/v201609/CampaignCriterionService.IpBlock> in the account, you may do the following steps and let me know if this helps:
1. Get all IpBlock in an account by calling the CampaignCriterionService.get <https://developers.google.com/adwords/api/docs/reference/v201609/CampaignCriterionService#get> operation with IP_BLOCK <https://developers.google.com/adwords/api/docs/reference/v201609/CampaignCriterionService.IpBlock> as the CriteriaType <https://developers.google.com/adwords/api/docs/reference/v201609/CampaignCriterionService.Criterion#type>. You may refer to this example code <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201609/targeting/GetCampaignTargetingCriteria.java> (Java client library example code) that shows how to get all campaign criteria. Please update the selector from the example code based on the requirement (e.g. IP_BLOCK as the CriteriaType). All selectable fields can be found here <https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201609-CampaignCriterionService>. Other client library example codes are available here <https://developers.google.com/adwords/api/docs/clientlibraries>. 2. After getting the list of IpBlock, you may iterate them and call the CampaignCriterionService.mutate <https://developers.google.com/adwords/api/docs/reference/v201609/CampaignCriterionService#mutate> operation with *REMOVE* operator for each CampaignCriterion returned. I recommend trying that out in your test account first to validate if that's what you need. Best, Joyce, 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. 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/ef10d2f6-ec3b-46f2-a744-8f1b83a38e48%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.