enum PoddingError.Reason (v202411)

  • PoddingError.Reason outlines the potential errors encountered during the ad podding process within AdRuleService.

  • These errors primarily concern inconsistencies or invalid settings related to podding types, such as STANDARD or OPTIMIZED, and their respective parameters like maximum ad counts or durations.

  • Errors may arise from specifying invalid combinations, like using podding fields with an invalid NONE type, or omitting required fields for specific podding types.

  • Additionally, errors can occur when optimized pods lack essential details like pod duration or a valid maximum ad count, including the special value of -1 for unlimited ads.

  • Further errors may stem from inconsistent duration ranges, specifically when the minimum pod duration exceeds the maximum, indicating an illogical configuration.

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.