Table of Contents

Class AdScript

Namespace
Selenium.WebDriver.BiDi.Cdp.Ads
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

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.

public sealed record AdScript : IEquatable<AdScript>
Inheritance
AdScript
Implements
Inherited Members

Constructors

AdScript(ScriptId, AdProvenance)

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.

public AdScript(ScriptId ScriptId, AdProvenance Provenance)

Parameters

ScriptId ScriptId

The script ID.

Provenance AdProvenance

The ad provenance.

Properties

Provenance

The ad provenance.

public AdProvenance Provenance { get; init; }

Property Value

AdProvenance

ScriptId

The script ID.

public ScriptId ScriptId { get; init; }

Property Value

ScriptId