از انتظار در رویدادهای بارگذاری اجتناب کنید
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
بررسی اجمالی
این ممیزی بررسی می کند که آیا اولین درخواست تبلیغ در یک رویداد بارگذاری صفحه مسدود شده است یا خیر. خود درخواستهای تبلیغاتی با DOM تعامل ندارند و به بارگیری کامل صفحه وابسته نیستند. بنابراین توصیه می شود برای سرعت بخشیدن به بارگذاری تبلیغات، هر چه زودتر درخواست های تبلیغاتی را ارائه دهید.
توصیه ها
هرگونه منطقی را که مانع از ارسال درخواست های تبلیغاتی قبل از load
صفحه یا فعال شدن رویدادهای domContentLoaded
می شود را حذف کنید.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThis audit verifies if the initial ad request is delayed until after the page load event, potentially slowing down ad loading times.\u003c/p\u003e\n"],["\u003cp\u003eAd requests can be made before the page fully loads, as they don't depend on the DOM.\u003c/p\u003e\n"],["\u003cp\u003eOptimize ad loading speed by removing any code that prevents ad requests before the \u003ccode\u003eload\u003c/code\u003e or \u003ccode\u003edomContentLoaded\u003c/code\u003e events.\u003c/p\u003e\n"]]],["The audit verifies if the initial ad request is blocked during a page load. Ad requests are independent of the DOM and do not require a fully loaded page. It's advised to initiate ad requests as early as possible to accelerate ad loading. To improve ad loading speed, logic that delays ad requests until after the `load` or `domContentLoaded` events should be removed.\n"],null,["# Avoid waiting on load events\n\nOverview\n--------\n\nThis audit checks whether or not the first ad request is blocked on a page load\nevent. Ad requests themselves do not interact with the DOM and are not dependent\non the page being fully loaded. It's therefore recommended to make ad requests\nas early as possible to speed up ad loading.\n\nRecommendations\n---------------\n\nRemove any logic that prevents ad requests from being made before the page\n`load` or `domContentLoaded` events fire. \n[View audit source](https://github.com/googleads/publisher-ads-lighthouse-plugin/tree/HEAD/lighthouse-plugin-publisher-ads/audits/blocking-load-events.js) [Improve this article](https://github.com/googleads/publisher-ads-lighthouse-plugin/tree/HEAD/docs/audits/blocking-load-events.md) [Report an issue](https://github.com/googleads/publisher-ads-lighthouse-plugin/issues/new?labels=documentation&template=documentation-feedback.md&title=Documentation+feedback%3A+blocking-load-events.md)\n\n\u003cbr /\u003e"]]