Using other ads – non AdSense 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 frontend 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 example, the theme hides the image ads via CSS.

For the Google AdSense, the theme does not render the ad on a specific resolution if it’s disabled. AdSense ad size doesn’t change when you manually resize the browser window; you have to resize and then refresh the page. This restriction is imposed by Google, as the TOS says that we cannot alter the ad in any way once it’s rendered.

disable_ads

Show the same non-Adsense ad on every device:

Note: Do not use this method for AdSense. This solution is just for custom ads. For AdSense just paste your full code in the box and customize the ad via the on/off 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 non-Adsense ads depending on the device:

Note: do not use this method for AdSense. This solution is just for custom ads. For AdSense just paste your full code in the box and customize the ad via the on/off 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-landscape">
    <!-- Your NON AdSense code here - this ad will show only on tablets in landscape orientation -->
</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:

Note: do not use this method for AdSense. This solution is just for custom ads. For AdSense just paste your full code in the box, customize the ad via the on/off 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>