How to create a pre-roll ad

A pre-roll ad is a 15 or 30-second promotional video message that plays before the content the user has selected.
Sometimes, by clicking on them, users are directed to another site.

N.B. Preroll can only be activated on video content that contains uploaded videos and it doesn't work on videos that are included with Youtube URLs or embedded by other resources.