Merkle Interview Question

how does google rank their ads