Setup & connection

gads_get_connect_url

Get the URL that starts the Google Ads OAuth connect flow (consent screen, scope=adwords).

Get the URL that starts the Google Ads OAuth connect flow (consent screen, scope=adwords). The HUMAN must open it in a browser where they are logged into this app — the consent screen cannot be completed over MCP. After they finish, verify with getConnectionStatus.

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