Adhesive is never a good thing inside a snake cage. I suggest using hot glue if possible

Like this: