AdAncestry

@Serializable
data class AdAncestry(val ancestryChain: List<Network.AdScriptIdentifier>, val rootScriptFilterlistRule: String? = null)

Encapsulates the script ancestry and the root script filter list rule that caused the resource or element to be labeled as an ad.

Constructors

Link copied to clipboard
constructor(ancestryChain: List<Network.AdScriptIdentifier>, rootScriptFilterlistRule: String? = null)

Properties

Link copied to clipboard

A chain of AdScriptIdentifiers representing the ancestry of an ad script that led to the creation of a resource or element. The chain is ordered from the script itself (lowest level) up to its root ancestor that was flagged by a filter list.

Link copied to clipboard

The filter list rule that caused the root (last) script in ancestryChain to be tagged as an ad.