google_ads_add_campaign_exclusions
Prevent ads from showing on unwanted placements or IP addresses by adding exclusions to a Google Ads campaign.
Instructions
Add placement and IP exclusions to a campaign.
Args: customer_id: Customer ID (without hyphens) campaign_id: Campaign ID placement_exclusions: List of URLs/apps to exclude (e.g., ["example.com", "youtube.com/channel/ABC"]) ip_exclusions: List of IP addresses to exclude (e.g., ["192.168.1.1", "10.0.0.0/24"])
Returns: Success message with exclusion summary
Note:
Placement exclusions prevent ads from showing on specific websites, YouTube channels, or apps
IP exclusions prevent ads from showing to specific IP addresses (useful for excluding office IPs)
CIDR notation supported for IP ranges (e.g., "10.0.0.0/24")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | ||
| campaign_id | Yes | ||
| placement_exclusions | No | ||
| ip_exclusions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |