You need a wireless router, that supports access control. Mine does, it's a TP-LINK TL-WR1043ND. If yours doesn't support it, then it's a waste of time to countinue reading. I'm sorry.
Step 1: Setting Up a Host
Step 2: Setting Up a Target
Step 3: Setting Up a Rule
Save it, and you're done. Now tick the Enable Access Control box, and select Allow below it. Then save it!
If you made all the things right, no more ads will appear at home ;)