Ads Manager 2 by Siropu

Ads Manager 2 by Siropu [Paid] 2.5.8

No permission to buy (€49.99)
Hello @Siropu - I just upgraded my forum (rvforums.com) from xf 2.2 (latest) to 2.3.6. None of my styles are showing google ads now, seems the custom html script code didn't migrate over.

I upgraded your add-on to the latest after the 2.3.6 from 2.2.x upgrade.

I have 4 other sites to be upgraded which are now on hold. The xf 2.2 sites are using your add-on version 2.4.22, the site I upgraded this morning has your add-on version of 2.5.8.

Please check the upgrade path from 2.4.22 to 2.5.x to ensure no data loss please.
 
Last edited:
The script is showing in the database, it ends up loading slowly for some reason. Google ads don't appear to be rending in my styles for some reason, not sure if the script code is being blocked. I don't use ad blockers, I always see the ads on my site.

Edit: I see an error in the chrome dev tools:

tagerror: adsbygoogle.push() error: no slot size for availablewidth=0

 
I'm getting this resolved so ignore my posts above. However, I do notice that the Custom HTML tab content doesn't seem to load unless I click into the box. You may want to look into that @Siropu
 
Still can't get ads to work due to the error below. I have a custom CSS in extra.less embedded in my ad code which worked in 2.2. Not sure why this isn't working in 2.3.6.

Error:
tagerror: adsbygoogle.push() error: no slot size for availablewidth=0

My ad code:

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-xxxxxxx1111111"
crossorigin="anonymous"></script>
<!-- Horizontal 970x90 -->
<ins class="adsbygoogle custhorizontal"
style="display:inline-block;"
data-ad-client="ca-pub-xxxxxx111111"
data-ad-slot="xxxxx11111"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

Extra.less has the following class referenced above:

.custhorizontal { width:100%;max-width: 970px !important; height: 90px !important; margin:0 auto; }
@media (max-width: @xf-responsiveMedium)
{
.custhorizontal {max-width: 100% !important; max-height: 90px !important; margin:0 auto; }
}
 
Back
Top Bottom