---
title: "Google Ads customers or Search Console sites a connection can read"
method: GET
path: "/projects/{project_id}/google-connections/{connection_id}/accounts"
tags: ["Google"]
---

# Google Ads customers or Search Console sites a connection can read

`GET /projects/{project_id}/google-connections/{connection_id}/accounts`

## Request

- Base URL: `https://adslighthouse.com/api/v1`
- URL: `https://adslighthouse.com/api/v1/projects/{project_id}/google-connections/{connection_id}/accounts`
- Auth: HTTP bearer

Lists the Google Ads customer ids (for a google_ads connection) or Search Console properties (for a search_console connection) the connection can read, to pass to the report tools. Reads Google's data live with the connection of the person the credential acts for; nothing is saved and it uses no check allowance. Connecting or reconnecting needs Google sign-in in the app (Settings > Connections).

## Path parameters

- `project_id` string, required: The project: its id, its brand domain (for example nike.example) or its exact project or brand name. Unknown or ambiguous references return not_found; call list_projects then.
- `connection_id` string, required: The connection id from list_google_connections.

## Response `200`

Google Ads customers or Search Console sites a connection can read

- object
  - `customers` object[], required
    - `customer_id` string, required
  - `sites` object[], required
    - `site_url` string, required
    - `permission_level` string, required
  - `request_id` string

## Other responses

- `400`: Invalid parameters, cursor or body.
- `401`: Missing, invalid, expired or revoked credential.
- `403`: The credential lacks the write scope, the plan does not include the API, or the allowance is used up.
- `404`: Unknown project, keyword or run in this account.
- `409`: The idempotency key was already used for a different request.
- `429`: Rate limit reached. Retry after the Retry-After seconds.
- `503`: The requested service or file is temporarily unavailable.

---

[API](https://skmtc.dev/adslighthouse/apis/ads-lighthouse-api.md) · [All operations](https://skmtc.dev/adslighthouse/apis/ads-lighthouse-api/llms.txt) · [OpenAPI document](https://skmtc.dev/adslighthouse/apis/ads-lighthouse-api/revisions/e1a4a40b11a9?raw)
