زمان بارگذاری برچسب را کاهش دهید
بررسی اجمالی
زمانی که طول می کشد تا اسکریپت کتابخانه تگ تبلیغات بارگیری شود. این فاصله زمانی از بارگذاری صفحه تا بارگذاری برچسب است.
توصیه ها
این معیار نشان دهنده مشکل خاصی نیست. باید برای کمک به شناسایی زمینه های بهبود و ردیابی آن بهبود در طول زمان استفاده شود.
هدف در اینجا کاهش زمان لازم برای بارگیری اسکریپت کتابخانه تگ تبلیغات است. اطمینان از اینکه سایر ممیزیهای خاصتر در حال تصویب هستند، باید تأثیر عمدهای بر این معیار داشته باشد. به ویژه، ممیزی های زیر احتمالاً بر این زمان تأثیر می گذارد:
اسکریپت های کتابخانه برچسب تبلیغات زیر پشتیبانی می شوند:
کتابخانه | اسکریپت(های) |
---|
AdSense | pagead2.googlesyndication.com/pagead/js/adsbygoogle.js pagead2.googlesyndication.com/pagead/show_ads.js |
برچسب Google Publisher | .../gpt/pubads_impl_<version>.js |
اجتناب از اشتباهات رایج در پیاده سازی GPT برچسب زدن بهترین شیوه ها برای به حداقل رساندن تأخیر صفحه
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی."],[[["This metric measures the time it takes for the ad tag library script to load from the start of page load."],["Improving other specific ad script audits, such as avoiding render-blocking resources or loading tags asynchronously, will positively impact this metric."],["The goal is to reduce the script load time, and this metric helps track improvement in that area."],["Common ad tag libraries included in this measurement are AdSense and Google Publisher Tag."]]],["The content focuses on the ad tag library script load time, measured from page load to tag load. The primary aim is to reduce this time, which can be achieved by improving other areas. Key actions include passing audits like those related to the ad request waterfall, avoiding render-blocking resources, loading scripts statically, loading tags asynchronously, and using the recommended GPT host. These actions should positively impact this metric, but it is not indicative of a specific issue. Supported ad tag libraries are provided, including AdSense and Google Publisher Tag.\n"]]