Porn companies adapted by designing new business models around licensing, educational courses, live camming, crowdsourcing, event hosting, and commerce. It also lets them make money off of views of their content on ad-supported sites. Markets closed. A lot of people still pay for it and, as you said, advertisement.