VAST responses can contain multiple media files with different
bitrates and in different formats. The SDK chooses the appropriate bitrate
based on the current network conditions:
max 500 kbit/s for cellular connection
unlimited for WiFi
If you want to specify preferred video formats and bitrate, use an
AdsRenderingSettings
instance to pass this information at the time of Ads Manager initialization.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eVAST responses may include multiple media files with varying bitrates and formats, with the SDK automatically selecting the optimal bitrate based on network conditions (500 kbit/s maximum for cellular and unlimited for WiFi).\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can customize preferred video formats and bitrates by utilizing an \u003ccode\u003eAdsRenderingSettings\u003c/code\u003e instance during Ads Manager initialization to specify desired settings like bitrate and MIME types.\u003c/p\u003e\n"]]],[],null,["Select platform: [HTML5](/interactive-media-ads/docs/sdks/html5/client-side/bitrates-formats \"View this page for the HTML5 platform docs.\") [Android](/interactive-media-ads/docs/sdks/android/client-side/bitrates-formats \"View this page for the Android platform docs.\") [iOS](/interactive-media-ads/docs/sdks/ios/client-side/bitrates-formats \"View this page for the iOS platform docs.\") [tvOS](/interactive-media-ads/docs/sdks/tvos/client-side/bitrates-formats \"View this page for the tvOS platform docs.\")\n\nVAST responses can contain multiple media files with different\nbitrates and in different formats. The SDK chooses the appropriate bitrate\nbased on the current network conditions:\n\n- max 500 kbit/s for cellular connection\n- unlimited for WiFi\n\nIf you want to specify preferred video formats and bitrate, use an\n[AdsRenderingSettings](/interactive-media-ads/docs/sdks/html5/client-side/reference/js/google.ima.AdsRenderingSettings)\ninstance to pass this information at the time of Ads Manager initialization. \n\n```gdscript\nfunction onAdsManagerLoaded(adsManagerLoadedEvent) {\n const adsRenderingSettings = new google.ima.AdsRenderingSettings();\n adsRenderingSettings.bitrate = 1024; //kbits\n adsRenderingSettings.mimeTypes = [ 'video/mp4', 'video/webm' ];\n adsManager = adsManagerLoadedEvent.getAdsManager(\n videoContent, adsRenderingSettings);\n ...\n}\n```"]]