EXCLUSIVE

Bam Margera is learning the hard way ... the folks at YouTube do not take kindly to self-induced golden showers posted on their site.

In case you don't follow Bam's career ... the MTV star is now getting into the rap game ... and one of his videos started to get some heat on YouTube.

Problem is ... the video ain't exactly family friendly ... containing some incredibly graphic images (naked people) and some unusually graphic hydration techniques (Bam takes a drink from his own yellow fountain).

Also, the lyrics were a bit too racy for YouTube ... since the hook is basically a description of how Bam wants to bend a particular body part in an unusual way so that he can have sex ... with himself.

A rep for YouTube tells TMZ ... "The video was taken down because of the content. It was flagged by users and a policy team believed it contained too much sexuality per our terms of use."