>--> Google AdSense の非同期広告コードを Blogger ブログに貼り付けるときに注意すること | クリボウの Blogger Tips

クリボウの Blogger Tips

Google Blogger の使い方、カスタマイズ方法、各種ツールなど、
Blogger 関連の役立つ情報を紹介しています。

> | | > Google AdSense の非同期広告コードを Blogger ブログに貼り付けるときに注意すること

Google AdSense の非同期広告コードを Blogger ブログに貼り付けるときに注意すること

Google AdSense の非同期広告コード

Google AdSense の広告コードで、「非同期」タイプを選ぶことができるようになりました。

Google AdSense の非同期広告コード(ベータ版)


これまでの「同期」タイプと比べて、ページの読み込み時間が改善されるということです。

非同期広告コードとは、完全非同期バージョンの AdSense 用広告コードのことで、ウェブページの読み込み時間を改善し、サイトを訪れたユーザーの利便性を高めます。非同期コードには、ウェブページの他の部分の読み込みを妨げないというメリットがあるため、広告の読み込みに問題があるページでも、コンテンツの読み込みは問題なくできるようになります。モバイル ユーザーの場合は特に、ウェブページの読み込み時間の短縮を実感できるでしょう。

これまでは AdSense 広告が読み込まれるまで残りのページ要素が表示されなかったんですが、このコードを使うと AdSense 広告が読み込まれようと読み込まれまいと、ページの残りをどんどん表示していくことができるというわけです。

このコードの取得は、AdSense サイト から「広告の設定」タブを押し、各広告の「コードを取得」リンクをクリック、「コードタイプ」のプルダウンから「非同期」を選ぶだけ。表示される「広告コード」をコピーして好きな場所に貼り付ければ、非同期バージョンの広告を簡単に設置することができます。


Blogger テンプレートに貼り付ける場合の注意点

この非同期広告コード、Blogger の投稿本文や HTML/JavaScritp ガジェットに貼り付ける分には問題がないんですが、テンプレートに直接貼り付ける場合には注意が必要です。実際に AdSense の非同期コードを Blogger のテンプレートに貼り付けると、このような警告が出ました。

XML の解析中にエラーが発生しました。行 ***、列 ***: Attribute name "async" associated with an element type "script" must be followed by the '=' charactor.

script 要素の async 属性に = がついてないよ」という内容です。新しいコードが Blogger のテンプレートエディタの XHTML 構文解析に引っかかっているんですが、これは asyncasync='async' とすることで回避することができます。

このことを知らせてくれたのが鷹野 凌さん。いつもありがとうございます!


AdSense も Blogger も同じ Google なんだから、もうちょっと融通をきかせてくれてもよさそうなものですが…。ともかく、テンプレートに貼り付けている AdSense コードを非同期に書き換えたい!という時には、ご注意ください。


スポンサードリンク:
お願い:
「この記事役に立った!」と思ったら、ぜひフィード登録をお願いします。 

Comments:61

  1. Judi Gratis via Bandar QQ Kyu-Kyu Yuzhno-Sakhalinsk Region Capital Situs www.pokerrusia.net Melalui BPD Kalsel Indonesia Kode Bank 122.

    ReplyDelete
  2. Those who are searching over internet 'nursing assignment help' can contact with us now. We are the best assignment writing service provider in Australia. Our Academic assignment writers available 24*7 hours for the students, if you really want to need assignment help online at cheapest price meet our Academic Experts at sample assignment and get high distinction grades with top quality assignment. We are here to help you with 100% plagiarism free assignment Help Adelaide, Australia. We offers lowest price on all kind of essay, case study assignment help, report writing assignment help, and more from 4000+ Ph.D. Experts

    ReplyDelete
  3. I find this blog quite informative and would recommend it to everybody because I too agree with the fact that students are getting burdened with complex programming concepts which many students fears of. My Assignment Services drives their hesitation away by providing efficient quality Java assignment help to students. We aim at providing high quality academic solutions by the means of our experts who carefully draft 100% original assignments on the time. We also deliver Python assignment help to students by consistently following the requirements and marking rubric. We have more than 2000 professional experts to assist you in all types of academic related worries. Our Minitab assignment help experts ensure you get an experience of the lifetime by providing 24x7 assistance as per your convenience. You just need to follow the link to our online order form where you can give your requirements and our Java assignment help experts will get in touch with you in processing your order further. Want reliable assignment help? You can always trust My Assignment Services.

    ReplyDelete
  4. Thank you for posting such a great article! I found your website perfect for my needs. It contains wonderful and helpful posts. Keep up the good work!. Thank you for this wonderful article! admission essay writing service

    ReplyDelete
  5. Your article is very informative for me. Contact us if you want to online assignment help. AbAssignmentHelp delivers unique and quality content that will be completely related to your assignment.

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. Do you have an insight into the qualities took out for in a company offering excellent Article Review Papers Services? Asking for Article Review Writing Service is noble because it enhances your Review Article Writing Service performance.

    ReplyDelete
  9. Losing sleep over unfinished essays but can't afford the assistance of costly assignment providers? Wondering whether the online service providers will do my assignment in australia? Facing a deadline for finishing the essay? Well, your anxieties end here. We have with us a team of essay writing services and assignment help like java assignment help, business assignment help for australia students who can solve all your writing issues so that you score high grades in your essay assignment.

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. Thesis writing help online in Uk Proofreading and editing service also available for the user, world best Assignment Help online service in Markit Place in Uk for first user.

    ReplyDelete
  12. طراح سایت وردپرس ، طراحی سایت وردپرس ، طراح وردپرس ، طراحی سایت با وردپرس ، پشتیبانی سایت وردپرس ، طراحی سایت شخصی ، طراحی سایت شرکتی ، طراحی سایت فروشگاهی ، پشتیبانی سایت وردپرس ، سئو سایت وردپرس ، سئو تخصصی وردپرس ، پشتیبان سایت وردپرس ، آموزش ساخت وب سايت ، هزینه طراحی سایت فروشگاهی ، طراحي سايت فروشگاه اينترنتي ، طراحی آنلاین سایت ، طراحي سايت فروشگاهي ، قیمت طراحی سایت فروشگاه اینترنتی ، قیمت ساخت سایت ، طراحی وبسایت ارزان ، طراحی قالب وب سایت ، هزينه طراحي سايت ، آموزش حرفه ای طراحی سایت ، شرکتهای طراحی سایت ، اصول طراحی وب سایت ، طراحی سایت آموزش ، سفارش طراحی وب سایت ، طراحی وب سایت فروشگاه اینترنتی ، چگونگی ساخت وب سایت ، بهینه سازی موتور جستجو ، شرکت های طراحی وب سایت ، مراحل ساخت سایت ، آموزش طراحي وب سايت ، چگونه یک سایت طراحی کنیم ، نرم افزار ساخت سایت ، نحوه ساخت وب سایت ، هزینه طراحی وب سایت ، نمونه کارهای طراحی سایت ، آموزش بهینه سازی سایت ، طراحی سایت چیست ، روش طراحی سایت ، آموزش تصویری طراحی سایت ، طراحی سایت داینامیک ، شرکت های طراحی سایت ، نرم افزار فروشگاه ساز ، نمونه سایت های طراحی شده

    ReplyDelete
  13. This comment has been removed by the author.

    ReplyDelete
  14. Thanks for sharing such great information, I highly appreciate your hard-working skills as the post you published have some great information which is quite beneficial for me, I hope you will post more like that in the future.
    Custom Packaging Boxes

    ReplyDelete
  15. I have read your article; it is very instructive and valuable to me. I admire the valuable information you offer in your articles. Thanks for posting it.
    vape cartilage packaging

    ReplyDelete
  16. I am impressed. I don't think I've met anyone who knows as much about this subject as you do. You are truly well informed and very intelligent. You wrote something that people could understand and made the subject intriguing for everyone. Really, great blog you have got here
    Custom CBD Boxes
    CBD Oil Packaging
    Custom Eyeliner Boxes
    Custom Lip Gloss Boxes
    Printed Boxes UK
    Custom Mailer Boxes

    ReplyDelete
  17. 123Movies is a freemovies site
    to Watch Movies Online For Free and Download the latest movies
    without Registration.

    ReplyDelete
  18. temotv to watch your favorite movies for free

    ReplyDelete
  19. خرید اقساط موبایل از فروشگاه اینترنتی تی جی پلاس

    ReplyDelete
  20. Accomplishing the Excellence of Quality Assignment Writing, My Assignment Help has become a solid rival in giving best assignment help to students in Perth. My Assignment Help has gained notoriety for its convenient work and solid assistance. This is the explanation students from the greater part of the nations look for Perth Assignment Help to achieve their prerequisites for assignment composing. Our collaboration difficult to fulfill students measures for certified assignment composing. Students from various Universities like; Curtin University, Aquinas University, Murdoch University and so on go to our organization for best Perth assignment Writers. We manage all courses and points in educational plan of Perth college.
    more- assignment help uk
    online assignment help

    ReplyDelete
  21. http://blog.webonastick.com/2011/07/why-tarc-has-been-forced-to-cut-routes.html?showComment=1611181880066#c9176073971495920100

    ReplyDelete
  22. طراحی و سئو انواع سایت در کرج با بهترین قیمت و بالاترین کیفیت با گروه وبری | همین امروز شروع کنید

    طراحی سایت کرج

    ReplyDelete
  23. This comment has been removed by the author.

    ReplyDelete
  24. Really Appreciated your effort, other side if you need Custom Boxes Wholesale you can contact us

    ReplyDelete
  25. Your blog is more informative and attractive thanks for sharing if you need this Blank cigarette boxes you visit Blank Cigarette Boxes and order your own style.

    ReplyDelete
  26. I like this article.I was searching over search engines and found your blog and its really helps thank you so much
    کتاب آموزش و پرورش تطبیقی دکتر احمد آقازاده pdf
    http://www.codetools.ir/p/comparative-education

    ReplyDelete
  27. An informative article you have written and having simple easy pieces of information.
    GoToBoxes being the hub of custom manufacturing always provides its best. We are masters and experts in custom packaging solutions. If you need the Best Pre Roll Packaging, contact us.

    ReplyDelete
  28. A well defines and well-organized information and I think might be helpful for viewers.
    Here I want to show you my business which is all about custom printed boxes. We are providing top-quality boxes such as Bath Bomb Boxes. Bath Bomb Packaging is one of the sensitive products and takes more care. We are providing Bath Bomb Boxes at wholesale discounted rates with fast and free shipping.
    Bath Bomb Packaging
    Bath Bomb Boxes

    ReplyDelete
  29. Good read always prefer to read the quality content
    vivi winkler

    ReplyDelete
  30. نمادین سامانه تبلیغات در اینستاگرام نمادین

    ReplyDelete
  31. ما در لوله باز غرب تهران با بهترین روش های روز و متخصصین با تجربه چندین ساله و مدیریتی قدرتمند برای ارایه خدمات به شما و جلب رضایت شما تلاش میکنیم
    https://barchasb.net/tehran/east-area/
    https://barchasb.net/tehran/west-area/
    https://barchasb.net/tehran/vanak/
    https://barchasb.net/tehran/seyyed-khandan/
    https://barchasb.net/tehran/shariati/

    ReplyDelete
  32. Social media is a big part of our lives. Many businesses use this network to advertise and sell their products, which is called social media marketing. Instagram is one of these social networks, but in order to know the principles of Instagram SMM well, follow us to the end of the article

    https://bestsmmpanel.shop/

    ReplyDelete
  33. خوش قیمت ترین لوله باز کنی تهران لوله باز کنی پونک پیشرو در خدمت رسانی

    ReplyDelete
  34. از آنجایی که بسیاری از دانشجویان در رابطه با تحصیل در ترکیه بدون آزمون سوال می پرسند، تصمیم گرفتیم در این مقاله از موسسه حقوقی مهاجرتی آینده سازان مهر به بررسی شرایط تحصیل در ترکیه بدون آزمون بپردازیم.

    تحصیل در ترکیه

    تحصیل در ترکیه

    ReplyDelete


  35. همانطور که می دانید هر باطری ای نیاز به شارژ دارد. باتری خودرو نیز از این قاعده مستثنی نیست. اما آیا می دانید نحوه شارژ باتری خودرو چگونه است؟ در واقع شارژ باتری ماشین شما هنگامی که آن را روشن می کنید به صورت اتوماتیک انجام می شود.
    خودروبر در کرمان
    یدک کش در کرمان

    ReplyDelete
  36. Nice blog! Such an amazing and helpful post this is. I really really love
    it. It’s so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also.

    sithfab202

    ReplyDelete
  37. Thanks for sharing the blog it’s very useful and informative. You also explained the topic very well.

    ict50220

    ReplyDelete
  38. مدیوم الگوریتم اینستاگرام

    ReplyDelete

Comments on Google+:

© 2005-2014 Kuribo. Powered by Blogger.