Identifying whether advertising is enabled and getting time offsets and durations
Requests
A client application must check whether ads are enabled for channels, events, and content (including catch-up and recorded events) so it can insert ads at the appropriate points.
To do this, it must check the values of the following fields:
csaiEnabled
indicates whether ads are enabled.csaiAdCueTimes
contains the time offsets and durations of the ads (not applicable for channels).
See the following pages for details of how to retrieve channels, events, catch-up, recordings, and VOD content:
Live
Channels – Retrieving channel lists
Events – Retrieving events for an EPG window – advanced queries
Note that in MDS, events are referred to as programmes in MDS.