enum PoddingError.Reason (v202411)

  • PoddingError.Reason describes the reasons for PoddingErrors in the AdRuleService.

  • There are specific invalid podding types, including NONE, STANDARD, and OPTIMIZED, with associated validation requirements.

  • Errors can occur if required podding fields are not specified for certain podding types, such as max ads in pod or duration.

  • The INVALID_OPTIMIZED_POD_WITHOUT_ADS reason indicates that the maximum number of ads in an optimized pod was not valid.

  • An INVALID_POD_DURATION_RANGE error occurs when the minimum pod ad duration is greater than the maximum.

Describes reason for PoddingErrors.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
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.