Platforms can now insert ads directly into the manifest file into totally random timestamps. The file chunks' names follow the same pattern as the original video. You cannot filter or prepare for it. Probably that will be the future. (AWS MediaConvert can do this for example.)
And they only create the manifest file upon starting the stream so you can inject personalized ads too.