hi,
Looking at the chart on your link, say the EM-R2, thats rated at 5.2Watts, so for a 12V battery that would be 0.43Amps, giving a coil resistance of 12v/0.43A = 27ohms.
A copper wire gauge of 18swg or 20swg would carry 0.43Amps.
Its important to note that the magnets shown in the links are most likely using high grade ferro materials and that the coil is inside the core.
So when the magnet is in contact with a ferrous surface the magnetic path loop is closed.
Your magnet will be very inefficient compared to those in the link.