I wouldn't have thought so - I don't think HTML/Javascript is enabled. I'm sure Google have considered this.
You can't especially for private groups.. because the TOS clearly states that your ad has to be visible for the whole public to see.. so this means membership access in parts of sites as well, not only groups.