Responsive ad unit Vs Responsive ad unit by specifying the size


#22

I am on the way and I reply within an hour


#23

Just put the ad code between the div with top and bottom margin of 16px;

<div style="margin-top: 16px; margin-bottom: 16px;">
<!--Ad code-->
</div>

#24

Thanks brother, you took time to answer in between journey. :slight_smile:
can you tell me where i should paste this code in code below,

<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>


#25

giphy%20(1)

Here goes:
Replace this:

<div>

With this:

<div style="margin-top: 16px; margin-bottom: 16px;">


#26

:smiley: yeah bro, There are so many like us :wink: maybe not on this forum.
Thanks Anyway.


#27

Glad it helped.
rhyming leonardo dicaprio GIF


#28

Use this…

<div style="margin-top: 16px; margin-bottom: 16px;">
	<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>

#29

Thanks Brother, You Rock ! :slight_smile:


#30

here everybody is rock including you
may be you are new on the forum, welcome
if you feel any issue you can contact :slight_smile: