type ProposalLineItemActionError (v202508)

  • The ProposalLineItemService lists various errors that can occur when executing operations on proposal line items.

  • Errors related to the ProposalLineItemService inherit from the base ApiError type.

  • Specific error types cover issues like authentication, targeting, inventory, and programmatic deals.

  • The ProposalLineItemActionError provides reasons for why an operation might not be applicable, such as the proposal not being editable.

Lists all errors for executing operations on proposal line items.


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

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.