AI-generated Key Takeaways
-
The CompanyCreditStatusError arises when issues occur related to a company's credit status, such as insufficient permissions to modify it or the company having an unacceptable credit status for creating or updating orders/line items.
-
It's an ApiError subtype, inheriting properties like fieldPath, fieldPathElements, trigger, and errorString to provide detailed error information.
-
The error object includes a reason field to indicate the specific cause of the credit status issue, such as restrictions based on company settings, order associations, or the number of approved orders.
-
Specific scenarios leading to this error include attempting to change credit status without permission, operating in a network without credit status editing enabled, or working with companies with unacceptable credit statuses.
-
It is used by services like CompanyService, ForecastService, LineItemService, LineItemTemplateService, and OrderService to handle credit status related errors during various operations.
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
|