They can even do A-B testing on the ads. Even if they lose some customers in line they can know they make more sales to compensate. Also they only really care about the 10% of customers who are totally addicted to the product and buy 90% of it. Those ones aren't leaving the line.