Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
mark007 Posted December 5, 2016 Posted December 5, 2016 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
Jim M Posted December 5, 2016 Posted December 5, 2016 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:
mark007 Posted December 10, 2016 Author Posted December 10, 2016 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
sweethoney Posted December 10, 2016 Posted December 10, 2016 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
mark007 Posted December 11, 2016 Author Posted December 11, 2016 Hi, that's the same ... the code will be delivered, the ads are just hidden. That's the problem. Best wishes Mark
Recommended Posts
Archived
This topic is now archived and is closed to further replies.