The type of glue required will very much depend on the strength of the magnet and the surface you are wanting to adhere it to.  Strong adhesives are generally required such as two-part epoxies and cyanoacrylates (super glues).  We stock two different cyanoacrylates, one for use on Wood and Paper and the for use on Metals.