ads.txt is a text file on the publisher's domain that lists who is allowed to sell that site's ad inventory.
It lives at /ads.txt. Each line names a seller's domain, that seller's account id for you, and whether the relationship is DIRECT or RESELLER. Buyers read it so they can ignore inventory offered by someone you did not authorize.
app-ads.txt is the same idea for apps. ads.txt does not set prices, floors, or which Prebid bidders are called. It only publishes authorization. A bidder can still be in your wrapper and missing from the file, or listed in the file and absent from the wrapper.
You publish the file, and you add a line when a new SSP gives you an account id. Crawlers and DSPs cache it, so a new line is not visible to every buyer the same hour. A missing line is a reason a buyer declines to bid. It is not a Prebid error.