본문으로 바로가기

모바일 애드센스 삽입

category 업계/Blogging 2011.10.01 00:25
1. 상단

<div id="mobile_google_ad" style="position:absolute; left:0px; top:30px; width:320px; height:50px; z-index:1">
<script type="text/javascript"><!--
  // XHTML should not attempt to parse these strings, declare them CDATA.
  /* <![CDATA[ */
  window.googleAfmcRequest = {
    client: 'ca-mb-pub-9869232581491481',
    format: '320x50_mb',
    output: 'html',
    slotname: '6703646362',
  };
  /* ]]> */
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_afmc_ads.js"></script>
</div>

2. 하단

<div style="margin-left:-12px;">
<script type="text/javascript"><!--
  // XHTML should not attempt to parse these strings, declare them CDATA.
  /* <![CDATA[ */
  window.googleAfmcRequest = {
    client: 'ca-mb-pub-9869232581491481',
    format: '320x50_mb',
    output: 'html',
    slotname: '6703646362',
  };
  /* ]]> */
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_afmc_ads.js"></script></div>


댓글을 달아 주세요