Class PromotedItem
Describes a single promoted item.
Inheritance
System.Object
PromotedItem
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.YouTube.v3.Data
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class PromotedItem : IDirectResponseSchema
Properties
CustomMessage
A custom message to display for this promotion. This field is currently ignored unless the promoted item is a website.
Declaration
[JsonProperty("customMessage")]
public virtual string CustomMessage { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Identifies the promoted item.
Declaration
[JsonProperty("id")]
public virtual PromotedItemId Id { get; set; }
Property Value
Type | Description |
---|---|
PromotedItemId |
PromotedByContentOwner
If true, the content owner's name will be used when displaying the promotion. This field can only be set when the update is made on behalf of the content owner.
Declaration
[JsonProperty("promotedByContentOwner")]
public virtual bool? PromotedByContentOwner { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Timing
The temporal position within the video where the promoted item will be displayed. If present, it overrides the default timing.
Declaration
[JsonProperty("timing")]
public virtual InvideoTiming Timing { get; set; }
Property Value
Type | Description |
---|---|
InvideoTiming |