Yes.
The AAV is installed vertically on a horizontal line.
S-traps are improper. In order to properly install P-trap, there must be a horizontal line.
(picture stolen from another thread)