Setup & connection

gads_discover_ad_accounts

List every Google Ads account the workspace's connection can reach (listAccessibleCustomers + MCC children), flagging which are already imported.

List every Google Ads account the workspace's connection can reach (listAccessibleCustomers + MCC children), flagging which are already imported. Managers are listed but not importable. Org scope only. Live API call — takes a few seconds.

Type: read-only. Never changes the account.

Parameters

ParameterTypeRequiredDescription
projectIdstringNoTarget account (project id). Optional when exactly one authorized stored account exists. Use gads_list_ad_accounts or gads_get_connection_status to select among multiple accounts.

On this page