Responsive ad unit Vs Responsive ad unit by specifying the size


After analyzing more than two months as I analysed that “Responsive ad unit by specifying the size” is much better than the “Responsive ad unit”.

7 days analysis of two-three months
Average CPC of “Responsive ad unit” - $.09
Average CPC of “Responsive ad unit by specifying the size” - $0.17

Modification for: “Responsive ad unit by specifying the size”

    .resCodeINCONTENT { display: block; width: 336px; height: 280px; }
    @media(min-width: 300px) { .resCodeINCONTENT { display: block; width: 300px; height: 250px;} }
    @media(min-width: 480px) { .resCodeINCONTENT { display: block; width: 336px; height: 280px;} }
    @media(min-width: 750px) { .resCodeINCONTENT { display: block; width: 728px; height: 90px;} }
    <!-- google_ad_section_start -->
    <script async="" src="//"></script>
    <!-- res_in_content -->
    <ins class="adsbygoogle resCodeINCONTENT"
      (adsbygoogle = window.adsbygoogle || []).push({});
    <!-- google_ad_section_end -->

Feel free to ask any query…


Completely agree to this.


Thanks - Responsive ads with auto width are good but not the best.


Thanks for sharing.

Just for the information for WordPress users, they can take advantage of above code by pasting at right location via Ad Inserter kind of plugin.


ll thanks to you my CPC increased from average 0.04$ to .10$.

Will try this code.

Its not same you gave last time, correct?



We should not use pure Responsive ad unit as sometimes it can result in Mobile Usability errors on Console. A couple of days back, some people reported mobile usability issues on same day and it was the result of responsive ad units.

Response ad unit might break the site layout in rare cases.


A Developer best habit is to trust own hand stuff. :grinning:


Yes - if your getting some of the traffics from USA - you must get 0.15 to .25
contact me when you have time - will try to do something.


Hi !
Can we Use this with Adsense Link Unit Ads ?


Yes. U can


Oh Thanks :slight_smile:


Do you have any visual comparison of the two?

Btw, thanks for sharing this :grinning:


The ad style layouts? It is unchanged. It’s just that AdSense will change the ad unit size in a better way without causing mobile usability errors. Plus, there won’t be any weird ad sizes that generally happens when the size of responsive ad units is not specified.

There’s a official document from Google detailing this ad behaviour.


What about responsive link units? What are the suggested sizes for that?




Tell you everything in the evening


here is the customize ad for link ad unit (that we have implemented on your website), just for others also.

<script async src="//"></script>
<!-- LinkAds_Resposnsive -->
<ins class="adsbygoogle"
     style="display:block; height: 300px; width: 600px; max-width: 100%"
(adsbygoogle = window.adsbygoogle || []).push({});

Modification is done with the style, customize width and height according to your self but do not change the max-width, height: 300px will show 5 ad in a row and height 200 will show 4 link ads

output - here height is 200px



I am using this code but there is no space between ad and text below it. Please tell me how to add space above and below code so that ad not touch text.


Add this:

margin-bottom: 10px;


Sorry, can you tell me where in code i have to paste this