type ProposalLineItemActionError (v202505)

  • The ProposalLineItemService lists various errors related to executing operations on proposal line items.

  • Errors such as ApiError, AuthenticationError, and CommonError are among the types of errors that can occur.

  • The ProposalLineItemActionError field provides a reason for the error represented by an enum.

  • Specific reasons for action errors include the operation not being applicable to the current state or the containing proposal not being editable.

Lists all errors for executing operations on proposal line items.


Namespace
https://www.google.com/apis/ads/publisher/v202505

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.