Join us live on
Discord on the Google Advertising and Measurement Community server and on
YouTube on January 29th at 10:00 AM EST! We will discuss the new features added in v23 of the Google Ads API.
IpBlockInfo
Stay organized with collections
Save and categorize content based on your preferences.
An IpBlock criterion used for excluding IP addresses.
We support excluding individual IP addresses or CIDR blocks. Create one IpBlockInfo criterion for each individual IP address or CIDR block you want to exclude. You can exclude up to 500 IP addresses per campaign. For more details, see Exclude IP addresses.
IPv4 examples:
Individual address: 192.168.0.1
Individual address as CIDR block: 192.168.0.1/32
CIDR block: 192.168.0.0/24
IPv6 examples:
Individual address: 2001:db8:a0b:12f0::1
Individual address as CIDR block: 2001:db8:a0b:12f0::1/128
CIDR block: 2001:db8::/48
codeProto definition
| Fields |
ip_address
|
string
The IP address or the CIDR block to be excluded.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-12 UTC.
[null,null,["Last updated 2025-12-12 UTC."],[],[]]