Class AdAncestry
Encapsulates the script ancestry and the root script filter list rule that caused the resource or element to be labeled as an ad.
public sealed record AdAncestry : IEquatable<AdAncestry>
- Inheritance
-
AdAncestry
- Implements
- Inherited Members
Constructors
AdAncestry(ImmutableArray<AdScriptIdentifier>)
Encapsulates the script ancestry and the root script filter list rule that caused the resource or element to be labeled as an ad.
public AdAncestry(ImmutableArray<AdScriptIdentifier> AncestryChain)
Parameters
AncestryChainImmutableArray<AdScriptIdentifier>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.
Properties
AncestryChain
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.
public ImmutableArray<AdScriptIdentifier> AncestryChain { get; init; }
Property Value
RootScriptFilterlistRule
The filter list rule that caused the root (last) script in ancestryChain to be tagged as an ad.
public string? RootScriptFilterlistRule { get; init; }