I have a warning in my AdSense account saying that the "ads.txt" file is missing
The ads.txt is already on your site, you can see it at [your site url]/ads.txt . AdSense sometimes takes time to pick it up, please accept my apologies about this, but they should detect it soon.