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, 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The document details the `MidrollFrequencyType` enumeration, defining how mid-roll ad frequency is specified within ad rules. Key types include: `NONE` (not a mid-roll), `EVERY_N_SECONDS` (time interval in seconds), `FIXED_TIME` (specific times in seconds), `EVERY_N_CUEPOINTS` (cue point interval), and `FIXED_CUE_POINTS` (specific cue points). The `UNKNOWN` value is used when the API version does not expose the actual value. The namespace is `https://www.google.com/apis/ads/publisher/v202502`.\n"],null,["# enum MidrollFrequencyType (v202502)\n\n**Service** \n**AdRuleService** **Dependencies** \n[BaseAdRuleSlot](/ad-manager/api/reference/v202502/AdRuleService.BaseAdRuleSlot) \n▼\n**MidrollFrequencyType**\n\nFrequency types for mid-roll [ad rule slots](/ad-manager/api/reference/v202502/AdRuleService.BaseAdRuleSlot).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `NONE` | The ad rule slot is not a mid-roll and hence `MidrollFrequency` should be ignored. |\n| `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\". |\n| `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\". |\n| `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\". |\n| `FIXED_CUE_POINTS` | Same as [FIXED_TIME](#FIXED_TIME), except the values represent the ordinal cue points (\"1,3,5\", for example). |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]