*** ** * ** ***

| Properties ||
|---|---|
| `https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/reference/interface/google.ima.AdsRenderingSettingsInterface#google.ima.AdsRenderingSettingsInterface.autoAlign` | Set to false if you want to have fine grained control over the positioning of all non-linear ads. |
| `https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/reference/interface/google.ima.AdsRenderingSettingsInterface#google.ima.AdsRenderingSettingsInterface.bitrate` | Maximum recommended bitrate. |
| `https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/reference/interface/google.ima.AdsRenderingSettingsInterface#google.ima.AdsRenderingSettingsInterface.enablePreloading` | Enables preloading of video assets. |
| `https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/reference/interface/google.ima.AdsRenderingSettingsInterface#google.ima.AdsRenderingSettingsInterface.loadVideoTimeout` | Timeout (in milliseconds) when loading a video ad media file. |
| `https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/reference/interface/google.ima.AdsRenderingSettingsInterface#google.ima.AdsRenderingSettingsInterface.mimeTypes` | Only supported for linear video mime types. |
| `https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/reference/interface/google.ima.AdsRenderingSettingsInterface#google.ima.AdsRenderingSettingsInterface.playAdsAfterTime` | For VMAP and ad rules playlists, only play ad breaks scheduled after this time (in seconds). |
| `https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/reference/interface/google.ima.AdsRenderingSettingsInterface#google.ima.AdsRenderingSettingsInterface.prerollLoadVideoTimeout` | Timeout, in milliseconds, when loading a preroll video ad media file. |
| `https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/reference/interface/google.ima.AdsRenderingSettingsInterface#google.ima.AdsRenderingSettingsInterface.restoreCustomPlaybackStateOnAdBreakComplete` | Specifies whether the SDK should record the state of the provided video element before it is used for ads, and restore the state after the ads have completed. |
| `https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/reference/interface/google.ima.AdsRenderingSettingsInterface#google.ima.AdsRenderingSettingsInterface.uiElements` | Specifies whether to display specific IMA UI elements. |
| `https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/reference/interface/google.ima.AdsRenderingSettingsInterface#google.ima.AdsRenderingSettingsInterface.useStyledLinearAds` | Render linear ads with full UI styling. |
| `https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/reference/interface/google.ima.AdsRenderingSettingsInterface#google.ima.AdsRenderingSettingsInterface.useStyledNonLinearAds` | Render non-linear ads with a close and recall button. |

## Properties

*** ** * ** ***

### autoAlign

`autoAlign: boolean` Set to false if you want to have fine grained control over the positioning of all non-linear ads. If this value is true, the ad is positioned in the bottom center. If this value is false, the ad is positioned in the top left corner. The default value is true.

*** ** * ** ***

### bitrate

`bitrate: number` Maximum recommended bitrate. The value is in kbit/s. The SDK will pick media with bitrate below the specified max, or the closest bitrate if there is no media with lower bitrate found. Default value, `-1`, means the SDK selects the maximum bitrate.

*** ** * ** ***

### enablePreloading

`enablePreloading: boolean` Enables preloading of video assets. For more info see [our guide to preloading media](https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/preload).

*** ** * ** ***

### loadVideoTimeout

`loadVideoTimeout: number` Timeout (in milliseconds) when loading a video ad media file. If loading takes longer than this timeout, the ad playback is canceled and the next ad in the pod plays, if available. Use -1 for the default of 8 seconds.

*** ** * ** ***

### mimeTypes

`mimeTypes: string[]` Only supported for linear video mime types. If specified, the SDK will include media that matches the MIME type(s) specified in the list and exclude media that does not match the specified MIME type(s). The format is a list of strings, for example, \[ 'video/mp4', 'video/webm', ... \] If not specified, the SDK will pick the media based on player capabilities.

*** ** * ** ***

### playAdsAfterTime

`playAdsAfterTime: number` For VMAP and ad rules playlists, only play ad breaks scheduled after this time (in seconds). This setting is *strictly* after - for example, setting playAdsAfterTime to 15 will cause IMA to ignore an ad break scheduled to play at 15s.

*** ** * ** ***

### prerollLoadVideoTimeout

`prerollLoadVideoTimeout: number` Timeout, in milliseconds, when loading a preroll video ad media file. If loading takes longer than this timeout, IMA SDK cancels this ad playback and plays the next ad in the pod, if available. If not set, IMA SDK uses the `loadVideoTimeout` value.

*** ** * ** ***

### restoreCustomPlaybackStateOnAdBreakComplete

`restoreCustomPlaybackStateOnAdBreakComplete:
boolean` Specifies whether the SDK should record the state of the provided video element before it is used for ads, and restore the state after the ads have completed. This is only relevant for custom playback, when the same video element is used for both ads and content. The default value is false.

*** ** * ** ***

### uiElements

`uiElements: string[]` Specifies whether to display specific IMA UI elements. For more details, see [UiElements](https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/reference/js/google.ima#.UiElements). AdSense and AdX ads render their own ad UI regardless of this setting.

*** ** * ** ***

### useStyledLinearAds

`useStyledLinearAds: boolean` Render linear ads with full UI styling. This setting does not apply to AdSense/AdX ads or ads played in a mobile context that already use full UI styling by default.

*** ** * ** ***

### useStyledNonLinearAds

`useStyledNonLinearAds: boolean` Render non-linear ads with a close and recall button.