type ProposalLineItemActionError (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Service
ProposalLineItemService
Lists all errors for executing operations on proposal line items.
- 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.
|
ProposalLineItemActionError
|
reason
|
ProposalLineItemActionError...
The error reason represented by an enum.
Enumerations
-
NOT_APPLICABLE
- The operation is not applicable to the current state.
-
PROPOSAL_NOT_EDITABLE
- The operation is not applicable because the containing proposal is not editable.
-
CANNOT_SELECTIVELY_ARCHIVE_PROPOSAL_LINE_ITEMS_FROM_MANDATORY_PRODUCTS
- The archive operation is not applicable because it would cause some mandatory products
to have no unarchived proposal line items in the package.
-
CANNOT_SELECTIVELY_UNARCHIVE_PROPOSAL_LINE_ITEMS_FROM_MANDATORY_PRODUCTS
- The unarchive operation is not applicable because it would cause some mandatory products
to have no unarchived proposal line items in the package.
-
CANNOT_UNARCHIVE_SOLD_PROGRAMMATIC_PROPOSAL_LINE_ITEM
- Sold programmatic ProposalLineItem cannot be unarchived.
-
CANNOT_ARCHIVE_ONGOING_PROPOSAL_LINE_ITEM
- Active ProposalLineItem cannot be archived
-
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\u003eProposalLineItemService\u003c/code\u003e enables programmatic interaction with proposal line items within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a comprehensive list of potential errors that can occur during operations on proposal line items, categorized by error type for easier troubleshooting.\u003c/p\u003e\n"],["\u003cp\u003eThese errors encompass a wide range of issues, including authentication, billing, targeting, and data validation.\u003c/p\u003e\n"],["\u003cp\u003eEach error type provides detailed information about the cause and potential solutions, assisting developers in resolving issues effectively.\u003c/p\u003e\n"],["\u003cp\u003eThe service facilitates management and execution of operations on proposal line items, allowing for streamlined workflows within Ad Manager.\u003c/p\u003e\n"]]],["The core content outlines error handling within the `ProposalLineItemService`. It details the inheritance structure of `ApiError` and lists numerous specific error types, such as `AuthenticationError`, `ForecastError`, and `QuotaError`. The service namespace is identified. Additionally, it defines `ProposalLineItemActionError`, an error type with specific reasons, like `PROPOSAL_NOT_EDITABLE` and `CANNOT_ARCHIVE_ONGOING_PROPOSAL_LINE_ITEM`. The `ApiError` includes fields for error identification: `fieldPath`, `fieldPathElements`, `trigger`, and `errorString`.\n"],null,[]]