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.

Type: read-only. Never changes the account.

Parameters

ParameterTypeRequiredDescription
projectIdstringNoTarget account (project id) — required on account-scoped tools. Call gads_list_ad_accounts to enumerate accounts.

On this page