Class Rule
A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives.
Inheritance
object
Rule
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dfareporting.v3_5.Data
Assembly: Google.Apis.Dfareporting.v3_5.dll
Syntax
public class Rule : IDirectResponseSchema
Properties
AssetId
A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field.
Declaration
[JsonProperty("assetId")]
public virtual long? AssetId { get; set; }
Property Value
Type | Description |
---|---|
long? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
A user-friendly name for this rule. This is a required field.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
TargetingTemplateId
A targeting template ID. The targeting from the targeting template will be used to determine whether this asset should be served. This is a required field.
Declaration
[JsonProperty("targetingTemplateId")]
public virtual long? TargetingTemplateId { get; set; }
Property Value
Type | Description |
---|---|
long? |