# type TeamError (v202605)

**Service** [CompanyService](https://developers.google.com/ad-manager/api/reference/v202605/CompanyService.TeamError.md.txt) [ContactService](https://developers.google.com/ad-manager/api/reference/v202605/ContactService.TeamError.md.txt) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.TeamError.md.txt) [InventoryService](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.TeamError.md.txt) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202605/LineItemService.TeamError.md.txt) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202605/LineItemTemplateService.TeamError.md.txt) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202605/NativeStyleService.TeamError.md.txt) [OrderService](https://developers.google.com/ad-manager/api/reference/v202605/OrderService.TeamError.md.txt) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202605/ProposalLineItemService.TeamError.md.txt) **ProposalService** [TeamService](https://developers.google.com/ad-manager/api/reference/v202605/TeamService.TeamError.md.txt) [UserService](https://developers.google.com/ad-manager/api/reference/v202605/UserService.TeamError.md.txt) [UserTeamAssociationService](https://developers.google.com/ad-manager/api/reference/v202605/UserTeamAssociationService.TeamError.md.txt) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.ApiError.md.txt) ▼ [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.ApiVersionError.md.txt) [AudienceSegmentError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.AudienceSegmentError.md.txt) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.AuthenticationError.md.txt) [BillingError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.BillingError.md.txt) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.CollectionSizeError.md.txt) [CommonError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.CommonError.md.txt) [CurrencyCodeError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.CurrencyCodeError.md.txt) [CustomFieldValueError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.CustomFieldValueError.md.txt) [DealError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.DealError.md.txt) [EntityChildrenLimitReachedE...](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.EntityChildrenLimitReachedError.md.txt "EntityChildrenLimitReachedError") [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.EntityLimitReachedError.md.txt) [ExchangeRateError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.ExchangeRateError.md.txt) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.FeatureError.md.txt) [ForecastError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.ForecastError.md.txt) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.InternalApiError.md.txt) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.InvalidUrlError.md.txt) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.LabelEntityAssociationError.md.txt) [LineItemOperationError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.LineItemOperationError.md.txt) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.NotNullError.md.txt) [NullError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.NullError.md.txt) [ParseError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.ParseError.md.txt) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.PermissionError.md.txt) [PrecisionError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.PrecisionError.md.txt) [ProgrammaticError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.ProgrammaticError.md.txt) [ProposalActionError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.ProposalActionError.md.txt) [ProposalError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.ProposalError.md.txt) [ProposalLineItemError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.ProposalLineItemError.md.txt) [ProposalLineItemMakegoodError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.ProposalLineItemMakegoodError.md.txt) [ProposalLineItemProgrammati...](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.ProposalLineItemProgrammaticError.md.txt "ProposalLineItemProgrammaticError") [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.PublisherQueryLanguageContextError.md.txt "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.PublisherQueryLanguageSyntaxError.md.txt "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.QuotaError.md.txt) [RangeError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.RangeError.md.txt) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.RequiredCollectionError.md.txt) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.RequiredError.md.txt) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.RequiredNumberError.md.txt) [ServerError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.ServerError.md.txt) [StatementError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.StatementError.md.txt) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.StringFormatError.md.txt) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.StringLengthError.md.txt) **TeamError** [TimeZoneError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.TimeZoneError.md.txt) [TypeError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.TypeError.md.txt) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.UniqueError.md.txt)

Errors related to a Team.

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202605`

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` FieldPathElement[]` A parsed copy of the field path. For example, the field path "operations\[1\].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}. |
| ### `trigger` | ` xsd:string` The data that caused the error. |
| ### `errorString` | ` xsd:string` A simple string representation of the error and reason. |
| **`TeamError`** ||
| ### `reason` | ` TeamError.Reason ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `ENTITY_NOT_ON_USERS_TEAMS` :   User cannot use this entity because it is not on any of the user's teams. `AD_UNITS_NOT_ON_ORDER_TEAMS` :   The targeted or excluded ad unit must be on the order's teams. `PLACEMENTS_NOT_ON_ORDER_TEAMS` :   The targeted placement must be on the order's teams. `MISSING_USERS_TEAM` :   Entity cannot be created because it is not on any of the user's teams. `ALL_TEAM_ASSOCIATION_NOT_ALLOWED` :   A team that gives access to all entities of a given type cannot be associated with an entity of that type. `INVALID_TEAM_ASSIGNMENT` :   The assignment of team to entities is invalid. `CANNOT_UPDATE_INACTIVE_TEAM` :   Cannot modify or create a team with an inactive status. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |