Get Google OAuth URL
google_ads_get_auth_urlGenerate a Google OAuth authorization URL to gain access to the Google Ads API. Use this step when no local token is available.
Instructions
Generate a Google OAuth authorization URL for the Google Ads API. Does not read or modify Google Ads data. Use this first when no local token exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Optional OAuth state value generated by the caller. | |
| scopes | No | Optional scope override. Defaults to the Google Ads scope. | |
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | Yes | ||
| auth_url | Yes | ||
| next_step | Yes | ||
| redirect_uri | Yes |