The IMA SDK, when used for Dynamic Ad Insertion (DAI) enables the player to request a video on demand (VOD) stream or linear (live) stream and send signals to Ad Manager for reporting. Event tracking with the SDK is more accurate than Server-Side Beaconing (SSB).
You can learn how to manage mid-roll insertion for DAI or see developer documentation.