Join us live on Discord on the Google Advertising and Measurement Community server and on YouTube on February 26th at 10:00 AM EST! We will discuss the new features added in v23.1 of the Google Ads API.
IpBlockInfo
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
The IpBlock criterion is used for IP exclusions and supports both IPv4 and IPv6 addresses.
Supported formats for IP addresses include individual addresses, masks for individual addresses, and masks for Class C networks.
The ip_address field is a string representing the IP address of the IP block.
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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-02-23 UTC."],[],[]]