Is there any ways to put advertisement on domain

Is there any ways to put advertisement on domain, many ads needs a sever to type command to it, and I can’t type command to github sever, so is the any way to put ads ?

I don’t think you’re supposed to even try, as I understand the Pages terms:

GitHub Pages is not intended for or allowed to be used as a free web hosting service to run your online business, e-commerce site, or any other website that is primarily directed at either facilitating commercial transactions or providing commercial software as a service (SaaS). Some monetization efforts are permitted on Pages, such as donation buttons and crowdfunding links.

1 Like

Yup, so monetization just like donation buttons are allowed. What is not allowed is to use GitHub Pages as a full hosting platform for an e-commerce or anything similar to that.