Your data (cookie or otherwise) is stored and parsed into segments which are used by ad campaign managers to appropriately target you based off of needs and wants for each ad campaign. Campaigns have a target sheet which tells each campaign manager (or computer, now) which segments to associate with that campaign. Your data is sold to numerous vendors, and in the case of ads, typically to an RTB backend who can do something with it.