![](https://secure.gravatar.com/avatar/4275bd60ddf2c2c73022fb4741efb926?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Can I use the ads components in a self-hosted Premium version of JWPlayer?
I want to simply run custom pre-rolls, and the best option is the ads system since it forces the user to view it before the video. There's nothing I've read that indicates whether the self-hosted verison of the player supports ads. Can you confirm? Also, you seem to use different code examples in various places on your documentation. Where can I find current version examples of both VAST sample files as well as the JavaScript object for the advertising section of the options?