---
title: "Google Lsa Mcc Membership"
method: GET
path: "/admin/lsa/mcc-membership"
tags: ["admin", "lsa-admin"]
---

# Google Lsa Mcc Membership

`GET /admin/lsa/mcc-membership`

## Request

- Base URL: `https://api-docs.upsmith.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.upsmith.com/admin/lsa/mcc-membership`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

List the ENABLED accounts a Google Ads MCC manages and, when ``target_customer_id``
is given, whether the target is one of them.

Authenticates with the MCC's shared manager credential when one is mapped, so it still
answers "does MCC X manage customer Y?" even if the org's own Google Ads credential is
dead — the state a per-org OAuth-400 leaves an account in when its ``login_customer_id``
was never populated. Use it to decide whether such an account can be mapped onto a
healthy shared manager credential instead of reconnecting a fresh per-org credential.

## Query parameters

- `manager_customer_id` string, required
- `organization_id` string, required
- `target_customer_id` string, nullable

## Headers

- `organization-id` string, nullable
- `timezone` string
- `x-user-id` string, nullable
- `x-actor-email` string, nullable
- `x-request-source` string, nullable
- `x-operation-id` string, nullable
- `x-commit-message` string, nullable
- `x-confirmation-id` string, nullable
- `x-chat-id` string, nullable

## Response `200`

Successful Response

- GoogleLsaMccMembership: Whether an MCC manages a target customer, plus the MCC's full ENABLED child set. Answers "does MCC X manage customer Y?" for LSA credential/ingestion triage. It authenticates with the MCC's shared manager credential when one is mapped, so it still works when an org's own Google Ads credential is dead but the manager credential is healthy — which is exactly the case a per-org OAuth-400 alert leaves behind for an account whose ``login_customer_id`` was never populated.
  - `manager_customer_id` string, required: The MCC (login_customer_id) that was walked.
  - `credential_source` 'manager' | 'per_org', required: Which credential authenticated the walk: the MCC's shared manager credential or the org's own.
  - `manager_credential_id` string, nullable: integration.credential id of the shared manager credential, when one is mapped to the MCC.
  - `target_customer_id` string, nullable: The customer id whose membership was checked, if provided.
  - `target_is_child` boolean, nullable: True/False when target_customer_id was provided; None otherwise.
  - `child_count` integer, required: Number of ENABLED customer_client rows returned under the MCC.
  - `children` GoogleLsaCustomerClientChild[]: Every ENABLED account under the MCC, at any depth.
    - `customer_id` string, required: Google customer ID without dashes
    - `descriptive_name` string, nullable: Friendly name Google returns for the account, if any.
    - `is_manager` boolean, required: True if this child is itself a manager (sub-MCC).
    - `level` integer, required: Depth below the queried MCC (1 = direct child).

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/upsmith/apis/upsmith-api.md) - [All operations](https://skmtc.dev/upsmith/apis/upsmith-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upsmith/apis/upsmith-api/revisions/86e2c2bd93af?raw)
