Base interface for specifying properties of the stream request.

| Properties ||
|---|---|
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.StreamRequest#google.ima.cast.dai.api.StreamRequest.adTagParameters` | You can override a limited set of ad tag parameters on your stream request. |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.StreamRequest#google.ima.cast.dai.api.StreamRequest.apiKey` | The stream request API key. |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.StreamRequest#google.ima.cast.dai.api.StreamRequest.authToken` | The stream request authorization token. |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.StreamRequest#google.ima.cast.dai.api.StreamRequest.enableNonce` | Adds a nonce to the request. |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.StreamRequest#google.ima.cast.dai.api.StreamRequest.format` | The stream format to request. |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.StreamRequest#google.ima.cast.dai.api.StreamRequest.networkCode` | The stream request network code. |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.StreamRequest#google.ima.cast.dai.api.StreamRequest.streamActivityMonitorId` | The ID to troubleshoot the stream with the stream activity monitor. |

## Properties

*** ** * ** ***

### adTagParameters

`adTagParameters: {
[key: string]: string;
}` You can override a limited set of ad tag parameters on your stream request. The values you add must be strings. For details, see [Supply targeting parameters to your stream](https://support.google.com/admanager/answer/7320899). You can use the `dai-ot` and `dai-ov` parameters to define the stream variant. For details, see [Override stream parameters](https://support.google.com/admanager/answer/7320898).

*** ** * ** ***

### apiKey

`apiKey: string` The stream request API key. Configure your stream API key in the Google Ad Manager UI. For details, see [Authenticate DAI video stream requests](https://support.google.com/admanager/answer/6381445). The API key authenticates apps that attempt to access the stream.

*** ** * ** ***

### authToken

`authToken: string` The stream request authorization token. Use the token in place of the API key for secure content authorization. You can control individual content streams authorizations based on this token.

*** ** * ** ***

### enableNonce

`enableNonce: boolean` Adds a nonce to the request. When you request ads from a third-party server, you must set this parameter to transmit monetization signals to Google servers. Defaults to a `false` value.

*** ** * ** ***

### format

`format:
https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/namespace/google.ima.cast.dai.api.StreamRequest#google.ima.cast.dai.api.StreamRequest.StreamFormat` The stream format to request. Accepts the following string values:

- `hls`: default
- `dash`

> [!NOTE]
> **Note:** Values must be lowercase.

*** ** * ** ***

### networkCode

`networkCode: string` The stream request network code. To find the network code, see [Find Google Ad Manager account information](https://support.google.com/admanager/answer/7674889).

*** ** * ** ***

### streamActivityMonitorId

`streamActivityMonitorId: string` The ID to troubleshoot the stream with the stream activity monitor. Use this ID to find a stream log in the stream activity monitor tool.