Advertisement

Monday, October 13, 2014

Google Approves Responsive AdSense Ads

Google Approves Responsive AdSense Ads

When AdSense launched a few years ago, people mostly accessed websites on their desktop and laptop computers. Fast forward today and all sorts of devices such as mobile phones, gaming consoles, ebook readers and even televisions are being used to connect to the internet. Web designers are therefore increasingly on a technique and that is called Responsive Web Design where a single layout works across all devices, irrespective of the screen size or the resolution of the visitor's device. Google AdSense Ads are fixed width but there is a little workaround that can make your Google Ads responsive. The idea is that if a visitor is reading your webpage on a large desktop screen, they are served the large 728 × 60 or 336 × 280 units while if another visitor is viewing the same page on a smaller mobile screen, you also can dynamically serve the 200 × 200 or similar unit.

Michel Wester of WebSonic.nl an AdSense publisher from the Netherlands, contact the Google AdSense team for a confirmation and here is that official response in Dutch Language.

The rough Dutch to English translation is:
AdSense Ads can be adapted to different screen sizes using a simple JavaScript snippet To take advantage of responsive design, create multiple ad formats, such as 728 × 90, 468 × 60 and 300 × 250 Then your implement an "if-else" fragment so that the right ad format is displayed based on the size of the device of the user. The example website that you sent as the correct JavaScript code that you can use Well I would like to emphasize that further change the AdSense code is not allowed. Advertisement may also not be hidden with CSS. Thus you won't violate any of the AdSense program policies for using responsive Ads of your website. The JavaScript snippet is not modifying the AdSense code but is simply requesting a different ad unit based on the view-port width of the current visitor's screen.Thank You

Read Also

How to Setup your own Proxy Server (Updated)

Advertisement