It happened in McCain's campaign. It happened repeatedly. If McCain did not either order it or encourage it he allowed it to continue repeatedly on his watch and did absolutely nothing to stop it.
Media accounts(which may or may not be true) said McCain was behind the many attacks on Sarah by the McCain campaign.