Pre-rolls coming back event
Automation · 4 min read ·
Pre-roll-free time runs out soon and no ad is due before it. Run a break to keep pre-rolls off.
Pre-rolls coming back (twitch.preroll_soon) — Pre-roll-free time runs out soon and no ad is due before it. Run a break to keep pre-rolls off.
Source: twitch. Selection: Events picker. Availability: Beta Testers. Ad timer is rolling out to Beta Testers first. Before it can fire: Ad break timer switched on.
When it fires
It fires a set time before pre-roll-free time runs out. That is 5 minutes to start, and you can pick 1 to 30 minutes on the Pre-rolls coming back row of Utilities › Ad timer. It fires once each time free time is about to run out, and only when it would do some good:
- No ad is due first. If Twitch will run a scheduled ad before the free time ends, that ad earns more free time, so nothing fires.
- No break is running.
- Your channel turns pre-rolls off when you run ads. If your Ads Manager keeps pre-roll ads on, a break earns no free time, so this event never fires. See Manage ad timing and warnings.
It is most useful when you run your own breaks, for example with the Ads Manager off. Use it to remind yourself on stream, or to run a break from Automation.
Start a flow
Select this event in Automation where its selection flow is available, then add any conditions and actions. A real occurrence matching the event starts the flow. The Test panel can supply representative sample fields, but Run test applies every action for real. Use only harmless actions while learning the trigger, and inspect its recent run before enabling effectful steps.
Trigger fields
These are the typed fields declared for this event. An optional value may be absent in a particular run; confirm a real event before relying on it.
{seconds}— Seconds; number; required; Pre-roll-free seconds left; sample:300.{reason}— Reason; choice; required; Why, as Roadie reads the schedule; choices:An ad was snoozed,Twitch moved the next ad,No ad is scheduled,The next ad is later; sample:No ad is scheduled.{twitch.ads.preroll_free_time}— Pre-roll-free seconds; number; required; Pre-roll-free seconds left; sample:300.{roadie.ad.preroll_reason}— Reason; choice; required; Why, as Roadie reads the schedule; choices:An ad was snoozed,Twitch moved the next ad,No ad is scheduled,The next ad is later; sample:No ad is scheduled.{twitch.ads.next_ad_at}— Next ad at; text; optional; When Twitch has the next ad scheduled.{twitch.ads.last_ad_at}— Last ad at; text; optional; When the last ad ran.{twitch.ads.snooze_count}— Snoozes left; number; optional; How many snoozes the channel has left.{twitch.ads.snooze_refresh_at}— Snooze refresh at; text; optional; When Twitch gives another snooze.
The reason is Roadie’s own reading of the ad schedule since your last break. Twitch says only how much free time is left. {roadie.ad.preroll_reason} holds the same value.
| Reason | What happened |
|---|---|
| An ad was snoozed | An ad was snoozed in Roadie, or on Twitch (one fewer snooze) |
| Twitch moved the next ad | The next ad moved later and no snooze was spent, as Twitch can do on Automatic ad length and frequency |
| No ad is scheduled | Twitch has no ad scheduled, as with the Ads Manager off |
| The next ad is later | The next ad is scheduled after the free time ends |
Fill-ins offered for this trigger
This is the editor’s event-specific fill-in list for this trigger. Person fields also expose their login, display name, Twitch ID and avatar address. Shared channel fill-ins are available separately.
{seconds}— Seconds.{reason}— Reason.{twitch.ads.preroll_free_time}— Pre-roll-free seconds.{roadie.ad.preroll_reason}— Reason.{twitch.ads.next_ad_at}— Next ad at.{twitch.ads.last_ad_at}— Last ad at.{twitch.ads.snooze_count}— Snoozes left.{twitch.ads.snooze_refresh_at}— Snooze refresh at.
Check a run
Open the flow’s run log after a real event or a safe test. Check that the expected event fired and that its conditions matched. A connector or upstream service can prevent a real event from arriving even when a sample test succeeds.