The status of an active team. (i.e. visible in the UI)
INACTIVE
The status of an inactive team. (i.e. hidden in the UI)
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
hasAllCompanies
xsd:boolean
Whether or not users on this team have access to all companies. If this value is true, then an
error will be thrown if an attempt is made to associate this team with a Company.
hasAllInventory
xsd:boolean
Whether or not users on this team have access to all inventory. If this value is true, then an
error will be thrown if an attempt is made to associate this team with an AdUnit.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eA \u003ccode\u003eTeam\u003c/code\u003e in Google Ad Manager allows you to group users and manage their access to entities like companies, inventory, and orders.\u003c/p\u003e\n"],["\u003cp\u003eTeams can be created, updated, and assigned a status (active or inactive) impacting their visibility within the user interface.\u003c/p\u003e\n"],["\u003cp\u003eEach team is identified by a unique ID, has a name and an optional description, and can be configured to grant access to all companies or all inventory.\u003c/p\u003e\n"],["\u003cp\u003eUser access levels within a team can be set to determine their permissions for viewing and editing orders (read-only, read-write, or none).\u003c/p\u003e\n"],["\u003cp\u003eUsers are associated with teams using \u003ccode\u003eUserTeamAssociation\u003c/code\u003e objects, enabling streamlined management of user permissions and access controls.\u003c/p\u003e\n"]]],["The `TeamService` allows management of `Team` entities, which group users and define their access. Key actions include `createTeams()` and `updateTeams()`. A `Team` has attributes like `id`, `name`, `description`, and `status` (ACTIVE or INACTIVE). Access controls include `hasAllCompanies`, `hasAllInventory`, and `teamAccessType` (NONE, READ_ONLY, READ_WRITE). Users are assigned to teams via `UserTeamAssociation`. The service namespace is `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,["# type Team (v202411)\n\n**Service** \n**TeamService** **Dependencies** \n[TeamPage](/ad-manager/api/reference/v202411/TeamService.TeamPage) [createTeams()](/ad-manager/api/reference/v202411/TeamService#createTeams) [updateTeams()](/ad-manager/api/reference/v202411/TeamService#updateTeams) \n▼\n**Team**\n\nA `Team` defines a grouping of users and what entities they have access to. Users are added\nto teams with [UserTeamAssociation](/ad-manager/api/reference/v202411/UserTeamAssociationService.UserTeamAssociation) objects.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `id` | ` `xsd:`long` The unique ID of the `Team`. This value is readonly and is assigned by Google. Teams that are created by Google will have negative IDs. |\n| ### `name` | ` `xsd:`string` The name of the `Team`. This value is required to create a team and has a maximum length of 106 characters. |\n| ### `description` | ` `xsd:`string` The description of the `Team`. This value is optional and has a maximum length of 255 characters. |\n| ### `status` | ` `[TeamStatus](/ad-manager/api/reference/v202411/TeamService.TeamStatus)` ` The status of the [Team](/ad-manager/api/reference/v202411/TeamService.Team). This value can be [TeamStatus.ACTIVE](/ad-manager/api/reference/v202411/TeamService.TeamStatus#ACTIVE) (default) or [TeamStatus.INACTIVE](/ad-manager/api/reference/v202411/TeamService.TeamStatus#INACTIVE) and determines the visibility of the team in the UI. *** ** * ** *** **Enumerations** `ACTIVE` : The status of an active team. (i.e. visible in the UI) `INACTIVE` : The status of an inactive team. (i.e. hidden in the UI) `UNKNOWN` : The value returned if the actual value is not exposed by the requested API version. \u003cbr /\u003e |\n| ### `hasAllCompanies` | ` `xsd:`boolean` Whether or not users on this team have access to all companies. If this value is true, then an error will be thrown if an attempt is made to associate this team with a Company. |\n| ### `hasAllInventory` | ` `xsd:`boolean` Whether or not users on this team have access to all inventory. If this value is true, then an error will be thrown if an attempt is made to associate this team with an AdUnit. |\n| ### `teamAccessType` | ` `[TeamAccessType](/ad-manager/api/reference/v202411/TeamService.TeamAccessType)` ` The default access to orders, for users on this team. *** ** * ** *** **Enumerations** `NONE` : The level of access in which team members cannot view or edit a team's orders. `READ_ONLY` : The level of access in which team members can only view a team's orders. `READ_WRITE` : The level of access in which team members can view and edit a team's orders. \u003cbr /\u003e |"]]