How do royalties work for free to play UE4 HTML5 games on ad-supported websites?

I think in the case of head and sidebar ads, there is no royalty on that ad revenue.