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

# Create Product Set

> Low-level tool that creates a Meta product set inside a catalog from a raw Meta filter passed to Meta as-is

Low-level tool that creates a Meta product set inside a catalog from a raw Meta filter passed to Meta as-is. Use meta\_ads\_list\_catalogs first to find the catalog id.

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

## Inputs

| Field        | Type                 | Required | Default | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ------------ | -------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `catalog_id` | string or SelectItem | Yes      | -       | Meta catalog ID. Use Meta Ads List Catalogs first to find this value.                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `name`       | string               | Yes      | -       | Name for the new product set.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `filter`     | object or string     | Yes      | -       | Raw Meta product set filter as an object, sent to Meta as-is. Use 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. Examples: \{"retailer\_id": \{"is\_any": \["SKU\_1", "SKU\_2"]}} or \{"and": \[\{"brand": \{"i\_contains": "nike"}}, \{"availability": \{"eq": "in stock"}}]}. To include all products use \{"retailer\_id": \{"i\_contains": ""}}. |

### 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 the created Meta product set.

**Fields**: `id`
