How to Control the Size of Google AdSense Responsive Ad Unit

Responsive Ad Unit is a new type of Google AdSense ad unit. It is still on preview status. But we can use it in our web pages.

The most requested question should be how to control its size even it can be change size automatically due to the space size which you give it. However, sometimes we still need to limited its size. Especially since it is still a preview version, it casually show a over-sized Ad unit on our web page.

“A responsive ad unit allows you to control the size of the ads on your page…”, this is the policy on the Google AdSense official website.

Google allows us to modify the ad code as long as we do not violate their policies.

The following is an example to change the ad unit code (see code in red color)

<script async src=”//”></script>
<ins class=”adsbygoogle”
(adsbygoogle = window.adsbygoogle || []).push({});

Check Google website to get more details guide.