AAVs are allowed by code here in Ohio as long as there is a vent on the system. I try not to install them however because actually venting the fixture works better. In some cases though they may be a necessary evil. As Gary said, dont bury it in a wall or put it in an inaccessible location. You'll want to be able to get to it so it can be changed when it fails.
They must be code approved in your area to use. They must be placed at least 4 inches above the top of your trap but you must attach it to a seaparate fitting before the trap to accomplish that. And yes they must be accessible in case of failure, meaning you can't hide them in walls.
Yeah, a number of plumbers don't like them, but I don't think I would call them a necessary evil.
I may be opening a firestorm by saying this, but they serve a worthwhile purpose in many installations understanding their limitations such as these are no substitute for at least one traditional vent-to-roof to allow sewer gas to be released, something the AAV will not permit. In many cases, they perform as well as a traditional vent. These have been in use in Europe for example since 1972 and here in the U.S. since 1989 in some areas. Some of the manufacturers of these devices (well known plumbing suppliers) offer a lifetime guarantee.
Their use as a substitute in a complicated and labor-intensive island venting scheme are notable and impressive.