Semetis interview question

How does Google ads work?