为什么在网站上不能显示adsense广告

| | Comments (0)



代码全都在一行内或有多余的 HTML

如果广告代码与google在您的帐户中提供的代码不同(例如,所有代码都显示在一行内或者包含换行符),则可能导致您的广告无法显示。请按原样复制您的广告代码(与您 AdSense 帐户中您的 AdSense 代码框中显示的代码保持一致),然后直接将其粘贴到您网页的 HTML 源代码中,不要做任何修改。

代码应类似于:


<script type="text/javascript"><!--

google_ad_client = "pub-0000000000000";

google_ad_width = 728;

google_ad_height = 90;

google_ad_format = "728x90_as";

google_ad_type = "text_image";

google_ad_channel ="";

//--></script>

<script type="text/javascript"

src=" http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>

Why can not show on the site adsense ads?


Code are all in the line or has extra HTML

If the google ads code in your account provided by a different code (for example, all codes are displayed in the line or contains line breaks), it may lead to your ad can not be displayed. Please click on your ad copy as the code (with your AdSense account to your AdSense code box of the code line), and then directly paste it into your web page HTML source code, do not do any changes.

Code should look like:


<script type="text/javascript"><!--

google_ad_client = "pub-0000000000000";

google_ad_width = 728;

google_ad_height = 90;

google_ad_format = "728x90_as";

google_ad_type = "text_image";

google_ad_channel ="";

//--></script>

<script type="text/javascript"

src=" http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>

Leave a comment

Archives

Ads by google

Pages

Powered by Movable Type 4.24-en

About this Entry

This page contains a single entry by 单点日志 published on April 12, 2009 6:54 PM.

中国网购利益谁拿了? was the previous entry in this blog.

如何在wordpress博客的日志之间显示广告 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.