You can mix advertisements in with other content in your
playlist by using interstitial advertisements. The advertisements
in the playlist can be from a local server or from an advertising
service vendor.
When implementing interstitial advertising, consider the
following:
Switch between content streams by using stream switches. Stream
switches can correspond with time duration, script commands, or
client events.
Use a URL to a specific advertising service vendor in the
playlist locations in which you want advertisements to appear.
Frequently, the advertising service vendor will provide a link to
an advertisement that best matches the user profile.
Use the noSkip attribute to prevent users from skipping
the advertisement.
If you are logging data about your publishing points and want
to be able to differentiate between the advertisements and the
other content, set the value of the role attribute for the
advertising content to Advertisement. You can then
search the log file for that value and use only the relevant
data.