Roadie

Pre-rolls on event

Automation · 4 min read ·

Pre-roll-free time ran out: new viewers now get a pre-roll ad.

Pre-rolls on (twitch.preroll_on) — Pre-roll-free time ran out: new viewers now get a pre-roll ad.

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 when your pre-roll-free time reaches zero. It does not mean anyone skipped an ad. Pre-roll-free time always runs out unless a new break earns more, and {reason} says why none did. It never fires:

  • While a break is running. The break is about to earn new free time.
  • On a channel that keeps pre-rolls on. If your Ads Manager is set to keep pre-roll ads on, a break earns no free time, and Roadie notices after your first break each stream. Pre-rolls are always on there, so there is nothing to announce. See Manage ad timing and warnings.

To get a warning before this happens, use Pre-rolls coming back.

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, 0; sample: 0.
  • {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: The next ad is later.
  • {twitch.ads.preroll_free_time} — Pre-roll-free seconds; number; required; Pre-roll-free seconds left, 0; sample: 0.
  • {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: The next ad is later.
  • {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 that the free time ran out. {roadie.ad.preroll_reason} holds the same value.

ReasonWhat happened
An ad was snoozedAn ad was snoozed in Roadie, or on Twitch (one fewer snooze)
Twitch moved the next adThe next ad moved later and no snooze was spent, as Twitch can do on Automatic ad length and frequency
No ad is scheduledTwitch has no ad scheduled, as with the Ads Manager off
The next ad is laterThe next ad is scheduled after the free time ended

A chat line can say the reason, for example Pre-rolls are on for a bit: {reason}. A condition can check it, so a line only blames a snooze when there was one.

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.

Browse events · Use fill-ins