enum PlaylistType (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Service
LiveStreamEventService
Describes the type of the playlist associated with this live stream. This is analagous to the
EXT-X-PLAYLIST-TYPE HLS tag. Use PlaylistType.EVENT
for streams with the value
"#EXT-X-PLAYLIST-TYPE:EVENT" and use PlaylistType.LIVE
for streams without the tag.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Enumeration |
Description |
EVENT
|
The playlist is an event, which means that media segments can only be added to the end of the
playlist. This allows viewers to scrub back to the beginning of the playlist.
|
LIVE
|
The playlist is a live stream and there are no restrictions on whether media segments can be
removed from the beginning of the playlist.
|
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003e\u003ccode\u003ePlaylistType\u003c/code\u003e in LiveStreamEventService describes the playlist type associated with a live stream, similar to the HLS tag EXT-X-PLAYLIST-TYPE.\u003c/p\u003e\n"],["\u003cp\u003eIt has three enumerations: \u003ccode\u003eEVENT\u003c/code\u003e for playlists where segments are only added at the end, \u003ccode\u003eLIVE\u003c/code\u003e for playlists without restrictions on segment removal, and \u003ccode\u003eUNKNOWN\u003c/code\u003e for values not exposed by the API.\u003c/p\u003e\n"],["\u003cp\u003eUse \u003ccode\u003ePlaylistType.EVENT\u003c/code\u003e for streams with "#EXT-X-PLAYLIST-TYPE:EVENT" and \u003ccode\u003ePlaylistType.LIVE\u003c/code\u003e for streams without this tag.\u003c/p\u003e\n"]]],["The `PlaylistType` enumeration within the `LiveStreamEventService` defines the type of HLS playlist. `EVENT` indicates a playlist where media segments are appended to the end, enabling viewers to scrub back. `LIVE` represents a live stream without restrictions on removing segments from the beginning. `UNKNOWN` is used when the actual value isn't available in the API version. This setting uses `EXT-X-PLAYLIST-TYPE` HLS tag in `PlaylistType.EVENT` and lack of the tag in `PlaylistType.LIVE`\n"],null,["# enum PlaylistType (v202411)\n\n**Service** \n**LiveStreamEventService** **Dependencies** \n[HlsSettings](/ad-manager/api/reference/v202411/LiveStreamEventService.HlsSettings) \n▼\n**PlaylistType**\n\nDescribes the type of the playlist associated with this live stream. This is analagous to the\nEXT-X-PLAYLIST-TYPE HLS tag. Use `PlaylistType.EVENT` for streams with the value\n\"#EXT-X-PLAYLIST-TYPE:EVENT\" and use `PlaylistType.LIVE` for streams without the tag.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|-------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `EVENT` | The playlist is an event, which means that media segments can only be added to the end of the playlist. This allows viewers to scrub back to the beginning of the playlist. |\n| `LIVE` | The playlist is a live stream and there are no restrictions on whether media segments can be removed from the beginning of the playlist. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]