type HlsSettings (v202502)
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
      
         
         
         
            
               
                  Service
               
               
                  LiveStreamEventService
               
            
            
         
         
            LiveStream settings that are specific to the HTTP live streaming (HLS) protocol.
         
         
            - Namespace
- 
               https://www.google.com/apis/ads/publisher/v202502
               
                  
                     | Field | 
               
               
                  
                     | 
                           playlistType | 
                           
                              PlaylistType
                            Indicates the type of the playlist associated with this live stream. The playlist type is
                analogous to the EXT-X-PLAYLIST-TYPE HLS tag. This field is optional and will default to PlaylistType.LIVE. This field cannot be modified after live stream creation.
 Enumerations
 
                              
                                 EVENTThe 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.
                                 LIVEThe playlist is a live stream and there are no restrictions on whether media segments can be
                removed from the beginning of the playlist.
                                 UNKNOWNThe value returned if the actual value is not exposed by the requested API version.
 | 
                  
                     | 
                           masterPlaylistSettings | 
                           
                              MasterPlaylistSettings
                            The settings for the master playlist. This field is optional and if it is not set will default
                to a MasterPlaylistSettings with a refresh type of RefreshType.AUTOMATIC.
 | 
               
            
         
       
   
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  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."],[],["The core content describes `HlsSettings` for `LiveStream` events, focusing on the HTTP live streaming (HLS) protocol. Key aspects include `playlistType`, which specifies the playlist type (EVENT, LIVE, or UNKNOWN), defaulting to LIVE and unchangeable after creation. It can have an optional `masterPlaylistSettings`. This field will default to a `MasterPlaylistSettings` with automatic refreshing if not defined. The `playlistType` field controls if segments can only be added or also removed.\n"]]