# type UnknownAdRuleSlot (v202505)

**Service** **AdRuleService** **Inheritance** [BaseAdRuleSlot](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.BaseAdRuleSlot) ▼ [NoPoddingAdRuleSlot](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.NoPoddingAdRuleSlot) [OptimizedPoddingAdRuleSlot](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.OptimizedPoddingAdRuleSlot) [StandardPoddingAdRuleSlot](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.StandardPoddingAdRuleSlot) **UnknownAdRuleSlot**

The [BaseAdRuleSlot](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.BaseAdRuleSlot) subtype returned if the actual type is not exposed by the requested
API version.

*** ** * ** ***

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

| ## Field ||
|---|---|
| **`BaseAdRuleSlot` (inherited)** ||
| ### `slotBehavior` | ` https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.AdRuleSlotBehavior ` The [AdRuleSlotBehavior](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.AdRuleSlotBehavior) for video ads for this slot. This attribute is optional and defaults to [AdRuleSlotBehavior.DEFER](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.AdRuleSlotBehavior#DEFER). Indicates whether video ads are allowed for this slot, or if the decision is deferred to a lower-priority ad rule. *** ** * ** *** **Enumerations** `ALWAYS_SHOW` :   This ad rule always includes this slot's ads. `NEVER_SHOW` :   This ad rule never includes this slot's ads. `DEFER` :   Defer to lower priority rules. This ad rule doesn't specify guidelines for this slot's ads. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |
| ### `maxVideoAdDuration` | ` xsd:long` The maximum duration in milliseconds of video ads within this slot. This attribute is optional and defaults to 0. |
| ### `videoMidrollFrequencyType` | ` https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.MidrollFrequencyType ` The frequency type for video ads in this ad rule slot. This attribute is required for mid-rolls, but if this is not a mid-roll, the value is set to [MidrollFrequencyType.NONE](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.MidrollFrequencyType#NONE). *** ** * ** *** **Enumerations** `NONE` :   The ad rule slot is not a mid-roll and hence `MidrollFrequency` should be ignored. `EVERY_N_SECONDS` : `MidrollFrequency` is a time interval and mentioned as a single numeric value in seconds. For example, "100" would mean "play a mid-roll every 100 seconds". `FIXED_TIME` : `MidrollFrequency` is a comma-delimited list of points in time (in seconds) when an ad should play. For example, "100,300" would mean "play an ad at 100 seconds and 300 seconds". `EVERY_N_CUEPOINTS` : `MidrollFrequency` is a cue point interval and is a single integer value, such as "5", which means "play a mid-roll every 5th cue point". `FIXED_CUE_POINTS` :   Same as [FIXED_TIME](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.UnknownAdRuleSlot#FIXED_TIME), except the values represent the ordinal cue points ("1,3,5", for example). `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |
| ### `videoMidrollFrequency` | ` xsd:string` The mid-roll frequency of this ad rule slot for video ads. This attribute is required for mid-rolls, but if [MidrollFrequencyType](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.MidrollFrequencyType) is set to [MidrollFrequencyType.NONE](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.MidrollFrequencyType#NONE), this value should be ignored. For example, if this slot has a frequency type of [MidrollFrequencyType.EVERY_N_SECONDS](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.MidrollFrequencyType#EVERY_N_SECONDS) and `#videoMidrollFrequency` = "60", this would mean " play a mid-roll every 60 seconds." |
| ### `bumper` | ` https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.AdRuleSlotBumper ` The [AdRuleSlotBumper](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.AdRuleSlotBumper) for this slot. This attribute is optional and defaults to [AdRuleSlotBumper.NONE](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.AdRuleSlotBumper#NONE). *** ** * ** *** **Enumerations** `NONE` :   Do not show a bumper ad. `BEFORE` :   Show a bumper ad before the slot's other ads. `AFTER` :   Show a bumper ad after the slot's other ads. `BEFORE_AND_AFTER` :   Show a bumper before and after the slot's other ads. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |
| ### `maxBumperDuration` | ` xsd:long` The maximum duration of bumper ads within this slot. This attribute is optional and defaults to 0. |
| ### `maxPodDuration` | ` xsd:long` The maximum pod duration in milliseconds for this slot. This attribute is optional and defaults to 0. |
| ### `maxAdsInPod` | ` xsd:int` The maximum number of ads allowed in a pod in this slot. This attribute is optional and defaults to 0. |
| ### `breakTemplateId` | ` xsd:long` ID of a [BreakTemplate](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.BreakTemplate) that defines what kinds of ads show at which positions within this slot. This field is optional and only supported on [OptimizedPoddingAdRuleSlot](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.OptimizedPoddingAdRuleSlot) entities. |
| **`UnknownAdRuleSlot`** ||