The past tense of gain attention is gained attention.
The third-person singular simple present indicative form of gain attention is gains attention.
The present participle of gain attention is gaining attention.
The past participle of gain attention is gained attention.