A line item cannot be created for the order because the
Order.advertiserId or {Order#agencyId} it is associated with has
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The core content defines reasons for `CompanyCreditStatusError` within the context of ad management services. These errors include: inability to change credit status due to user role, network settings preventing credit status edits, or advanced credit status use. Errors also occur when orders or line items are associated with companies that do not have `ACTIVE` or `ON_HOLD` statuses. Blocking a company can fail if there are more than 200 approved orders. The enumeration includes `UNKNOWN` as a fallback.\n"],null,["# enum CompanyCreditStatusError.Reason (v202502)\n\n**Service** \n[CompanyService](/ad-manager/api/reference/v202502/CompanyService.CompanyCreditStatusError.Reason) **ForecastService** [LineItemService](/ad-manager/api/reference/v202502/LineItemService.CompanyCreditStatusError.Reason) [LineItemTemplateService](/ad-manager/api/reference/v202502/LineItemTemplateService.CompanyCreditStatusError.Reason) [OrderService](/ad-manager/api/reference/v202502/OrderService.CompanyCreditStatusError.Reason) **Dependencies** \n[CompanyCreditStatusError](/ad-manager/api/reference/v202502/ForecastService.CompanyCreditStatusError) \n▼\n**CompanyCreditStatusError.Re...**\n\nThe reasons for the target error.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|----------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `COMPANY_CREDIT_STATUS_CHANGE_NOT_ALLOWED` | The user's role does not have permission to change [Company.creditStatus](/ad-manager/api/reference/v202502/CompanyService.Company#creditStatus) from the default value. The default value is [Company.CreditStatus.ACTIVE](/ad-manager/api/reference/v202502/CompanyService.Company.CreditStatus#ACTIVE) for the Basic credit status setting and [Company.CreditStatus.ON_HOLD](/ad-manager/api/reference/v202502/CompanyService.Company.CreditStatus#ON_HOLD) for the Advanced credit status setting. |\n| `CANNOT_USE_CREDIT_STATUS_SETTING` | The network has not been enabled for editing credit status settings for companies. |\n| `CANNOT_USE_ADVANCED_CREDIT_STATUS_SETTING` | The network has not been enabled for the Advanced credit status settings for companies. [Company.creditStatus](/ad-manager/api/reference/v202502/CompanyService.Company#creditStatus) must be either `ACTIVE` or `INACTIVE`. |\n| `UNACCEPTABLE_COMPANY_CREDIT_STATUS_FOR_ORDER` | An order cannot be created or updated because the [Order.advertiserId](/ad-manager/api/reference/v202502/OrderService.Order#advertiserId) or the [Order.agencyId](/ad-manager/api/reference/v202502/OrderService.Order#agencyId) it is associated with has [Company.creditStatus](/ad-manager/api/reference/v202502/CompanyService.Company#creditStatus) that is not `ACTIVE` or `ON_HOLD`. |\n| `UNACCEPTABLE_COMPANY_CREDIT_STATUS_FOR_LINE_ITEM` | A line item cannot be created for the order because the [Order.advertiserId](/ad-manager/api/reference/v202502/OrderService.Order#advertiserId) or {Order#agencyId} it is associated with has [Company.creditStatus](/ad-manager/api/reference/v202502/CompanyService.Company#creditStatus) that is not `ACTIVE` or `ON_HOLD`. |\n| `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. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]