adsense will display what it thinks is most relevant to the page...
and this depends on what adsense (spider) finds -- and, how frequently it finds it -- and, how much of your page it reads (eg, first 1000, 2000, 5000, 10000, etc characters)
so if your thread is about a particular topic but it displays something else I suggest that you make sure that your meta tags, title page, etc all use the title of the thread ... I also, recommend adding a small (100 - 200) characters of the forum description or thread message below navbar or somewhere above thread table
in this manner, when the adsense spiders come to crawl your page they will find more keywords relating to the topic of the page
the key here is to have as many keywords on the upper half of your site
DID YOU KNOW?
if you have a left-column ... the left-column content is crawled before anything anything else--so, if the adsense only crawls 2000 characters you may not get relevant ads
-----------
| | xx xxx |
| | xx xxx |
| | xx xxx |
| | xx xxx |
------------
|