enum ProposalLineItemActionError.Reason (v202411)

  • ProposalLineItemActionError outlines the reasons why a specific action on a proposal line item might fail.

  • This error encompasses scenarios like non-editable proposals, archiving restrictions due to mandatory products, and limitations on sold programmatic or ongoing proposal line items.

  • The error codes provide specific reasons for the failure, such as PROPOSAL_NOT_EDITABLE or CANNOT_UNARCHIVE_SOLD_PROGRAMMATIC_PROPOSAL_LINE_ITEM.

  • The ProposalLineItemActionError is part of the Google Ad Manager API and uses a specific namespace for identification.

The reasons for the target error.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
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.