> ## 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.

# Update Adset Language

> Updates language targeting (locales) for a Meta Ads ad set

Updates language targeting (locales) for a Meta Ads ad set.

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

## Inputs

| Field        | Type                          | Required | Default | Description                                                                                                                                               |
| ------------ | ----------------------------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `account`    | DynamicAccount                | Yes      | -       | Select Meta Ads account, ask the user for it if not provided                                                                                              |
| `adset_id`   | string or SelectItem          | Yes      | -       | The ad set to update language targeting for                                                                                                               |
| `locale_ids` | array of string or SelectItem | Yes      | -       | Select locale IDs. Choose 'ALL' to use All languages (Meta Default). Use operation `meta_ads_search_targeting` to find locale IDs for specific languages. |

### 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. |

## Output

**Type**: `str`

Returns success message confirming language targeting update.
