> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage IP Exclusions

> Exclude or remove IP addresses at the Google Ads account level

Exclude or remove IP addresses at the Google Ads account level

| | |
| - | - |
| **App** | Google Ads |
| **Operation ID** | `gads_manage_ip_exclusions` |
| **Type** | Action |
| **Connection** | `gads` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |
| **Requires approval** | Yes (write operation) |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account to manage IP exclusions for. |
| `action` | string or SelectableOption | Yes | - | Choose whether to exclude IPs or remove existing IP exclusions. Options: 'exclude', 'remove'. |
| `ip_addresses` | string or array of string | Yes | - | IP addresses to exclude or remove. Can be entered as newline-separated or comma-separated. Supports single IPs (e.g. 203.0.113.10) and CIDR ranges (e.g. 198.51.100.0/24). |

### GadsAccountItem

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | |
| `label` | string | Yes | - | |
| `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask  user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. |

### SelectableOption

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | |
| `label` | string | Yes | - | |

## Output

**Type**: `Dict`

Returns details of excluded or removed IPs.

**Fields**: `action`, `count`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.