Class: StreamRequest



nullable Object

You can override a limited set of ad tag parameters on your stream request. Supply targeting parameters to your stream provides more information. You can use the dai-ot and dai-ov parameters for stream variant preference. See Override Stream Variant Parameters for more information.



The stream request API key. It's configured through the DFP Admin UI and provided to the publisher to unlock their content. It verifies the applications that are attempting to access the content.



The stream request authorization token. Used in place of the API key for stricter content authorization. The publisher can control individual content streams authorizations based on this token.


non-null StreamFormat

The stream format to request. Accepts the following string values:

  • hls (default)
  • dash


non-null Object with non-null OmidAccessMode keys and non-null Array of non-null RegExp properties

Settings object for defining OMID Access Mode rules. Object should map an OMID AccessMode to an array of RegExes. The url of the verification script will be compared to the ReExes, and will select the most restrictive mode of those that match. If none match, the AccessMode will default to LIMITED.



The ID to be used to debug the stream with the stream activity monitor. This is used to provide a convenient way to allow publishers to find a stream log in the stream activity monitor tool.