type UserTeamAssociation (v202411)

  • The UserTeamAssociation object links a User with a Team to manage user access to team-associated entities.

  • It inherits properties from UserRecordTeamAssociation such as teamId, overriddenTeamAccessType, and defaultTeamAccessType.

  • The UserTeamAssociation specifically includes a userId field referencing the associated User's ID.

  • The UserTeamAssociationService includes methods like createUserTeamAssociations() and updateUserTeamAssociations().

  • Team access types can be NONE, READ_ONLY, or READ_WRITE, determining a user's ability to view or edit a team's orders.

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/v202411

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.