Class 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.
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
ScriptIdScriptIdThe script ID.
ProvenanceAdProvenanceThe ad provenance.
Properties
Provenance
The ad provenance.
public AdProvenance Provenance { get; init; }
Property Value
ScriptId
The script ID.
public ScriptId ScriptId { get; init; }