-
Adding Adsense Code in Responsive Design
We needed to be able to display different sized adsense ad’s based on the end user’s display size. What was happening is the large banner advertisements would ‘break’ the design on smaller resolution screens like iphone’s and android phones. In order to accomplish this, we had to adjust the adsense javascript, in accordance with Google Adsense TOS for responsive design.
This is what the modified adsense code for responsive design looks like:
Read the rest of this entry »