Smartly Interview Question

How does ad delivery work?