| App | Google Ads |
| Operation ID | gads_update_campaign_location_language |
| 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, ask user for it if not provided |
campaign_id | string or SelectItem | Yes | - | Select the campaign to update |
locations | array of string or SelectableOption | No | - | Target locations for the campaign. Use 2-letter ISO country codes (e.g., ‘US’, ‘CA’) or Google Ads location IDs (e.g., ‘2840’). Use the ‘gads_search_geo_targets’ operation to find location IDs for cities, regions, etc. Leave empty to keep current locations. |
negative_locations | array of string or SelectableOption | No | - | Locations to exclude from targeting. Use 2-letter ISO country codes (e.g., ‘US’, ‘CA’) or Google Ads location IDs (e.g., ‘2840’). Use the ‘gads_search_geo_targets’ operation to find location IDs for cities, regions, etc. Leave empty to keep current excluded locations. |
languages | array of string or SelectableOption | No | - | Target languages for the campaign. Use 2-letter language codes (e.g., ‘EN’, ‘ES’). Select ‘ALL’ to target all languages. Leave empty to keep current languages. |
geo_target_type | string or SelectableOption | No | - | Advanced location option. PRESENCE_OR_INTEREST: people in, regularly in, or interested in your locations. PRESENCE: only people in or regularly in your locations. Leave empty to keep current setting. |
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. |
SelectItem
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
value | string | Yes | - | The value of the selectable item. |
label | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |
SelectableOption
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
value | string | Yes | - | |
label | string | Yes | - |
Output
Type:Dict
Returns update summary with campaign ID and changes made.
Fields: campaign_id, changes, summary
