Stay organized with collections
Save and categorize content based on your preferences.
The key to reducing latency in your IMA-enabled app is to do as much
IMA-related setup as early as possible. Do the following in your app before
playing ads:
Define a content playhead tracker.
Create an IMAAdsLoader. If you have an existing
IMAAdsLoader instance, re-use it to reduce latency and ensure
that features like frequency capping work properly.
Create an IMAAdDisplayContainer.
Create the IMAAdsRequest.
Request ads.
Instantiate an IMAAdsManager instance.
Create your IMAAdsRenderingSettings.
These steps initialize the IMA SDK, request ads, and parse the ad
response—all before the user even clicks play on your video.
When you're ready to play the ads, initialize the IMAAdsManager via
IMAAdsManager:initializeWithAdsRenderingSettings and call
start.
[[["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-12 UTC."],[],[],null,[]]