Your if conditions should be <vb:if and </vb:if
Code:
<vb:literal>
<vb:if condition="is_member_of($bbuserinfo, 1, 3, 4, 8, 31, 32)">
<div align="right"><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Team Buick, 300x250 -->
<ins class="adsbygoogle"
style="display:inline-block;width:300px;height:250px"
data-ad-client="ca-pub-5874277334279308"
data-ad-slot="7439119065"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</vb:if>
</vb:literal>