Advertising in a thread