How do I filter what kind of adsense ads shows up on my website?

For example, let's say I don't want particular amazon product ads showing up in my ads... for example, books. Or mac laptops. (as an example)


AdSense allows for various filters to block certain ads:

You can block by advertiser domain name or url, general categories (apparel, cars, real estate, etc), sensitive categories (politics, religion, etc), specific ad networks, or even individual ads. However, it's not possible to just stop certain products from Amazon at this time.

More info in their documentation: