The Wikipedia article for Rowan & Martin's Laugh-In refers to GGGDEC as
A six-note pattern preceding a code-word or punchline to an off-color joke, such as "do-doo-doo-da-do-doo ... smack!" or "... family jewels!" (sometimes extended to 18 notes by repeating the GGGDEC pattern two more times before the code-word). This same musical phrase had been used as a "signature" at the end of many pieces played by Spike Jones and his City Slickers. I don't know any other name for that sequence other than GGGDEC, which represents the notes of the sequence as played.