Bought a cable, doesn' work

A cable i ordered just arrived, and it doesn’t allow data transfer and is very glitchy, it seems to be getting disconnected, and it doesn’t seem to be charging my device. Am I squarely **bleep**ed?

Probably–pehaps a defective cable. 

Probably–perhaps a defective cable.

This is the cable i ordered,from cmple, anything out of place?