# type AdRuleSlotError (v202508)

**Service** **AdRuleService** **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.ApiError) ▼ [AdRuleDateError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.AdRuleDateError) [AdRuleError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.AdRuleError) [AdRuleFrequencyCapError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.AdRuleFrequencyCapError) [AdRulePriorityError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.AdRulePriorityError) **AdRuleSlotError** [AdRuleTargetingError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.AdRuleTargetingError) [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.ApiVersionError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.CommonError) [CustomTargetingError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.CustomTargetingError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.FeatureError) [GeoTargetingError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.GeoTargetingError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.InternalApiError) [InventoryTargetingError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.InventoryTargetingError) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.NotNullError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.PermissionError) [PoddingError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.PoddingError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.QuotaError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.RequiredError) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.RequiredNumberError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.ServerError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.StringLengthError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.UniqueError)

Errors related to ad rule slots.

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202508`

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.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` | ` https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.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. <br /> |