The AH3503 needs to be powered (it's a active component) and the third wire is the signal which you can use to read.
It's a good plan to mark al the magnets with a marker at the Nord or South side
HowTo:
Put all the magnets together and they will be all connected together...
Then mark the magnet at one side and disconnect it from the others and do this to all the magnets.
The reason is, the sensor is Nord or South sensitieve !
When they al mounted at the same way, the sensor output will be by all the same direction.
Otherwise, please check the datasheet from the sensor (always good to do, so you will see/read how it works.
Regards,
Marten