Raspberry Pi Camera Long Cable
The cable that comes with the Raspberry pi camera v2 is around 15 cm. There are longer cables available. You can find them pretty easily on Amazon at about 610mm ( 24 inches ).
There is also the 2 meter Adafruit Flex Cable for Raspberry Pi Camera.
Another option is the Pi Camera HDMI Cable Extension. It allows you to adapt the ribbon cable to an HDMI cable. It doesn’t actually use an HDMI signal. It just passes data over the same wires. Check here: https://www.tindie.com/products/freto/pi-camera-hdmi-cable-extension/.
There are some things to be aware of with cable lengths. The longer the cable the lower the signal quality and the longer the signal delay.