Re: Remove all excluded IP from account

2016-10-13 Thread 'Joyce Lava' via AdWords API Forum
Hello,

To remove all 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 

 operation 
with IP_BLOCK 

 as 
the CriteriaType 
.
 
You may refer to this example code 

 (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 
.
 
Other client library example codes are available here 
.
2. After getting the list of IpBlock, you may iterate them and call the 
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.


Remove all excluded IP from account

2016-10-13 Thread vj
Hi,

Is that possible to remove all excluded ips from account using api??

I tried to remove sinlge ip using api , that ip was removed using api but 
now i wants to remove all the ips that i excluded in account without 
passing all ip address at a time. 

is it possible via api?? 

Thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c477d734-dccc-4c9d-ba59-5e1c10621435%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.