> ## 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 Ad Groups

> Lists ad groups for a TikTok Ads advertiser account with status, schedule, budget, bidding, optimization goal, and all details

Lists ad groups for a TikTok Ads advertiser account with status, schedule, budget, bidding, optimization goal, and all details. Supports filtering by delivery status and by campaign/ad group name or ID.

|                      |                             |
| -------------------- | --------------------------- |
| **App**              | TikTok Ads                  |
| **Operation ID**     | `tiktok_ads_list_ad_groups` |
| **Type**             | Action                      |
| **Connection**       | `tiktok_ads` (required)     |
| **Credits per run**  | 1                           |
| **Agent / MCP tool** | Yes                         |

## Inputs

| Field                 | Type                       | Required | Default | Description                                                                                                                                                                                                                                                                                                                                                                                         |
| --------------------- | -------------------------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `account`             | DynamicAccount             | Yes      | -       | Select the TikTok Ads account whose ad groups should be listed.                                                                                                                                                                                                                                                                                                                                     |
| `status`              | string or SelectableOption | No       | `ALL`   | Filter ad groups by delivery status. Defaults to ALL (excludes deleted). Choose ACTIVE to only see ad groups currently delivering. Options: ALL, ALL\_INCLUDING\_DELETED, ACTIVE, NOT\_STARTED, NOT\_DELIVERING, DISABLED, DELETED.                                                                                                                                                                 |
| `operation_status`    | string or SelectableOption | No       | `ALL`   | Filter ad groups by ON/OFF operation status. Defaults to ALL. Options: ALL, ENABLE (the ad group is ON), DISABLE (the ad group is OFF), FROZEN (the ad group is terminated and cannot be enabled).                                                                                                                                                                                                  |
| `filters`             | array of FilterItem        | No       | -       | Additional filters to apply when retrieving ad groups. The available fields to filter by are: - campaign\_id: Filter by parent campaign ID - campaign\_name: Filter by parent campaign name - adgroup\_id: Filter by ad group ID - adgroup\_name: Filter by ad group name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. |
| `exclude_null_fields` | boolean                    | No       | `False` | When true, ask TikTok to remove fields with null values from the response. Use this when the result will be reused as an update payload for `tiktok_ads_update_ad_group`. Leave false when you need to inspect every returned field, including empty/null fields.                                                                                                                                   |
| `limit`               | integer                    | No       | `100`   | Maximum number of ad 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.                                                                                 |

### SelectableOption

| Field   | Type   | Required | Default | Description |
| ------- | ------ | -------- | ------- | ----------- |
| `value` | string | Yes      | -       |             |
| `label` | string | Yes      | -       |             |

## Output

**Type**: `List[Dict]`

Returns the raw list of TikTok ad groups for the selected advertiser as provided by the TikTok /adgroup/get/ endpoint. See TikTok Marketing API docs for the full set of fields.
