type AdRuleSlotError (v202405)
Errors related to ad rule slots.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202405
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.
|
AdRuleSlotError
|
reason
|
AdRuleSlotError.Reason
Enumerations
-
DIFFERENT_STATUS_THAN_AD_RULE
- Has a different status than the ad rule to which it belongs.
-
INVALID_VIDEO_AD_DURATION_RANGE
- Min video ad duration is greater than max video ad duration.
-
INVALID_VIDEO_MIDROLL_FREQUENCY_TYPE
- Video mid-roll frequency type other than NONE for pre-roll or post-roll.
-
MALFORMED_VIDEO_MIDROLL_FREQUENCY_CSV
-
Invalid format for video mid-roll frequency when expecting a CSV
list of numbers. Valid formats are the following:
- empty
- comma-separated list of numbers (time milliseconds or cue
points)
- a single number (every n milliseconds or cue points, or one
specific time / cue point)
-
MALFORMED_VIDEO_MIDROLL_FREQUENCY_SINGLE_NUMBER
- Invalid format for video mid-roll frequency when expecting a single
number only, e.g., every n seconds or every n cue points.
-
INVALID_OVERLAY_AD_DURATION_RANGE
- Min overlay ad duration is greater than max overlay ad duration.
-
INVALID_OVERLAY_MIDROLL_FREQUENCY_TYPE
- Overlay mid-roll frequency type other than NONE for pre-roll or
post-roll.
-
MALFORMED_OVERLAY_MIDROLL_FREQUENCY_CSV
- Invalid format for overlay mid-roll frequency for list of numbers. See
valid formats above.
-
MALFORMED_OVERLAY_MIDROLL_FREQUENCY_SINGLE_NUMBER
- Invalid format for overlay mid-roll frequency for a single number.
-
INVALID_BUMPER_MAX_DURATION
- Non-positive bumper duration when expecting a positive number.
-
TOO_MANY_MIDROLL_SLOTS_WITHOUT_ADS
- At most one mid-roll can be set to disallow ads.
-
UNKNOWN
- The value returned if the actual value is not exposed by the requested API version.
|
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 2024-05-15 UTC.
[null,null,["Last updated 2024-05-15 UTC."],[[["AdRuleSlotError is a type of ApiError specific to issues with ad rule slots within the AdRuleService."],["It includes fields like `fieldPath`, `trigger`, and `errorString` inherited from ApiError for identifying the error source and context."],["AdRuleSlotError uses the `reason` field to provide detailed explanations about the specific error encountered, such as slot status discrepancies or invalid video ad duration ranges."],["The `reason` field can take various values like `DIFFERENT_STATUS_THAN_AD_RULE`, `INVALID_VIDEO_AD_DURATION_RANGE`, or `MALFORMED_VIDEO_MIDROLL_FREQUENCY_CSV`, among others."],["This error helps developers understand and address problems related to ad rule slot configuration and settings in their Ad Manager setup."]]],[]]