Hi,
When I was using the OTG, I was using an ipod 6. Below are the items I bought. I then bought the ipad mini 4; but no longer use the OTG. So the cables I bought were 8” which were a perfect fit. It almost looked stock, as if it came that way. With an ipad 2 you may need a longer version. 10”- 12”. Mine came in a 2 pack. The adapters also was 2 pack. These have sold out but, I did see the same from other vendors.