In July 2020, Google Play announced the new safety section, a developer-provided disclosure of apps' data collection, sharing, and security practices. We are preparing documentation about our product behavior for publication and will update this site with more information in the coming weeks.

Reducing latency

The key to reducing latency in your IMA-enabled app is to do as much IMA-related set up as early as possible. You can do all of the following in your app as early as you like before playing ads:

  • Define your content playhead tracker
  • Create your AdDisplayContainer
  • Create your ImaSdkFactory
  • Create your AdsLoader
  • Create your AdsManager
  • Request ads
  • Obtain your AdsManager instance and register event handlers

Doing all of the above initializes the IMA SDK and request and parse your ads response all before your user even clicks play on your video. When you're ready to play the ads, call AdsManager.init() and wait for the LOADED event to play ads.