Show Sidebar

Requesting In-Stream Video Ads – iOS SDK

Maaf, entri ini hanya tersedia dalam bahasa English. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.

In-Stream Video Ads is a video ad format that can be used to display video ads in a video ad player. These can be either pre-roll ads, mid-roll ads or post-roll ads. Currently we support demand from Google’s Interactive Media Ads (IMA) & InMobi.

The VMAX in-stream video ad implementation simplifies the display of in-stream video ads by rendering ads in the host app seamlessly whilst also allowing customisation.
Note:If you have previously integrated VMAX SDK, it is highly recommended to update the SDK to version 3.6.0.

Ensure that the container housing the VMaxAdView has 100% visibility that is not obscured by the other views in the view hierarchy.

Note: UX type kVMaxAdUX_InContentVideo which was used in versions 3.5.3 to 3.5.16 has been deprecated from SDK v3.6.0 onwards. You need to use kVMaxAdUX_InStreamVideo instead.

Requesting In-Stream Video Ads

Objective CSwift


If you would like to customise the look and feel of the controls for in-stream video ads to match those of your app, you may do so by providing customisations on the VMaxVideoAd instance.

Objective CSwift


There are a few API’s to note when implementing in-stream video ads as follows



From 3.6.0

Objective CSwift

Before 3.6.0

Objective CSwift

What would you like to do next?