The fast-food giant is getting into the advertising business with plans to use customer data to sell targeted ads.