# type CompanyCreditStatusError (v202508)

**Service** [CompanyService](https://developers.google.com/ad-manager/api/reference/v202508/CompanyService.CompanyCreditStatusError) **ForecastService** [LineItemService](https://developers.google.com/ad-manager/api/reference/v202508/LineItemService.CompanyCreditStatusError) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202508/LineItemTemplateService.CompanyCreditStatusError) [OrderService](https://developers.google.com/ad-manager/api/reference/v202508/OrderService.CompanyCreditStatusError) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.ApiError) ▼ [AdUnitCodeError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.AdUnitCodeError) [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.ApiVersionError) [AssetError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.AssetError) [AudienceExtensionError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.AudienceExtensionError) [AudienceSegmentError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.AudienceSegmentError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.AuthenticationError) [ClickTrackingLineItemError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.ClickTrackingLineItemError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.CommonError) **CompanyCreditStatusError** [CreativeError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.CreativeError) [CrossSellError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.CrossSellError) [CurrencyCodeError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.CurrencyCodeError) [CustomFieldValueError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.CustomFieldValueError) [CustomTargetingError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.CustomTargetingError) [DateError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.DateError) [DateTimeRangeTargetingError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.DateTimeRangeTargetingError) [DayPartTargetingError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.DayPartTargetingError) [EntityChildrenLimitReachedE...](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.EntityChildrenLimitReachedError "EntityChildrenLimitReachedError") [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.EntityLimitReachedError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.FeatureError) [ForecastError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.ForecastError) [FrequencyCapError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.FrequencyCapError) [GenericTargetingError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.GenericTargetingError) [GeoTargetingError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.GeoTargetingError) [GrpSettingsError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.GrpSettingsError) [ImageError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.ImageError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.InternalApiError) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.InvalidUrlError) [InventoryTargetingError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.InventoryTargetingError) [InventoryUnitError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.InventoryUnitError) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LabelEntityAssociationError) [LineItemActivityAssociation...](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItemActivityAssociationError "LineItemActivityAssociationError") [LineItemCreativeAssociation...](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItemCreativeAssociationError "LineItemCreativeAssociationError") [LineItemError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItemError) [LineItemFlightDateError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItemFlightDateError) [LineItemOperationError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItemOperationError) [MobileApplicationTargetingE...](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.MobileApplicationTargetingError "MobileApplicationTargetingError") [NotNullError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.NotNullError) [NullError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.NullError) [OrderActionError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.OrderActionError) [OrderError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.OrderError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.PermissionError) [PrecisionError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.PrecisionError) [ProgrammaticError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.ProgrammaticError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.QuotaError) [RangeError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.RangeError) [RegExError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.RegExError) [RequestPlatformTargetingError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.RequestPlatformTargetingError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.RequiredError) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.RequiredNumberError) [RequiredSizeError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.RequiredSizeError) [ReservationDetailsError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.ReservationDetailsError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.ServerError) [SetTopBoxLineItemError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.SetTopBoxLineItemError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.StringLengthError) [TeamError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.TeamError) [TechnologyTargetingError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.TechnologyTargetingError) [TimeZoneError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.TimeZoneError) [TranscodingError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.TranscodingError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.UniqueError) [UserDomainTargetingError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.UserDomainTargetingError) [VideoPositionTargetingError](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.VideoPositionTargetingError)

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

*** ** * ** ***

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

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.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/v202508/ForecastService.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/v202508/CompanyService.Company#creditStatus) from the default value. The default value is [Company.CreditStatus.ACTIVE](https://developers.google.com/ad-manager/api/reference/v202508/CompanyService.Company.CreditStatus#ACTIVE) for the Basic credit status setting and [Company.CreditStatus.ON_HOLD](https://developers.google.com/ad-manager/api/reference/v202508/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/v202508/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/v202508/OrderService.Order#advertiserId) or the [Order.agencyId](https://developers.google.com/ad-manager/api/reference/v202508/OrderService.Order#agencyId) it is associated with has [Company.creditStatus](https://developers.google.com/ad-manager/api/reference/v202508/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/v202508/OrderService.Order#advertiserId) or {Order#agencyId} it is associated with has [Company.creditStatus](https://developers.google.com/ad-manager/api/reference/v202508/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 /> |