Block IP Addresses
block_ip_addressesDestructive
Excludes IP addresses from a Google Ads campaign by adding them as IP exclusion (negative IP_BLOCK) campaign criteria, for example addresses that produce repeated invalid clicks. ips = comma-separated IPv4/IPv6 addresses, at most 200 per call; Google Ads allows up to 500 IP exclusions per campaign. confirm=false returns a preview, confirm=true applies. Use unblock_ip_addresses with the criterion ids from list_ip_exclusions to undo.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ips | No | ||
| confirm | No | ||
| campaign_id | No | ||
| customer_id | Yes |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||