This is not part of the plugin.
You will need to make your own widget plugin following the instructions here: http://question2answer.org/plugins.php
In the part where you output the ads check the value from qa_get_logged_in_userid() - if it's NULL then the user is not logged in.
Open qa-wa-layer.php (q2a-widget-anywhere-master plugin)
Go to line 83
Change the code with bottom
if ( $wid['position'] === $pos )
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.