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 various entities, such as companies and inventory.\u003c/p\u003e\n"],["\u003cp\u003eTeams can be created, updated, and assigned specific access levels for orders (none, read-only, or read-write).\u003c/p\u003e\n"],["\u003cp\u003eEach team has a unique ID, name, optional description, and a status (active or inactive) determining its visibility within the user interface.\u003c/p\u003e\n"],["\u003cp\u003eUsers are associated with teams through \u003ccode\u003eUserTeamAssociation\u003c/code\u003e objects, enabling them to inherit the team's permissions and access rights.\u003c/p\u003e\n"],["\u003cp\u003eTeams can be configured to grant access to all companies or all inventory, simplifying access management for broader scopes.\u003c/p\u003e\n"]]],["The `TeamService` allows the creation and updating of `Teams`, which group users and define their entity access. Teams have attributes like `id`, `name` (required), `description`, and `status` (active/inactive). Users are added via `UserTeamAssociation`. Teams can grant access to all companies or inventory via boolean fields. `teamAccessType` defines user access to orders, with options like `NONE`, `READ_ONLY`, or `READ_WRITE`. Google assigns team IDs, with negative IDs indicating Google-created teams.\n"],null,["# type Team (v202408)\n\n**Service** \n**TeamService** **Dependencies** \n[TeamPage](/ad-manager/api/reference/v202408/TeamService.TeamPage) [createTeams()](/ad-manager/api/reference/v202408/TeamService#createTeams) [updateTeams()](/ad-manager/api/reference/v202408/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/v202408/UserTeamAssociationService.UserTeamAssociation) objects.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\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/v202408/TeamService.TeamStatus)` ` The status of the [Team](/ad-manager/api/reference/v202408/TeamService.Team). This value can be [TeamStatus.ACTIVE](/ad-manager/api/reference/v202408/TeamService.TeamStatus#ACTIVE) (default) or [TeamStatus.INACTIVE](/ad-manager/api/reference/v202408/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/v202408/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 |"]]