Involved in the biosynthesis of ADP-glucose, a building block, required in the biosynthesis of maltose-1-phosphate (M1P) and in the elongation reactions to produce linear alpha-1,4-glucans. Catalyzes the reaction between ATP and alpha-D-glucose 1-phosphate (G1P) to produce pyrophosphate and ADP-Glc