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

# List Product Groups

> Lists catalog product groups for a Pinterest Ads account, optionally scoped to a catalog or feed

Lists catalog product groups for a Pinterest Ads account, optionally scoped to a catalog or feed. Product groups are what catalog-based ads promote, for example with pinterest\_ads\_create\_ad using COLLECTION or SHOPPING creative types.

|                      |                                     |
| -------------------- | ----------------------------------- |
| **App**              | Pinterest Ads                       |
| **Operation ID**     | `pinterest_ads_list_product_groups` |
| **Type**             | Action                              |
| **Connection**       | `pinterest_ads` (required)          |
| **Credits per run**  | 1                                   |
| **Agent / MCP tool** | Yes                                 |

## Inputs

| Field        | Type                 | Required | Default | Description                                                                                                                                                                                                                                                                                        |
| ------------ | -------------------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `account`    | DynamicAccount       | Yes      | -       | Select the Pinterest Ads account whose catalog product groups should be listed.                                                                                                                                                                                                                    |
| `catalog_id` | string or SelectItem | No       | -       | Optional catalog ID to list product groups from. Find IDs with pinterest\_ads\_list\_catalogs.                                                                                                                                                                                                     |
| `feed_id`    | string or SelectItem | No       | -       | Optional feed ID to list product groups from. Find IDs with pinterest\_ads\_list\_feeds.                                                                                                                                                                                                           |
| `filters`    | array of FilterItem  | No       | -       | Additional filters to apply when retrieving product groups. The available fields to filter by are: - id: Filter by product group ID - name: Filter by product group name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. |
| `limit`      | integer              | No       | `100`   | Maximum number of product groups to return. Default: 100.                                                                                                                                                                                                                                          |

### FilterItem

| Field      | Type                       | Required | Default | Description                                                                                                                                                   |
| ---------- | -------------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `field`    | string or SelectableOption | Yes      | -       | The field to filter on, must be one of the current selected metrics or dimensions.                                                                            |
| `operator` | string                     | Yes      | -       | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' |
| `value`    | string                     | Yes      | -       | The value to filter by. Can be a string, number, regex, or a list of strings.                                                                                 |

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

Returns the raw list of Pinterest catalog product groups.
