A man has been jailed after he pleaded guilty to a number of harassment and fraud offences across the Midlands.