What criteria do companies use when selecting an advertising agency

What criteria do companies use when selecting an advertising agency to work with