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

I think in most cases, any recoupable revenue would be royalty bearing. I guess it’s possible for an exception to apply, but I’d be surprised. Because in every case I’ve encountered, a recoupable advance is in connection with anticipated future sales. And if it’s a regular product for sale, it’s subject to royalty.