Avoid waiting on load events
Stay organized with collections
Save and categorize content based on your preferences.
Overview
This audit checks whether or not the first ad request is blocked on a page load
event. Ad requests themselves do not interact with the DOM and are not dependent
on the page being fully loaded. It's therefore recommended to make ad requests
as early as possible to speed up ad loading.
Recommendations
Remove any logic that prevents ad requests from being made before the page
load
or domContentLoaded
events fire.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-26 UTC."],[[["This audit verifies if the initial ad request is delayed until after the page load event, potentially slowing down ad loading times."],["Ad requests can be made before the page fully loads, as they don't depend on the DOM."],["Optimize ad loading speed by removing any code that prevents ad requests before the `load` or `domContentLoaded` events."]]],[]]