type PoddingError (v202505)

  • PoddingError is a type of ApiError related to podding fields in ad rule slots within the AdRuleService.

  • PoddingError inherits fields from ApiError, including fieldPath, fieldPathElements, trigger, and errorString.

  • PoddingError has a specific field called reason which is an enumeration detailing various reasons for podding errors, such as invalid podding types or duration ranges.

Errors related to podding fields in ad rule slots.


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

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.

PoddingError

reason

PoddingError.Reason


Enumerations
INVALID_PODDING_TYPE_NONE
Invalid podding type NONE, but has podding fields filled in. Podding types are defined in PoddingType.
INVALID_PODDING_TYPE_STANDARD
Invalid podding type STANDARD, but doesn't specify the max ads in pod and max ad duration podding fields.
INVALID_OPTIMIZED_POD_WITHOUT_DURATION
Invalid podding type OPTIMIZED, but doesn't specify pod duration.
INVALID_OPTIMIZED_POD_WITHOUT_ADS
Invalid optimized pod that does not specify a valid max ads in pod, which must either be a positive number or -1 to signify that there is no maximum.
INVALID_POD_DURATION_RANGE
Min pod ad duration is greater than max pod ad duration.