type ProposalLineItemActionError (v202411)

  • The ProposalLineItemService enables programmatic interaction with proposal line items within Google Ad Manager.

  • It provides a comprehensive list of potential errors that can occur during operations on proposal line items, categorized by error type for easier troubleshooting.

  • These errors encompass a wide range of issues, including authentication, billing, targeting, and data validation.

  • Each error type provides detailed information about the cause and potential solutions, assisting developers in resolving issues effectively.

  • The service facilitates management and execution of operations on proposal line items, allowing for streamlined workflows within Ad Manager.

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.