Advanced Ads imports warnings from AdSense. If you created your ads.txt, then just close the notification in the Advanced Ads dashboard. AdSense might need some days to check for the file and will remove the warning automatically when they did.