In this tutorial, we tackle adding app-ads.txt. Am almost certain if you use Admob you have at some point received a notification saying you need to attend to your app-ads.txt.
Here is the host site:
https://www.app-ads-txt.com/
"Adopt app-ads.txt to help protect your brand and revenue"
app-ads.txt example:
google.com, pub-xx7925xxxxxxxxxx, DIRECT, xxxxxxxxxxxxx
You can create a .txt file to paste the txt content sent to you by Google or the one you copied from Admob by using any basic file or text editor. Even notepad can do the job.
Alternatives to my method:
You can host the app-ads.txt file on your website if you own one, you can also host on Firebase for free.