Inputs
FilterItem
SelectableOption
Output
Type:List[Dict]
Returns the raw list of Pinterest ad groups as provided by the Pinterest /ad_groups endpoint.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Lists ad groups for a Pinterest Ads account with status, budget, bid, billable event, and targeting details
| App | Pinterest Ads |
| Operation ID | pinterest_ads_list_ad_groups |
| Type | Action |
| Connection | pinterest_ads (required) |
| Credits per run | 1 |
| Agent / MCP tool | Yes |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
account | DynamicAccount | Yes | - | Select the Pinterest Ads account whose ad groups should be listed. |
campaign_ids | array of string (also accepts a comma-separated string) | No | - | Optional campaign IDs to list ad groups from, as a list or comma-separated text. |
ad_group_ids | array of string (also accepts a comma-separated string) | No | - | Optional ad group IDs to fetch, as a list or comma-separated text. |
entity_statuses | array of string or SelectableOption | No | - | Filter ad groups by status. Options: ACTIVE, PAUSED, ARCHIVED, DRAFT. Defaults to ACTIVE and PAUSED when omitted. |
translate_interests_to_names | boolean | No | False | When true, interest IDs inside each ad group’s targeting_spec are returned as human-readable names. Default false. |
filters | array of FilterItem | No | - | Additional filters to apply when retrieving ad groups. The available fields to filter by are: - id: Filter by ad group ID - name: Filter by ad group name - campaign_id: Filter by parent campaign ID 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 ad groups to return. Default: 100. |
| 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, always as a string: text, a number, or a regex. For IN_LIST and NOT_IN_LIST, pass the values as one comma-separated string such as ‘a,b,c’, not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
value | string | Yes | - | |
label | string | Yes | - |
List[Dict]
Returns the raw list of Pinterest ad groups as provided by the Pinterest /ad_groups endpoint.