# type CompanyError (v202608)

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

A list of all errors associated with companies.

*** ** * ** ***

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

| ## 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. |
| **`CompanyError`** ||
| ### `reason` | ` 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/v202608/CompanyService.Company.Type.md.txt#ADVERTISER), [Company.Type.HOUSE_ADVERTISER](https://developers.google.com/ad-manager/api/reference/v202608/CompanyService.Company.Type.md.txt#HOUSE_ADVERTISER), and [Company.Type.AD_NETWORK](https://developers.google.com/ad-manager/api/reference/v202608/CompanyService.Company.Type.md.txt#AD_NETWORK) company types. `INVALID_COMPANY_TYPE_FOR_DEFAULT_BILLING_SETTING` :   Indicates that the [Company.Type](https://developers.google.com/ad-manager/api/reference/v202608/CompanyService.Company.Type.md.txt) 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 /> |