network
Retrieve current GAM network details, switch active network, list accessible networks, and update network settings like display name or currency.
Instructions
GAM network management — get info, switch active network, list accessible networks, update settings.
MODE: mixed (read + write) AUTH: OAuth 2.0 required CREDITS: Reads = 0. update_network = 0.5 credits. OUTPUT: get_network_info returns {networkCode, displayName, currencyCode, timeZone, effectiveRootAdUnit}. list_accessible_networks returns all networks the authenticated user can access. WHEN TO USE: Use network to discover and switch between multiple GAM networks. Call list_accessible_networks after authentication to find available networks, then switch_network to set the active one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Sub-operation to perform: • get_network_info: Return metadata about the current active GAM network. • switch_network: Set a different network as the active one for subsequent operations. Requires network_code of the target network. • list_accessible_networks: List all GAM networks accessible to the authenticated Google account. • update_network: Update network-level settings (display name, currency). Write, requires Network Admin role. | |
| network_code | No | GAM network code (e.g. 12345678). Required for all network-scoped operations. Obtain via select_gam_network or list_accessible_networks. |