Home Newsmag 3 Documentation Using other ads

Using other ads

If you want to use other ad networks (non Adsense ads) with our ad system, you just have to paste the code in the ad box. If the theme detects that the code is not an AdSense code, it will render the code on the front end unmodified.

IMPORTANT: If you are using AdSense you just have to paste your full AdSense code in the theme and manipulate the ad via the size options and enable/disable buttons.

Hide image ads on specific devices:

You can disable the image ads and Google ads only on specific resolutions. For image ads, the theme hides them via CSS and for Google AdWords the theme does not render the ad on a specific resolution if it’s disabled. If the browser is resized, the google ad will not be modified only on refresh, because the AdWords TOS say that we cannot alter the ad in any way once it’s rendered.

newsmag_other_ads

2015-09-28_14-46-31

Show the same non Adsense ad on every device:

* do not use this method for AdSense. This is just for custom ads (non AdSense ads). For AdSense just paste your full code in the box 🙂 and customize the ad via the on of switches and the predefined sizes.

<div class="td-all-devices">
    <!-- Your NON AdSense code here - this ad will show on all devices -->
</div>

Show different ads depending on the device:

* do not use this method for AdSense. This is just for custom ads (non AdSense ads). For AdSense just paste your full code in the box 🙂 and customize the ad via the on of switches and the predefined sizes.

<div class="td-visible-desktop">
    <!-- Your NON AdSense code here - this ad will show only on desktops -->
</div>
<div class="td-visible-tablet-portrait">
    <!-- Your NON AdSense code here - this ad will show only on tablets in portrait orientation -->
</div>
<div class="td-visible-phone">
    <!-- Your NON AdSense code here - this ad will show only on phones -->
</div>

 

Sample image ad with different images for each device:

* do not use this method for AdSense. This is just for custom ads. For AdSense just paste your full code in the box 🙂 and customize the ad via the on of switches and the predefined sizes.

<div class="td-visible-desktop">
    <a href="#"><img src="http:/mysite.com/fashion/wp-content/uploads/2015/05/rec300.jpg" alt="" /></a>
</div>
<div class="td-visible-tablet-portrait">
    <a href="#"><img src="http://mysite.com/fashion/wp-content/uploads/2015/05/rec200.jpg" alt="" /></a>
</div>
<div class="td-visible-phone">
    <a href="#"><img src="http://mysite.com/fashion/wp-content/uploads/2015/05/rec200.jpg" alt="" /></a>
</div>

Did I mention that for AdSense you just have to paste the code? 🙂 .

50051480