I am trying to display three different ad sizes depending on whether the screen is a PC, Tablet or Phone. I found this link but it’s depreciated
https://forum.tagdiv.com/header-ads-adsense/
I tried changing the view in the editor and pasting different code in the Ad Bock for each view, but it appears to simply show only the last code added and not retain seperate code for each block.
I also tried the Ad Header block – but the settings there don’t allow seperate code for each screen size – just turning off for mobile.
So how can I achieve this please?
Hello!
For cloud templates, the settings are here: https://app.screencast.com/pfz5YYesOpG01 -> https://app.screencast.com/6oQj7sw6YeGKL
More info here: https://forum.tagdiv.com/ads-adsense-overview/
Thank you!
Thank you. The code suggested on the depreciated page allowed you to wrap ad images and control which one appears in pc, tablet or phone. The settings on the Ad Block and on the Ad page in the back end don’t appear to allow for this – you can turn on/off pc/phone dispaly for one header ad, but as far as I can see you cannot control three. I am using the Google Ad Manager to serve three seperate creatives with these tag types:
<div class=”td-visible-tablet-landscape td-visible-tablet-portrait”>
<div class=”td-visible-phone”>
Which seems to partially work – but as the page is depreciated I thought you might have replace this div class wrapper with a new format?
Sorry you sent me a generic set of instructions and I have explained the issue. You are not answering my question. I have explained in detail the use case, how your old code was a solution and why your earlier suggestions do not work. Please answer my question or refer me to someone who understands what I am asking.
Hello!
Did you see this important section: https://app.screencast.com/JgzRTfpZKslWT? These are not working with cloud templates. I’m not sure exactly what you need to achieve or which types of templates you use. Please provide more information about your issue or what you need to achieve, so I can help you efficiently.
Thank you!