Create API endpoints for Ads and the Ads Manager
With the heavy push Twitch is making to have streamers use the Ads Manager and to run more ads in general, this could go a long way to making that easier on our end. Ideally we should be able to get the following information and do the following things:
- see how long until the next ad
- see whether or not pre-rolls are disabled and for how long
- see how many snoozes are left
- see the cooldown time until another ad can be run
- activate a snooze
- run an ad manually (this is already possible, but adding for completion)
Additionally, EventSub subscriptions for both ads being run and the ad break notification would be incredibly helpful. For example, chat bots would be able to display a message indicating when an ad break starts along with a message about why and how to sub/get turbo to prevent seeing them in the future. This would also allow accurate stream overlays to display a message on stream so that viewers who aren't seeing the ads understand why the streamer might be taking a break or waiting to answer questions.
This would also help people who stream things such as speedruns where they're much less flexible with incorporating ads into their downtime. With this information, tools could be built that either snooze an ad or intelligently run ads of an appropriate length during known slower parts of a run, such as cutscenes, instead of the chance of it happening at a more frustrating time.

-
Cronwen commented
I think for streamers is very useful to have a way to know when the ads are close to start or even the time until the next mid-roll ads should be very useful.
-
Zreezy commented
+1
-
HedgeWizardly commented
As a moderator and a developer, this is the number one thing that I see streamers complain about on stream at the moment. The ability for us to notify the chat and streamer of an upcoming ad, or "snooze" it, in a way that suits the individual streamer and community would be extremely useful.