AI-generated Key Takeaways
-
The
CompanyCreditStatusError
occurs due to issues with a company's credit status, such as permission problems or unacceptable statuses for orders and line items. -
This error can arise when attempting to change a company's credit status without proper authorization or when the network's credit status settings are not enabled.
-
It may also occur if an order or line item is associated with a company whose credit status is not
ACTIVE
orON_HOLD
, preventing the creation or update of the order or line item. -
In scenarios with numerous approved orders (over 200), blocking a company may trigger this error, requiring archiving of orders to reduce the count below 200.
-
The
reason
field within the error provides a specific enum value indicating the cause of the error, such asCOMPANY_CREDIT_STATUS_CHANGE_NOT_ALLOWED
orCANNOT_USE_CREDIT_STATUS_SETTING
.
Lists all errors due to Company.creditStatus.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field |
|
---|---|
ApiError (inherited)
|
|
|
The OGNL field path to identify cause of error. |
|
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)}. |
|
The data that caused the error. |
|
A simple string representation of the error and reason. |
CompanyCreditStatusError
|
|
|
The error reason represented by an enum. Enumerations
|