type CompanyCreditStatusError (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Lists all errors due to Company.creditStatus.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
ApiError (inherited)
|
fieldPath
|
xsd:string
The OGNL field path to identify cause of error.
|
fieldPathElements
|
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
|
CompanyCreditStatusError.Re...
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 from the default value. The default value is
Company.CreditStatus.ACTIVE for the Basic credit status setting
and 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 must be either
ACTIVE or INACTIVE .
-
UNACCEPTABLE_COMPANY_CREDIT_STATUS_FOR_ORDER
- An order cannot be created or updated because the
Order.advertiserId or the Order.agencyId it is associated
with has 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 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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCompanyCreditStatusError\u003c/code\u003e occurs due to issues with a company's credit status, such as permission problems or unacceptable statuses for orders and line items.\u003c/p\u003e\n"],["\u003cp\u003eThis 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.\u003c/p\u003e\n"],["\u003cp\u003eIt may also occur if an order or line item is associated with a company whose credit status is not \u003ccode\u003eACTIVE\u003c/code\u003e or \u003ccode\u003eON_HOLD\u003c/code\u003e, preventing the creation or update of the order or line item.\u003c/p\u003e\n"],["\u003cp\u003eIn scenarios with numerous approved orders (over 200), blocking a company may trigger this error, requiring archiving of orders to reduce the count below 200.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ereason\u003c/code\u003e field within the error provides a specific enum value indicating the cause of the error, such as \u003ccode\u003eCOMPANY_CREDIT_STATUS_CHANGE_NOT_ALLOWED\u003c/code\u003e or \u003ccode\u003eCANNOT_USE_CREDIT_STATUS_SETTING\u003c/code\u003e.\u003c/p\u003e\n"]]],["The content outlines errors related to `Company.creditStatus` within the service. It details `CompanyCreditStatusError` and its associated reasons, such as unauthorized credit status changes, disabled network settings, and unacceptable statuses for orders or line items. It includes an inheritance hierarchy from `ApiError`, with details like `fieldPath`, `trigger`, and `errorString`. Several error types are specified and the service includes `CompanyService`, `ForecastService`, `LineItemService`, `LineItemTemplateService`, and `OrderService`.\n"],null,[]]