These days lot of people access website on smartphones and tablets, which has made the life of the web designers and developers more difficult, thanks to Apple and Google for giving smartphone and tablets in almost every hand. A recent survey mentions that 35% of American adults have smartphones and 87% of them access internet on their phones. That is the reason most of the big websites are working on responsive web designs.
Google has also officially recommended that website owners use the responsive design approach instead of maintaining separate mobile and desktop website as responsive design “keeps your desktop and mobile content on a single URL.”
Google Adsense And Responsive Layouts
Thanks to Amit from Digital Insipiration for this awesome code.
To get started, create multiple ad units (say 768×90, 468×60 and 300×250) inside your AdSense dashbaord and replace the relevant google_ad_client (ca-pub-1234) and google_ad_slot (AAA, BBB, etc.) identifiers in the code with your own values.
Let me know how this goes. Until next time..!!!