type UserTeamAssociation (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Service
UserTeamAssociationService
UserTeamAssociation
associates a User with a Team to provide the user
access to the entities that belong to the team.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
UserRecordTeamAssociation (inherited)
|
teamId
|
xsd:long
The Team.id of the team.
|
overriddenTeamAccessType
|
TeamAccessType
The overridden team access type. This field is null if team access type is not
overridden.
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.
|
defaultTeamAccessType
|
TeamAccessType
The default team access type Team.teamAccessType. This field is read-only and is
populated by Google.
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.
|
UserTeamAssociation
|
userId
|
xsd:long
Refers to the User.id.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eUserTeamAssociation\u003c/code\u003e object links a User with a Team, granting the user access to entities within that team.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits properties from \u003ccode\u003eUserRecordTeamAssociation\u003c/code\u003e, including \u003ccode\u003eteamId\u003c/code\u003e, \u003ccode\u003eoverriddenTeamAccessType\u003c/code\u003e, and \u003ccode\u003edefaultTeamAccessType\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUserTeamAssociation\u003c/code\u003e includes a \u003ccode\u003euserId\u003c/code\u003e field, referencing the ID of the associated user.\u003c/p\u003e\n"],["\u003cp\u003eTeam access types, which dictate user permissions within a team, can be \u003ccode\u003eNONE\u003c/code\u003e, \u003ccode\u003eREAD_ONLY\u003c/code\u003e, or \u003ccode\u003eREAD_WRITE\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe API provides methods for creating (\u003ccode\u003ecreateUserTeamAssociations\u003c/code\u003e) and updating (\u003ccode\u003eupdateUserTeamAssociations\u003c/code\u003e) these associations.\u003c/p\u003e\n"]]],["The `UserTeamAssociationService` manages the association between users and teams. Key actions include creating and updating `UserTeamAssociations`. A `UserTeamAssociation` links a user to a team, granting access to team-related entities. `UserRecordTeamAssociation`, a type of `UserTeamAssociation`, includes `teamId` and allows overriding team access via `overriddenTeamAccessType`, with options: `NONE`, `READ_ONLY`, and `READ_WRITE`. `defaultTeamAccessType` is populated by Google. Each association also contains the `userId`.\n"],null,["# type UserTeamAssociation (v202408)\n\n**Service** \n**UserTeamAssociationService** **Dependencies** \n[UserTeamAssociationPage](/ad-manager/api/reference/v202408/UserTeamAssociationService.UserTeamAssociationPage) [createUserTeamAssociations()](/ad-manager/api/reference/v202408/UserTeamAssociationService#createUserTeamAssociations) [updateUserTeamAssociations()](/ad-manager/api/reference/v202408/UserTeamAssociationService#updateUserTeamAssociations) \n▼\n**UserTeamAssociation** **Inheritance** \n[UserRecordTeamAssociation](/ad-manager/api/reference/v202408/UserTeamAssociationService.UserRecordTeamAssociation) \n▼\n**UserTeamAssociation**\n\n\n`UserTeamAssociation` associates a [User](/ad-manager/api/reference/v202408/UserService.User) with a [Team](/ad-manager/api/reference/v202408/TeamService.Team) to provide the user\naccess to the entities that belong to the team.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|--------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`UserRecordTeamAssociation` (inherited)** ||\n| ### `teamId` | ` `xsd:`long` The [Team.id](/ad-manager/api/reference/v202408/TeamService.Team#id) of the team. |\n| ### `overriddenTeamAccessType` | ` `[TeamAccessType](/ad-manager/api/reference/v202408/UserTeamAssociationService.TeamAccessType)` ` The overridden team access type. This field is `null` if team access type is not overridden. *** ** * ** *** **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 |\n| ### `defaultTeamAccessType` | ` `[TeamAccessType](/ad-manager/api/reference/v202408/UserTeamAssociationService.TeamAccessType)` ` The default team access type [Team.teamAccessType](/ad-manager/api/reference/v202408/TeamService.Team#teamAccessType). This field is read-only and is populated by Google. *** ** * ** *** **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 |\n| **`UserTeamAssociation`** ||\n| ### `userId` | ` `xsd:`long` Refers to the [User.id](/ad-manager/api/reference/v202408/UserService.User#id). |"]]