Catalyzes the synthesis of ADP-glucose, a sugar donor used in elongation reactions on alpha-glucans. alpha-D-glucose 1-phosphate + ATP + H(+) = ADP-alpha-D-glucose + diphosphate Glycan biosynthesis; glycogen biosynthesis. Belongs to the bacterial/plant glucose-1-phosphate adenylyltransferase family.