Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted December 5, 20168 yr Hi, a selection for the advertising should appear on the desktop computer, tablet, smartphone, would be very, very helpful. Is there a way or could someone develop this? I have ads, that should only see guests that are using a desktop PC oder tablet, but not with smartphone. Best wishes Mark
December 5, 20168 yr Community Expert Already available in the default advertising system for images in ACP -> System -> Advertising. For scripts you can use the CSS framework to show/hide on different devices:
December 10, 20168 yr Author Hi Jim, if I use the CSS framework to show/hide ads on different devices there is a problem with Adsense, because the code will be still delivered although the ad is hidden. It is problematic in order to terms of Google, if using several ads. Is there a solution to deliver only the code if e.g. a guest uses a smartphone? Best wishes Mark
December 10, 20168 yr To Hide The Adverts On Desktop PC's Use <div class='ipsResponsive ipsResponsive_hideDesktop'> #YOUR AD CODE HERE </div> You Can Also Use <div class='ipsResponsive ipsResponsive_showPhone'> #YOUR AD CODE HERE </div> <div class='ipsResponsive ipsResponsive_showTablet'> #YOUR AD CODE HERE </div> <div class='ipsResponsive ipsResponsive_showDesktop'> #YOUR AD CODE HERE </div> That Will Only Show On The Adverts On The Desired Selections you can try this if you would like
December 11, 20168 yr Author Hi, that's the same ... the code will be delivered, the ads are just hidden. That's the problem. Best wishes Mark
Archived
This topic is now archived and is closed to further replies.