Civilisation mastery

To unlock the civilisation mastery achievement, do I have to complete the tasks in skirmish mode? Will campaign be counter?

Mastery is for Skirmisher and Multiplayer.
There are other thing you unlock through the campaigns though.