Jump to content

Selection for Ads -> smartphone, tablet, desktop PC

Featured Replies

Posted

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

  • 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:

 

  • 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

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

  • 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.

Recently Browsing 0

  • No registered users viewing this page.