adsense ใช้โค้ดนี้แสดงโฆษณากับเว็บ responsive ได้มั้ยครับ ???

เริ่มโดย somesherlock, 29 ตุลาคม 2013, 15:58:56

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

somesherlock

โค้ดแบบนี้งับ


<script type="text/javascript">// <![CDATA[
var width = window.innerWidth || document.documentElement.clientWidth; google_ad_client = "ca-pub-xxxxxxxxxxxxxxxxx";
if (width < 700) {
/* unit-name */
google_ad_slot = "xxxxxxxxxx";
google_ad_width = 250;
google_ad_height = 250;
} else if (width > 700){
/* unit-name-bigger*/
google_ad_slot = "xxxxxxxxxxx";
google_ad_width = 336;
google_ad_height = 280;
}
// ]]></script>
<script type="text/javascript" src="//pagead2.googlesyndication.com/pagead/show_ads.js"></script>



มีใครเคยใช้/ใช้อยู่บ้าง แล้ว google เขาจะว่าอะไรมั้ยอ่ะ  :P
:wanwan017: :wanwan017:

somesherlock