poll_auth_status
Check the status of a Google Ad Manager OAuth authorization request by polling until it returns authorized or failed.
Instructions
Poll the OAuth authorization status after initiating a GAM auth flow.
MODE: read-only AUTH: OrbiAds session required CREDITS: 0 (free) OUTPUT: Returns {status: 'pending'|'authorized'|'failed', error?: string} WHEN TO USE: Call repeatedly (every 2–5 seconds) after initiate_gam_auth until status = 'authorized' or 'failed'.
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": {
"session_id": "<session_id>"
},
"name": "poll_auth_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Auth session ID returned by initiate_gam_auth. |