Ad hominem (Latin for “to the person”) is a category of argumentative strategies that involve criticizing an opponent's character, motive, background, or other personal attributes instead of their argument's content
With GG it's both. Therefore, it's not ad hominem.