Setup & connection

gads_get_connection_status

Where the Google Ads setup stands for this workspace: OAuth connection status (connected / error / revoked, which Google account), and how many ad accounts are imported.

Where the Google Ads setup stands for this workspace: OAuth connection status (connected / error / revoked, which Google account), and how many ad accounts are imported. Call this first when setting up or when other tools fail with auth errors.

Scope: read token (or higher). Read-only.

Parameters

ParameterTypeRequiredDescription
projectIdstringNoTarget account (project id). Required with an org-scoped token for account-scoped tools — call gads_list_ad_accounts to enumerate accounts. Omit with a project-scoped token.

On this page