# type CompanyError (v202602)

**Service** **CompanyService** [InventoryService](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.CompanyError) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.ApiError) ▼ [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.ApiVersionError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.CommonError) [CompanyCreditStatusError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.CompanyCreditStatusError) **CompanyError** [CrossSellError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.CrossSellError) [CustomFieldValueError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.CustomFieldValueError) [ExchangeSignupApiError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.ExchangeSignupApiError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.FeatureError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.InternalApiError) [InvalidEmailError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.InvalidEmailError) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.InvalidUrlError) [InventoryClientApiError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.InventoryClientApiError) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.LabelEntityAssociationError) [McmError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.McmError) [NetworkError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.NetworkError) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.NotNullError) [NullError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.NullError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.PermissionError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.QuotaError) [RegExError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.RegExError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.RequiredError) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.RequiredNumberError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.ServerError) [SiteError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.SiteError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.StringLengthError) [TeamError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.TeamError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.UniqueError)

A list of all errors associated with companies.

*** ** * ** ***

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

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.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. |
| **`CompanyError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.CompanyError.Reason ` *** ** * ** *** **Enumerations** `CANNOT_SET_THIRD_PARTY_COMPANY_DUE_TO_TYPE` :   Indicates that an attempt was made to set a third party company for a company whose type is not the same as the third party company. `CANNOT_UPDATE_COMPANY_TYPE` :   Indicates that an invalid attempt was made to change a company's type. `INVALID_COMPANY_TYPE` :   Indicates that this type of company is not supported. `PRIMARY_CONTACT_DOES_NOT_BELONG_TO_THIS_COMPANY` :   Indicates that an attempt was made to assign a primary contact who does not belong to the specified company. `THIRD_PARTY_STATS_PROVIDER_IS_WRONG_ROLE_TYPE` :   Indicates that the user specified as the third party stats provider is of the wrong role type. The user must have the third party stats provider role. `INVALID_LABEL_ASSOCIATION` :   Labels can only be applied to [Company.Type.ADVERTISER](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.Company.Type#ADVERTISER), [Company.Type.HOUSE_ADVERTISER](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.Company.Type#HOUSE_ADVERTISER), and [Company.Type.AD_NETWORK](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.Company.Type#AD_NETWORK) company types. `INVALID_COMPANY_TYPE_FOR_DEFAULT_BILLING_SETTING` :   Indicates that the [Company.Type](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.Company.Type) does not support default billing settings. `INVALID_DEFAULT_BILLING_SETTING` :   Indicates that the format of the default billing setting is wrong. `COMPANY_HAS_ACTIVE_SHARE_ASSIGNMENTS` :   Cannot remove the cross selling config from a company that has active share assignments. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |