Ward disappearance time

When someone places a ward, does it disappear from enemy at random or there are conditions that affect when the enemy can't see the ward anymore? I mean like I want to hit a ward and sometimes I can hit it for a long time, but then sometimes it disappears after a second.
Report as:
Offensive Spam Harassment Incorrect Board