Responsive ad unit Vs Responsive ad unit by specifying the size


#1

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”

<div>
  <style>
    .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;} }
  </style>
  
  <center>
    <!-- google_ad_section_start -->
    <script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- res_in_content -->
    <ins class="adsbygoogle resCodeINCONTENT"
         data-ad-client="ca-pub-XXXXXXXXXXXXXXXXXX"
         data-ad-slot="YYYYYYYYYY"></ins>
    <script>
      (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    <!-- google_ad_section_end -->
  </center>
</div>

Feel free to ask any query…


#2

Completely agree to this.


#3

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


#4

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.


#6

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?


#7

Indeed.

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.


#8

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


#9

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.


#10

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


#11

Yes. U can


#12

Oh Thanks :slight_smile:


#13

Do you have any visual comparison of the two?

Btw, thanks for sharing this :grinning:


#14

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.


#15

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


#16

Anyone?


#17

Tell you everything in the evening


#18

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

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- LinkAds_Resposnsive -->
<ins class="adsbygoogle"
     style="display:block; height: 300px; width: 600px; max-width: 100%"
     data-ad-client="ca-pub-xxxxxxxxxxxxxxxxxxxx"
     data-ad-slot="yyyyyyyyyyyyyyyy"
     data-ad-format="link"
     data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script> 

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

Capture


#19

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.


#20

Add this:

margin-bottom: 10px;


#21

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