AI-generated Key Takeaways
-
CompanyCreditStatusError lists errors related to a company's credit status when interacting with services like CompanyService, ForecastService, LineItemService, LineItemTemplateService, and OrderService.
-
This error type inherits from ApiError and includes fields like fieldPath, fieldPathElements, trigger, and errorString.
-
Specific reasons for the CompanyCreditStatusError include permission issues for changing credit status, networks not enabled for credit status settings, unacceptable credit status for orders or line items, and exceeding the limit of approved orders for a company.
-
The error reasons are represented by an enum, with values like
COMPANY_CREDIT_STATUS_CHANGE_NOT_ALLOWED,CANNOT_USE_CREDIT_STATUS_SETTING,UNACCEPTABLE_COMPANY_CREDIT_STATUS_FOR_ORDER,UNACCEPTABLE_COMPANY_CREDIT_STATUS_FOR_LINE_ITEM, andCANNOT_BLOCK_COMPANY_TOO_MANY_APPROVED_ORDERS. -
An
UNKNOWNreason is returned if the actual error value is not exposed by the requested API version.
Lists all errors due to Company.creditStatus.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202505
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
|