validating uniqueness of groups and campaigns