The data retailers have on customers — from one-time buyers to loyalists — is extremely valuable to advertisers who want to optimize their exposure.