> ## Documentation Index
> Fetch the complete documentation index at: https://e328d4e-productmetrics.manicule.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://e328d4e-productmetrics.manicule.dev/docs/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://e328d4e-productmetrics.manicule.dev/docs/api/mcp.
> Every agent surface: https://e328d4e-productmetrics.manicule.dev/docs/.well-known/llms-manifest.json

# List reachable Google Ads accounts (/docs/api/google-ads/list-accounts)

<!-- agent-signals: reading_time_min: 2 · est_tokens: 947 · updated: 2026-11-16 -->
Related: [Create conversion actions](/docs/api/google-ads/create-conversion-actions.md), [Create customer lists](/docs/api/google-ads/create-customer-lists.md), [Connect a Google Ads account](/docs/api/google-ads/create-property-connection.md), [Disconnect a Google Ads account](/docs/api/google-ads/delete-property-connection.md), [Get conversion action readiness](/docs/api/google-ads/get-conversion-actions.md), [Get customer lists](/docs/api/google-ads/get-customer-lists.md)

> The Google Ads accounts the signed-in person's own Google sign-in can reach, with their customer ids.

`GET https://prod-backend.productmetrics.io/api/public/v1/google-ads/accounts`

**Scope** `read` · **Access** Read only · **Operation id** `google_ads.list_accounts`

## Try it

`productmetrics` runs after `productmetrics login`; curl needs `PM_TOKEN` (see [Authentication](/docs/api/overview#authentication)).



**productmetrics CLI:**

```bash
productmetrics google-ads list-accounts --json
```

**curl:**

```bash
curl "https://prod-backend.productmetrics.io/api/public/v1/google-ads/accounts" \
  -H "Authorization: Bearer $PM_TOKEN"
```

## Response



API response (200):

```json
{
  "data": {
    "accounts": [
      {
        "customer_id": "9876543210",
        "descriptive_name": "Example Store Agency",
        "currency_code": "EUR",
        "time_zone": "Europe/Amsterdam",
        "parent_id": null,
        "level": 0,
        "is_manager": true,
        "mcc_account_id": "9876543210"
      },
      {
        "customer_id": "1234567890",
        "descriptive_name": "Example Store",
        "currency_code": "EUR",
        "time_zone": "Europe/Amsterdam",
        "parent_id": null,
        "level": 1,
        "is_manager": false,
        "mcc_account_id": "9876543210"
      }
    ]
  },
  "request_id": "req_01JEBJW8WTW9HP6H6VNCVMPXE4"
}
```

Manager (MCC) accounts are listed with `is_manager: true`; connect a client account, not the manager.

**CLI output:** `productmetrics google-ads list-accounts --json` prints `{ "ok": true, "data": …, "request_id": "…" }` with the same `data`.

## Before you call

Use it to pick the `customer_id` for [`google_ads.create_property_connection`](/docs/api/google-ads/create-property-connection) in `user_oauth` mode. Fails with 400 when the person has not granted Google access; that happens in a browser: give them the link from [`google.get_connect_link`](/docs/api/account/google-get-connect-link).

## Errors

A failure answers with its HTTP status and `{ error: { code, message, details? }, request_id }`. Branch on `code` (stable, lower_snake); show `message` to the person. The CLI prints the same `error` with `"ok": false`.

```json
{
  "error": {
    "code": "insufficient_scope",
    "message": "This operation needs the read scope; connect again and allow it.",
    "details": {
      "required_scope": "read"
    }
  },
  "request_id": "req_01JAK9GGCT2C9J3P13HP2KA5EW"
}
```

| Status | Code                 | When                                                                                                                                                                                |
| ------ | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 400    | `invalid_request`    | Fails with 400 when the person has not granted Google access; that happens in a browser: give them the link from [`google.get_connect_link`](/docs/api/account/google-get-connect-link). |
| 401    | `invalid_token`      | The token is missing, expired or revoked: sign in again (`productmetrics login`). The `WWW-Authenticate` header says why.                                                           |
| 403    | `insufficient_scope` | The token lacks the `read` scope (`details.required_scope`): sign in again and allow it.                                                                                            |
| 429    | `rate_limited`       | More than 600 requests a minute for this person: wait the `Retry-After` seconds (60) and retry.                                                                                     |

[All Google Ads operations](/docs/api/google-ads)
