How to show ads in nextcloud

Hello I have nextcloud on and I want to show ads on the login page and download page and on the dashboard in the header area (almost like media fire) and when I was searching in files I haven’t found any HTML coded file so how do I add my ads script to nextcloud?

You can try one of those apps: