Selecting an advertising agency to work with

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