Harlan,
Needs to be mounted vertically; and, a good idea to go to the solenoid manufacturers documentation - depending on the manufacturer, orientation may be cap up or cap down.
If mounted sideways, the contactor operation may be intermittent as there is very little travel before the solenoid hits the stop inside.
Do a search on "relay failure" there is a contribution by three of us on the subject plus some photos of the guts of these things and why the orientation is important.