Ghostwriting in B2B: fake content or essential thought leadership tool?

Ghostwriting has become a vital part of B2B content marketing. But when does it go beyond legitimate thought leadership and become fraudulent?