google_setup
Set up and check your Google connection: import OAuth credentials, sign in or out, view configuration status, and save Google Ads tokens so Workspace tools can access your account.
Instructions
Set up or check the Google connection. Actions: 'status' (what's configured), 'import_credentials' (copy a downloaded Desktop-app OAuth client JSON into place; omit path to use the newest client_secret_*.json in Downloads), 'sign_in' (opens the browser for Google consent and waits up to 5 minutes), 'sign_out' (deletes the saved token), 'configure_ads' (save a Google Ads developer token and optional manager account ID).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "google_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| developerToken | No | For configure_ads: Google Ads API developer token | |
| credentialsPath | No | For import_credentials: path to the downloaded client_secret_*.json | |
| loginCustomerId | No | For configure_ads: manager (MCC) account ID, if accounts are accessed through one |