At first, login to your cPanel and click on File Manager.

Then, File manager will appear. After appearing file manager, you’ve to click/go to your root file (public_html). Then click on Upload button.

At last, upload ads.txt file to your site.

Hope you understand. Thank you!