PumpinIron
Well-known member
With my Google Ads, I want to display the ads to all user groups except two (supporting members and lifetime supporting members).
Right now I am using this code:
That code works great in only showing the ads to visitors.
Like I said though, I want to change it so that the ads show to every user group except my supporting members and lifetime members.
What would be the condition code I'd need in order to do this?
Right now I am using this code:
Code:
<!-- Added by Chris (conditional code that only shows Google ads if user is not logged in)-->
<xf:if is="!$xf.visitor.user_id">
<link rel="preload" href="https://prebid.dblks.net/ff/2715236.js" as="script">
<link rel="preload" href="https://securepubads.g.doubleclick.net/tag/js/gpt.js" as="script">
<script async src='https://securepubads.g.doubleclick.net/tag/js/gpt.js'></script>
<script async src="https://prebid.dblks.net/ff/2715236.js"></script>
</xf:if>
That code works great in only showing the ads to visitors.
Like I said though, I want to change it so that the ads show to every user group except my supporting members and lifetime members.
What would be the condition code I'd need in order to do this?