USB requirements are that the cable be only 26 nSec long, electrically. The reason they give is so that the reflections have enough time to die down. That limits the length to around 15'. We have measured some cables that are a bit over the limit, at 15'. Most are very close to it.
Use longer at your own risk.
Use longer at your own risk.