Skip to main content
Activated accounts are available for all ad operations. Pass a single account_id to activate one account, or pass account_ids (list) to activate multiple accounts for multi-account management. Use this tool when:
  • User wants to switch to a different ad account
  • User says “use my other account” or “activate these accounts”
  • User wants to manage multiple accounts simultaneously
  • User specifies which accounts to work with
Accepts either account_id (single) or account_ids (list of IDs from list_connected_accounts). IMPORTANT: Returns updated connections list after switching.

OpenAPI

/api-reference/openapi.json post /api/v1/tools/switch_primary_account/execute