Hosted Post Affiliate Pro does not support uploading or publishing customer-provided files, such as ads.txt, in the root directory of a custom domain. Post Affiliate Pro is a web application, not a general-purpose website hosting service.
Where to publish ads.txt
An ads.txt file for Google AdSense belongs on the website where the advertisements are displayed, rather than on the affiliate panel. Publish the file through the hosting provider or registrar that serves that website.
Domains and redirects
If only a www subdomain is parked with Post Affiliate Pro while the root domain is managed elsewhere and redirects, the root domain is not served by Post Affiliate Pro. In that case, a 404 response for the root domain's ads.txt URL comes from the service handling the root domain, not from Post Affiliate Pro. Publish the file through the host or registrar managing the main website.