Chrome DevTools

Ads Domain

A domain for ad-related metrics and data.

Experimental

Methods

Types

Methods

Chrome DevTools

Ads.getAdMetrics #

Retrieves ad metrics for the current page.

Return object

metrics

Types

Chrome DevTools

Ads.AdMetrics #

Ad metrics for a page.

Type: object

Properties

viewportAdDensityByArea
integer

The viewport ad density by area, represented as a percentage (an integer between 0 and 100).

averageViewportAdDensityByArea
number

The time-weighted average of the viewport ad density by area, measured across the duration of the page.

viewportAdCount
integer

The number of ads currently visible within the viewport.

averageViewportAdCount
number

The time-weighted average of the viewport ad count, measured across the duration of the page.

totalAdCpuTime
number

The total ad CPU usage, in milliseconds.

totalAdNetworkBytes
number

The total ad network bytes.