---
title: "List customer segments"
method: GET
path: "/ad_accounts/{ad_account_id}/customer_segments"
tags: ["customer_segment"]
---

# List customer segments

`GET /ad_accounts/{ad_account_id}/customer_segments`

Get a list of the customer segments in the specified `ad_account_id`.

## Path parameters

- `ad_account_id` string, required

## Query parameters

- `bookmark` string
- `page_size` integer
- `order` 'ASCENDING' | 'DESCENDING'
- `include_sizing` boolean
- `search_query` string

## Response `200`

The request has succeeded.

- object
  - `bookmark` string, nullable
  - `items` CustomerSegment[], required
    - `ad_account_id` string — The ID of the ad account that this customer segment belongs to.
    - `audience_ids` string[], required — Audience IDs included in the customer segment.
    - `created_time` integer — Customer segment created time. Unix timestamp in seconds.
    - `id` string — Customer segment ID.
    - `name` string, required — Customer segment name.
    - `status` 'ACTIVE' | 'DELETED' — Indicate targeting template is active or Deleted
    - `updated_time` integer — Customer segment updated time. Unix timestamp in seconds.

## Other responses

- `400` — The request could not be understood by the server due to unexpected data.
- `401` — Authentication is required and has either failed or not been provided.
- `403` — The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource.
- `404` — The requested resource could not be found on this server.
- `429` — The user has sent too many requests in a given amount of time and is being rate limited.
- `default` — An unexpected error response.

---

[API](https://skmtc.net/pinterest/apis/pinterest-rest-api.md) · [All operations](https://skmtc.net/pinterest/apis/pinterest-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pinterest/pinterest-rest-api/revisions/b698c180678a/schema)
