Added support for campaign groups.

Does what it says on the tin.