initiate_gam_auth
Start OAuth 2.0 authorization to link a Google Ad Manager network to your OrbiAds tenant. Returns an authorization URL and session ID to poll for completion.
Instructions
Start the OAuth 2.0 authorization flow to link a GAM network to the OrbiAds tenant.
MODE: write (creates a pending auth session) AUTH: Partially authenticated (OrbiAds session required, GAM auth not yet established) CREDITS: 0 (free) OUTPUT: Returns {auth_url: string, session_id: string}. Open auth_url in a browser and authorize. Then poll poll_auth_status with the session_id. WHEN TO USE: Call when a GAM network has not yet been authorized (check_credentials returns false). Do not call if credentials are already valid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network_code | Yes | The GAM network code to authorize. Obtain from the GAM UI or list_accessible_networks after a Google sign-in. |