Can i update exclusion ip list in adwords API

106 views
Skip to first unread message

Вася Сидоров

unread,
Jun 30, 2019, 6:52:13 PM6/30/19
to AdWords API and Google Ads API Forum
Hello. Sorry for my bad english.
I try to create right ask.

So, we using google adwords API to add user ip to exclusing list in Google Adwords campaing.
But we have some problem related to limit on count block list users.

1. Can we updated exclusing list using google adwords API. For example update last number of all list. 
Or can we use any variations to complet this task?
Or,  is an is possible to get all ip list ?

Thanks, to help.
Love you service. 

Google Ads API Forum Advisor Prod

unread,
Jul 1, 2019, 3:17:46 AM7/1/19
to adwor...@googlegroups.com

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
Reply all
Reply to author
Forward
0 new messages