LinkedIn on Thursday was hit with a fine of €310 million ($335 million) over its use of targeted advertising.