Midroll Spacing
Find podcast midroll placements that violate a supplied spacing minimum.
Description
Midroll spacing checks the intervals between successive ad placements.
Midroll spacing checks the intervals between successive ad placements. A minimum gap applies to each adjacent pair.1
Find podcast midroll placements that violate a supplied spacing minimum.
When to use Midroll Spacing
Use this tool to find podcast midroll placements that violate a supplied spacing minimum.
Prepare the text, recorded observations, aligned figures or editorial criteria requested. Confirm what each label, count, timestamp or supplied flag represents before interpreting the result.
How to use Midroll Spacing and understand its results
- Prepare the text, recorded observations, aligned figures or editorial criteria requested. Confirm what each label, count, timestamp or supplied flag represents before interpreting the result.
- Enter midrollTimesSeconds, minimumSpacingSeconds using the field table and calculation rules, then run the tool.
- Read minimumObservedSpacingSeconds, violatingPositions, violationCount. The explanation below defines the units, signs, ordering and any flags or placeholder values.
- If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
| Input field | Meaning | Value type; see rules below | Requirement |
|---|---|---|---|
| midrollTimesSeconds | Midroll timestamps (s) | list of number | Required |
| minimumSpacingSeconds | Minimum spacing (s) | number; minimum: 0 | Required |
Enter at least two nonnegative strictly increasing timestamps and nonnegative minimum seconds. Return smallest gap, violation count and one-based positions of later placements in violating pairs. Equality passes.
gap_i=time_i−time_(i−1); violation if gap<minimum Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.
| Output field | Meaning | Value type |
|---|---|---|
| minimumObservedSpacingSeconds | Minimum observed spacing (s) | number; minimum: 0 |
| violatingPositions | One-based positions after short gaps | list of number |
| violationCount | Spacing violations | integer; minimum: 0 |
{
"input": {
"midrollTimesSeconds": [
60,
180,
250
],
"minimumSpacingSeconds": 90
},
"output": {
"minimumObservedSpacingSeconds": 70,
"violatingPositions": [
3
],
"violationCount": 1
}
} Limitations and assumptions
No placement is moved and no audio content, suitability or monetization policy is analyzed.
Numeric inputs must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Lists are limited to 100,000 entries; the rules above may require smaller limits. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.
Alternative or Complementary methods
Use Package Runtime: Total broadcast package elements against a runtime limit. For a complementary task, use Tape-Sync Drift: Measure tape-sync duration drift against a supplied tolerance.
References
-
Midroll Spacing — tool.io
Similar or alternative tools
- Package Runtime
Total broadcast package elements against a runtime limit.
- Tape-Sync Drift
Measure tape-sync duration drift against a supplied tolerance.