Note: Version v201808 will be sunset soon. All users of those versions must migrate to a newer one.

type PackageError (v201811)

Lists all errors associated with Package objects.


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

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.

PackageError

reason

PackageError.Reason

The error reason represented by an enum.


Enumerations
INVAILD_PRODUCT_PACKAGE
Package cannot be created from an inactive or archived product package.
INACTIVE_RATE_CARD
The rate card is inactive.
PRODUCT_PACKAGE_NOT_IN_RATE_CARD
There is no association between the product package and the rate card.
HAS_NO_UNARCHIVED_PRODUCT_PACKAGE_ITEM
There are no unarchived product package items in this product package.
NOT_SAME_RATE_CARD
The package's rate card is not the same as other packages or proposal line items in the proposal.
NOT_SAME_RATE_CARD_PRICING_MODEL
The RateCard pricing model for this Package is not the same as the pricing models for the other proposalLineItems or packages in the Proposal.
NOT_SAME_RATE_CARD_WORKFLOW
The RateCard workflow for this Package is not the same as the workflows for the other proposalLineItems or packages in the Proposal.
PACKAGES_NOT_ALLOWED_IN_PROGRAMMATIC_PROPOSALS
Package cannot be created in a programmatic proposal.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.