manage_auth
Manage Google Ads authentication: check status, switch configurations, refresh tokens, and set projects using gcloud commands or OAuth login.
Instructions
Manage Google Ads auth: status; switch/refresh via gcloud; set_project/set_quota_project; optional oauth_login using env client id/secret to create ADC file.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | No | status | switch | refresh | status |
allow_subprocess | No | execute gcloud steps (default true). Set false to only print commands. | |
config_name | No | gcloud configuration name (for switch) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"action": {
"default": "status",
"description": "status | switch | refresh",
"enum": [
"status",
"switch",
"refresh"
],
"type": "string"
},
"allow_subprocess": {
"description": "execute gcloud steps (default true). Set false to only print commands.",
"type": "boolean"
},
"config_name": {
"description": "gcloud configuration name (for switch)",
"type": "string"
}
},
"type": "object"
}