I think your problem probably stems from the placement of the backslashes - from my reading of your code, the $ in $randincno is being escaped, so PHP is looking for a folder under ads that is named
$randincno
instead of the value of $randincno.
So I would do this one of two ways. First is to just use forward slashes, simple enough...
include("../ads/$randincno/.txt");
Also looking at that you appear to have an extra slash there before the . in .txt. Is that supposed to be there?
The second way to do this would be like this:
include("..\ads\" . $randincno . ".txt");
(Again, not sure if you intend to have that final backslash or not.)
Either way should work.