Hi,
I just notice the new code for the Matched content is really close to the responsive code and I was wondering what will be the best way to make it work:
Matched content code:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Content Comment -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-XXXXXX"
data-ad-slot="ABC"
data-ad-format="autorelaxed"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Responsive ad code:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Content Comment -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-XXXXXX"
data-ad-slot="DEF"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
The only difference I can spot is:
data-ad-format="auto" ==> data-ad-format="autorelaxed"
Thank you
Comments
Comment #2
jcnventuraThanks for the tip on matched content.. Yes, this should be easy to add.
Comment #3
algazaras commentedHi there,
Were you able to solve this issue?
Thanks a lot
Comment #6
jcnventura