Unless I'm missing it, I'd like to see another token added for "Responsive Links".
I see [adsense:responsive:{slot}] which "only" covers text and[or] display by setting data-ad-format="auto", but nothing for the links.
Looking at the generated code, there is a switch to denote whether it is text and[or] display (auto) or link (link). I'm thinking this would have to either be another token created to specifically set it or an array(?) added to the existing token to denote that particular ad needs to be "link" instead of "auto". Skimming through the help docs and issue queue came up with nothing on the matter. From a UX standpoint for site builders, simply adding another token would be the most straight forward approach.
[adsense:responsive:{slot}]
[adsense:responsive-link:{slot}]
Examples:
Text and[or] Display
<!-- Responsive -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-xxxxxxxxxxxxxxxx"
data-ad-slot="5431320244"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Link
<!-- Responsive Links -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-xxxxxxxxxxxxxxxx"
data-ad-slot="2632714949"
data-ad-format="link"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Comments
Comment #2
philsward commentedComment #3
philsward commentedComment #6
jcnventuraComment #7
philsward commentedSweet, thx @jcnventura, I'll check it out :)
Update: Looks like it's working perfectly!