Hi,

In order to block IP addresses, you may use CampaignCriterionService.mutate() 
and set the criterion of NegativeCampaignCriterion object to IpBlock. You may 
refer to the Java code sample in this link (refer here for other supported 
languages of our client libraries). You may use SET operator (for the mutate 
operation) to update existing exclude IP addresses (Which will remove existing 
IP address and set the new IP address to exclude provided by SET operator).

However, unfortunately, it is currently not possible to increase the limits in 
AdWords API (The limit number of excluded IP blocks per campaign is 500).

With regard to your last question, could you confirm what you meant by this "is 
an is possible to get all ip list ?"? If what you meant is getting, list of 
blocked IP address, you may use Campaign Criteria Report with filtering 
CriteriaType = IP_BLOCK to get the blocked IPs via Criteria field of the API.

Please let me know if you have further concerns.

Regards,
Hiroyuki
Google Ads API Team
ref:_00D1U1174p._5001UCaJIg:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/rsIkF000000000000000000000000000000000000000000000PTYC9B008kBACiWPRgi-bloE126WTA%40sfdc.net.

Reply via email to