Hi Chris,
In order to block IP addresses, you may use
CampaignCriterionService.mutate()
<https://developers.google.com/adwords/api/docs/reference/v201809/CampaignCriterionService#mutate>
and set the criterion of NegativeCampaignCriterion
<https://developers.google.com/adwords/api/docs/reference/v201809/CampaignCriterionService.NegativeCampaignCriterion>
object to IpBlock
<https://developers.google.com/adwords/api/docs/reference/v201809/CampaignCriterionService.IpBlock>.
You may refer to the Java code sample in this link
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201809/targeting/AddCampaignTargetingCriteria.java#L208-L218>
(refer here <https://developers.google.com/adwords/api/docs/clientlibraries>
for other supported languages of our client libraries).
Please let me know if I have misunderstood your question.
Regards,
Kevin
AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
On 01/25/19 21:44:53 [email protected] wrote:
Also any examples?
Thank you
On Thursday, November 8, 2018 at 11:32:11 PM UTC-7, rymj wrote:
Hellow.
We want to block more than 500 IPs.
Is there a way to register more than 500 IP addresses or any other way to
achieve that?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
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/77cd6a49-deac-4134-a1dc-7c043699cbe0%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/77cd6a49-deac-4134-a1dc-7c043699cbe0%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
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/180le0g0000000008s3mle006ebkeqx60mj2d9i60o30c1g68q30e9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.