type PreferredDealError (v202508)

  • The PreferredDealError is a service error specifically related to preferred deal proposal line items.

  • This error inherits properties from the generic ApiError type.

  • Specific reasons for this error include invalid priority, invalid rate type (only CPM is supported), invalid frequency caps (not supported), invalid roadblock type (only ONE_OR_MORE is supported), and invalid delivery rate type (only FRONTLOADED is supported).

Errors associated with preferred deal 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.

PreferredDealError

reason

PreferredDealError.Reason

The error reason represented by an enum.


Enumerations
INVALID_PRIORITY
INVALID_RATE_TYPE
Preferred deal proposal line items only support RateType.CPM.
INVALID_FREQUENCY_CAPS
Preferred deal proposal line items do not support frequency caps.
INVALID_ROADBLOCKING_TYPE
Preferred deal proposal line items only support RoadblockingType.ONE_OR_MORE.
INVALID_DELIVERY_RATE_TYPE
Preferred deal proposal line items only support DeliveryRateType.FRONTLOADED.
UNKNOWN