1. Find the Windows hosts file on your computer. The file is probably located in the c:\windows\System32\drivers\etc\ folder. Look for the file named “hosts”.
2. Right-click the hosts file. Click “Open,” and then choose “Select the program from a list”. Click “Notepad”. The hosts file opens up as a text file in Notepad.
3. On the first empty line of the hosts file, copy and paste the following:
127.0.0.1 pagead.googlesyndication.com
127.0.0.1 pagead2.googlesyndication.com
4. Save the file.
5. Allow the change if prompted with a warning from your antivirus or spyware programs.