> ## 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 Product Set

> Updates a Meta product set's name, raw Meta filter, or both

Updates a Meta product set's name, raw Meta filter, or both. The filter fully replaces the current one. Use meta\_ads\_list\_product\_sets first to find the product set id and current filter.

|                       |                               |
| --------------------- | ----------------------------- |
| **App**               | Meta Ads                      |
| **Operation ID**      | `meta_ads_update_product_set` |
| **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                                                                                                                                                                                                                                                                                                                                                                    |
| ---------------- | -------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `catalog_id`     | string or SelectItem | No       | -       | Optional Meta catalog ID, only used to locate the product set.                                                                                                                                                                                                                                                                                                                 |
| `product_set_id` | string or SelectItem | Yes      | -       | The Meta product set ID to update. Use Meta Ads List Product Sets first to find this value.                                                                                                                                                                                                                                                                                    |
| `name`           | string               | No       | -       | New name for the product set. Leave empty to keep the current name.                                                                                                                                                                                                                                                                                                            |
| `filter`         | object or string     | No       | -       | New raw Meta product set filter as an object, sent to Meta as-is and replacing the current filter. Uses Meta filter syntax with operators like is\_any, contains, i\_contains, eq, neq, and and/or groups over catalog fields such as retailer\_id, brand, category, availability, condition, or custom\_label\_0 to custom\_label\_4. Leave empty to keep the current filter. |

### 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**: `Dict`

Returns product\_set\_id, product\_set\_name, updated\_fields, and the final payload.

**Fields**: dynamic (depend on the inputs)
