Customs and Border Protection has been purchasing mobile location data from ad agencies to track people's movements.