enum PoddingError.Reason (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Describes reason for PoddingError
s.
- 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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003e\u003ccode\u003ePoddingError.Reason\u003c/code\u003e outlines the potential errors encountered during the ad podding process within AdRuleService.\u003c/p\u003e\n"],["\u003cp\u003eThese errors primarily concern inconsistencies or invalid settings related to podding types, such as \u003ccode\u003eSTANDARD\u003c/code\u003e or \u003ccode\u003eOPTIMIZED\u003c/code\u003e, and their respective parameters like maximum ad counts or durations.\u003c/p\u003e\n"],["\u003cp\u003eErrors may arise from specifying invalid combinations, like using podding fields with an invalid \u003ccode\u003eNONE\u003c/code\u003e type, or omitting required fields for specific podding types.\u003c/p\u003e\n"],["\u003cp\u003eAdditionally, 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.\u003c/p\u003e\n"],["\u003cp\u003eFurther errors may stem from inconsistent duration ranges, specifically when the minimum pod duration exceeds the maximum, indicating an illogical configuration.\u003c/p\u003e\n"]]],["The `PoddingError.Reason` enumeration outlines reasons for errors related to ad podding. Errors include invalid `NONE` or `STANDARD` podding types with incorrect field usage. `OPTIMIZED` pods must specify duration and the maximum number of ads. Another error is related to `INVALID_POD_DURATION_RANGE` which means that the minimum duration is greater than the maximum duration. Each reason corresponds to a specific invalid configuration within the podding setup.\n"],null,["# enum PoddingError.Reason (v202411)\n\n**Service** \n**AdRuleService** **Dependencies** \n[PoddingError](/ad-manager/api/reference/v202411/AdRuleService.PoddingError) \n▼\n**PoddingError.Reason**\n\nDescribes reason for `PoddingError`s.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `INVALID_PODDING_TYPE_NONE` | Invalid podding type NONE, but has podding fields filled in. Podding types are defined in `PoddingType`. |\n| `INVALID_PODDING_TYPE_STANDARD` | Invalid podding type STANDARD, but doesn't specify the max ads in pod and max ad duration podding fields. |\n| `INVALID_OPTIMIZED_POD_WITHOUT_DURATION` | Invalid podding type OPTIMIZED, but doesn't specify pod duration. |\n| `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. |\n| `INVALID_POD_DURATION_RANGE` | Min pod ad duration is greater than max pod ad duration. |"]]