protocol/ads library

Classes

AdFrameData
Ad frame data.
AdMetrics
Ad metrics for a page.
AdsApi
A domain for ad-related metrics and data.
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.