Adsense ad optimization for in-article ad


#1

a want a little advice sir @GulshanKumar

i am using this ad optimization for responsive adsense ad & it works great.

<div style="margin-top: 16px; margin-bottom: 16px;">
 <style>
 .resCodeINCONTENT { display: block; width: 336px; height: 280px; } 
@media(min-width: 300px) { .resCodeINCONTENT { width: 300px; height: 250px;} } 
@media(min-width: 480px) { .resCodeINCONTENT { width: 336px; height: 280px;} } 
@media(min-width: 750px) { .resCodeINCONTENT { 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"
     style="display:inline-block"
     data-full-width-responsive="true"
     data-ad-client="ca-pub-xxxxxxxxxx"
     data-ad-slot="xxxxxxxxx"</ins> 
    <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> 
    <!-- google_ad_section_end --> 
    </center> 
</div>

can i change simillary to in-article adsense ad ?

(standard in-article ad code provided by Adsense)


#2

Yes… you can.


#3

But, what’s need of this In-Article ad automatically converts the size according to the devices and it is good for the Ads to do not change?