I use a bamboo pole frame 7 ft tall and 20 ft long.
Place a teepee frame on each end and string a horizontal pole from one frame to the other. Supported along the way by an additional tepee. Then I lean more poles about a foot apart on either side. If you leave a 3 to 4 foot wide opening in the middle that's a good place to put sunburn sensitive pumpkin vine.
I run mine north south so either side gets 1/2 a day of direct sunshine. The taller poles may need a ladder to pick the beans. So 7 foot works for me.
Cattle panels bent in 1/2 make a great 4'X8' inverted V shape for smaller amounts of beans. Cattle panels also have 6 inch square holes to reach thru as well.