How to include advertisements (ads) on google cast (pre-rolls, mid-rolls)
<p>I'm trying to implement Custom Receiver and play pre- mid- rolls of advertisement while casting videos. According to schema on this <a href="https://developers.google.com/cast/docs/receiver_apps#choose-a-receiver" rel="nofollow">https://developers.google.com/cast/docs/receiver_apps#choose-a-receiver</a> page it is possible to include pre-, mid-, post- advertising. I don't know how to exactly do that (the way to do that is to use custom player that can play ads by client-ads-id). 
Can anybody help in that?</p>