Advertisers collect data from various sources like social media platforms, search engines, website cookies, surveys, and purchase histories. This gathered information helps them to develop targeted marketing strategies to reach the desired customer segment effectively.