All those who earn money by placing affiliate links on their website have to be transparent about this to consumers. The consumer needs to be fully aware that if they click on your links, you make referral commission. You can read https://www.ftc.gov/tips-advice/business-center/guidance/ftcs-endorsement-guides-what-people-are-asking to find some interesting answers to questions people are asking about affiliate disclosures.
The reason the FTC requires these disclosures is because they want to stop unfair practices and deception. They want products and services to be described truthfully and honestly so that people who buy them can make informed decisions.
In order to comply with these guidelines, your disclosures have to meet four main requirements. They must be frequent, conspicuous, clear and require no action on the part of the visitor. Visitors should not have to scroll, hover or click to discover that you receive compensation.