티스토리 사이드 하단에 구글 애드센스 코드 넣는 법

 

 

관리자 > HTML/CSS 편집 > Ctrl + F 눌러 </s_sidebar> 찾아 다음 다음 눌러 제일 마지막 것 찾은 후

그 바로 밑에 구글 애드센스 코드를 아래처럼 넣으시면 됩니다.

   </s_sidebar>

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 구글 애드센스 티스토리 다운짱 우측 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:200px;height:200px"
     data-ad-client="ca-pub-xxxxxxxxxxxx"
     data-ad-slot="xxxxxxxxxxxx"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

  </div><!-- sidebar close -->

티스토리 사이드 상단에 구글 애드센스 코드 넣는 법

 

 

관리자 > HTML/CSS 편집 > Ctrl + F 눌러 <div id="sidebar">를 입력해 찾은 후

바로 밑에 구글 애드센스 200 x 200 사이즈 코드 넣으시면 됩니다. ^!~

 

 

<div id="sidebar">

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 구글 애드센스 티스토리 우측 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:200px;height:200px"
     data-ad-client="ca-pub-xxxxxxxxxx"
     data-ad-slot="xxxxxxx"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

 

 

구글 애드센스 코드는 한 페이지에 3개까지 넣을 수 있습니다.

※ 모바일용 애드센스 코드는 별도로 넣으셔야 합니다. 나중에 설명드리겠습니다. ^^

+ Recent posts