google ads get account hierarchy
google_ads_get_account_hierarchyDiscover accessible Google Ads accounts and map manager-client relationships. Falls back to listing accounts when hierarchy data is unavailable.
Instructions
List accessible customers and, where possible, manager/client relationships from GAQL customer_client. Falls back to accessible customers if hierarchy queries are unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeInactive | No | Include non-ENABLED customer_client links | |
| managerCustomerId | No | MCC Manager account ID (required for sub-accounts managed by an MCC) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Original tool result: parsed JSON when the text is JSON, otherwise the text or multiple MCP content blocks. Provider fields depend on the selected query. |