그누보드 5 구글 애드센스 추가 관련 문의
본문
구글 애드센스를 달려고하는데 PHP 파일에서 스크립트를 어떻게 써야 광고가 들어가나 모르겠네요....
어떻게하면 PHP파일에 구글 애드센스 스크립트를 쓸수 있을까요?
답변 1
echo '<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 내 광고 -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-8130732299180997"
data-ad-slot="8134329929"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>';
답변을 작성하시기 전에 로그인 해주세요.