Reduce Ad JS Blocking Time
Stay organized with collections
Save and categorize content based on your preferences.
Overview
This audit measures the amount of blocking time
attributable to ad-related scripts. This captures time where the JS thread is
blocked by an ad-related script for long enough to be noticeable by users as it
can directly affect input delay or content loading.
Recommendations
The most important factor in ad JS blocking time is how many ads are being
loaded at once. Our recommendations are:
To learn how blocking time is defined, see this article on
Total Blocking Time
A script is considered to be ad-related if it is either an ad tag or labeled as
an "ad" script by Third Party Web.
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 identifies the time users experience delays due to ad scripts blocking the main thread, which negatively impacts loading speed and responsiveness."],["The primary cause of ad-related blocking is loading too many ads simultaneously, so it is recommended to reduce the number or density of ads."],["Optimizing ad loading by lazy loading below-the-fold ads and reducing batch sizes for Single Request Architecture can minimize blocking and enhance user experience."],["Ad-related scripts are identified through ad tags and third-party web classifications, providing insights into specific scripts contributing to blocking."]]],[]]