Help improve Publisher Ads Audits for Lighthouse. Share your thoughts in our survey.

Load ad tag asynchronously

Stay organized with collections Save and categorize content based on your preferences.


This audit ensures ad tag library scripts are loaded asynchronously.

By default, JavaScript execution is synchronous. This means that once a script is encountered, no other content can be loaded until that script has been downloaded, parsed, and executed. Opting into asynchronous execution prevents this, allowing the browser to continue processing other resources while the specified script is loaded in the background. This keeps your page responsive while scripts are loading and decreses the time necessary to load all critical components.


Include the async attribute in the script tag definition. For example:


<script async src=""></script>

AdSense (auto ads)

<script async data-ad-client="ca-pub-xxxxxxxxxxxxxxxx" src=""></script>

Google Publisher Tag

<script async src=""></script>

More information

The following ad tag library scripts are supported:

Ad Tag Library Script(s)

Google Publisher Tag

Get Started with Google Publisher Tags
GPT request modes and asynchronous rendering