<xf:if is="in_array($post.Thread.node_id, [2,6,8])">

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5953810591181163"

     crossorigin="anonymous"></script>

</xf:if>