> Documentation index: https://developer.chrome.com/docs/devtools/application/llms.txt

![Sofia Emelianova](https://web.dev/images/authors/sofiayem.jpg) Sofia Emelianova [GitHub](https://github.com/sofiayem)

<br />

Use **Application** \> **Ads** to inspect ad-related metrics, iframes, scripts, and why Chrome classified specific scripts as ads.

## Open the Ads section

1. [Open DevTools](https://developer.chrome.com/docs/devtools/open.md.txt).
2. Open the [**Application**](https://developer.chrome.com/docs/devtools/application.md.txt) panel.
3. In the left sidebar under **Application** , select **Ads**.

![The Ads section in the Application panel showing Metrics, Ad iframes, Ad scripts with the Ad provenance column, and Settings.](https://developer.chrome.com/static/docs/devtools/application/ads/image/ads-section.png)

> [!NOTE]
> **Note:** Chrome's ad detection can make mistakes. Click **Learn more** at the bottom of the **Ads** section for details.

## View ad metrics

The **Metrics** section at the top summarizes the page's ad footprint across four cards:

- **Viewport ad density**: The current percentage of the viewport occupied by detected ads, along with the average over time.
- **Viewport ad count**: The current number of detected ads in the viewport, along with the average over time.
- **Total CPU usage by ads**: Total CPU time consumed by detected ad resources.
- **Total network usage by ads**: Total network traffic transferred by detected ad resources.

Click or hover over the info icon in any metric card to view its documentation tooltip and **Learn more** link.

## Inspect ad iframes

The **Ad iframes** table lists the total count and details for each iframe detected as an ad:

- **Element ID**: A link to the ad iframe element.
- **Initial origin**: The initial origin of the iframe.
- **CPU**: CPU time consumed by the iframe.
- **Network**: Network traffic transferred by the iframe.

## Inspect ad scripts

The **Ad scripts** table lists the total count and details for each script detected as an ad:

- **URL**: A link to the ad script.
- **Ad provenance** : The reason Chrome classified the script as an ad---either the matching filter list rule (for example, `||static.doubleclick.net^$third-party`) or an ancestor script chain.

## Highlight ad-related resources

Under **Settings** , select **Highlight ad-related resources** to highlight detected ad-related elements in red on the page.

You can also inspect [`ad` badges](https://developer.chrome.com/docs/devtools/elements/badges.md.txt#ad) in the **Elements** panel DOM tree or [highlight ad frames](https://developer.chrome.com/docs/devtools/rendering/apply-effects.md.txt#highlight_ad_frames) from the **Rendering** tab.