# type CompanyError (v202602)

**Service** [CompanyService](https://developers.google.com/ad-manager/api/reference/v202602/CompanyService.CompanyError) **InventoryService** **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.ApiError) ▼ [AdSenseAccountError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.AdSenseAccountError) [AdUnitCodeError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.AdUnitCodeError) [AdUnitHierarchyError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.AdUnitHierarchyError) [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.ApiVersionError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.CommonError) **CompanyError** [CreativeWrapperError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.CreativeWrapperError) [CrossSellError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.CrossSellError) [EntityChildrenLimitReachedE...](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.EntityChildrenLimitReachedError "EntityChildrenLimitReachedError") [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.EntityLimitReachedError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.FeatureError) [FrequencyCapError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.FrequencyCapError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.InternalApiError) [InvalidColorError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.InvalidColorError) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.InvalidUrlError) [InventoryUnitError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.InventoryUnitError) [InventoryUnitRefreshRateError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.InventoryUnitRefreshRateError) [InventoryUnitSizesError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.InventoryUnitSizesError) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.LabelEntityAssociationError) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.NotNullError) [NullError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.NullError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.PermissionError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.QuotaError) [RangeError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.RangeError) [RegExError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.RegExError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.RequiredError) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.RequiredNumberError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.ServerError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.StringLengthError) [TeamError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.TeamError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.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/InventoryService.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/InventoryService.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 /> |