type PreferredDealError (v202411)

  • The ProposalLineItemService manages proposal line items and their associated errors.

  • PreferredDealError is a specific type of error related to preferred deal proposal line items.

  • This service is part of the Google Ad Manager API and uses a specific namespace for its operations.

  • ProposalLineItemService includes a variety of error types, indicated by ApiError, that can occur during operations.

  • PreferredDealError provides further details about issues with preferred deals through its reason field, outlining specific problems like invalid priority, rate type, frequency caps, and more.

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

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