Expand description
A domain for ad-related metrics and data.
Types, command parameters and event payloads for the Ads
domain. The method-name constants for the same domain are in
crate::methods.
This domain is experimental and may change without notice.
Structs§
- AdFrame
Data - Ad frame data.
- AdMetrics
- Ad metrics for a page.
- AdScript
- An ad script. Note: when the script is a transitive ad script, we only fill in the immediate ancestor script in the provenance’s adScriptAncestry field (as its first entry), rather than filling in the full ancestry. This saves work for the backend, and the frontend can reconstruct the full ancestry if necessary.
- GetAd
Metrics Params - Retrieves ad metrics for the current page.
- GetAd
Metrics Returns - What
Ads.getAdMetricsanswers with. - GetAd
Scripts Params - Retrieves ad scripts for the current page. To minimize payload size, this only returns the newly tracked ad scripts since the last call to getAdScripts (i.e., the delta).
- GetAd
Scripts Returns - What
Ads.getAdScriptsanswers with.