# type CompanyCreditStatusError (v202505)

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

Lists all errors due to [Company.creditStatus](https://developers.google.com/ad-manager/api/reference/v202505/CompanyService.Company#creditStatus).

*** ** * ** ***

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

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202505/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. |
| **`CompanyCreditStatusError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202505/CompanyService.CompanyCreditStatusError.Reason ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `COMPANY_CREDIT_STATUS_CHANGE_NOT_ALLOWED` :   The user's role does not have permission to change [Company.creditStatus](https://developers.google.com/ad-manager/api/reference/v202505/CompanyService.Company#creditStatus) from the default value. The default value is [Company.CreditStatus.ACTIVE](https://developers.google.com/ad-manager/api/reference/v202505/CompanyService.Company.CreditStatus#ACTIVE) for the Basic credit status setting and [Company.CreditStatus.ON_HOLD](https://developers.google.com/ad-manager/api/reference/v202505/CompanyService.Company.CreditStatus#ON_HOLD) for the Advanced credit status setting. `CANNOT_USE_CREDIT_STATUS_SETTING` :   The network has not been enabled for editing credit status settings for companies. `CANNOT_USE_ADVANCED_CREDIT_STATUS_SETTING` :   The network has not been enabled for the Advanced credit status settings for companies. [Company.creditStatus](https://developers.google.com/ad-manager/api/reference/v202505/CompanyService.Company#creditStatus) must be either `ACTIVE` or `INACTIVE`. `UNACCEPTABLE_COMPANY_CREDIT_STATUS_FOR_ORDER` :   An order cannot be created or updated because the [Order.advertiserId](https://developers.google.com/ad-manager/api/reference/v202505/OrderService.Order#advertiserId) or the [Order.agencyId](https://developers.google.com/ad-manager/api/reference/v202505/OrderService.Order#agencyId) it is associated with has [Company.creditStatus](https://developers.google.com/ad-manager/api/reference/v202505/CompanyService.Company#creditStatus) that is not `ACTIVE` or `ON_HOLD`. `UNACCEPTABLE_COMPANY_CREDIT_STATUS_FOR_LINE_ITEM` :   A line item cannot be created for the order because the [Order.advertiserId](https://developers.google.com/ad-manager/api/reference/v202505/OrderService.Order#advertiserId) or {Order#agencyId} it is associated with has [Company.creditStatus](https://developers.google.com/ad-manager/api/reference/v202505/CompanyService.Company#creditStatus) that is not `ACTIVE` or `ON_HOLD`. `CANNOT_BLOCK_COMPANY_TOO_MANY_APPROVED_ORDERS` :   The company cannot be blocked because there are more than 200 approved orders of the company. Archive some, so that there are less than 200 of them. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |