type OrderActionError (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Lists all errors associated with performing actions on Order objects.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
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.
|
OrderActionError
|
reason
|
OrderActionError.Reason
The error reason represented by an enum.
Enumerations
-
PERMISSION_DENIED
- The operation is not allowed due to lack of permissions.
-
NOT_APPLICABLE
- The operation is not applicable for the current state of the
Order.
-
IS_ARCHIVED
- The Order is archived, an OrderAction cannot be applied
to an archived order.
-
HAS_ENDED
- The Order is past its end date, An OrderAction cannot
be applied to a order that has ended.
-
CANNOT_APPROVE_WITH_UNRESERVED_LINE_ITEMS
- A Order cannot be approved if it contains reservable
LineItems that are unreserved.
-
CANNOT_DELETE_ORDER_WITH_DELIVERED_LINEITEMS
- Deleting an Order with delivered line items is not allowed
-
CANNOT_APPROVE_COMPANY_CREDIT_STATUS_NOT_ACTIVE
- Cannot approve because company credit status is not active.
-
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\u003eOrderActionError objects encompass errors encountered while performing actions on Order objects in Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eThese errors often relate to permissions, order state (archived, ended), or unreserved line items.\u003c/p\u003e\n"],["\u003cp\u003eReasons for OrderActionErrors are categorized using the \u003ccode\u003eOrderActionError.Reason\u003c/code\u003e enumeration.\u003c/p\u003e\n"],["\u003cp\u003eDetailed information about the error is available in the \u003ccode\u003efieldPath\u003c/code\u003e, \u003ccode\u003efieldPathElements\u003c/code\u003e, \u003ccode\u003etrigger\u003c/code\u003e, and \u003ccode\u003eerrorString\u003c/code\u003e fields, inherited from ApiError.\u003c/p\u003e\n"],["\u003cp\u003eOrderActionError is part of the Google Ad Manager API and falls under the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"]]],["The document outlines error types related to ad management services, including ForecastService, LineItemService, LineItemTemplateService, OrderService, and PublisherQueryLanguageService. It details various `ApiError` types inherited by `OrderActionError`, such as `AuthenticationError`, `PermissionError`, and `QuotaError`. `OrderActionError` enumerations specify reasons for order action failures, such as insufficient permissions (`PERMISSION_DENIED`), archived orders (`IS_ARCHIVED`), and unreserved line items (`CANNOT_APPROVE_WITH_UNRESERVED_LINE_ITEMS`).\n"],null,[]]