Groups
Sign in
Groups
Japan Blogger Users Group
Conversations
About
Send feedback
Help
アドセンスのコードが変わってしまう
32 views
Skip to first unread message
らてふじ
unread,
Jun 15, 2013, 8:42:57 AM
6/15/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to japan-blo...@googlegroups.com
bloggerで投稿のテンプレート機能をつかってアドセンスを差し込んでいますが投稿後なぜか買ってにコードが書き換わってしまいます
投稿
<script type="text/javascript"><!--
google_ad_client = "ca-pub-****************";
/* テキスト */
google_ad_slot = "***************";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="
http://pagead2.googlesyndication.com/pagead/show_ads.js
">
</script>
投稿後なぜか再編集すると下のようになる
<script type="text/javascript"><!--
google_ad_client = "ca-pub-****************";
/* テキスト */
google_ad_slot = "***************";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="
http://pagead2.googlesyndication.com/pagead/show_ads.js
">
</script>
このように赤字の部分が書き換わってしまいます。
これだと本文に
-->
と表示されてしまってカッコ悪いので
//-->
この部分を削除していますが問題はありますでしょうか?
他に何か解決方法があれば教えていただきたいです。
Reply all
Reply to author
Forward
0 new messages