The data collected from their membership program will enable Costco and advertisers to better target shoppers with relevant ads based on their purchasing behavior.