Class PromotedItemId
Describes a single promoted item id. It is a union of various possible types.
Inheritance
System.Object
PromotedItemId
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 PromotedItemId : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RecentlyUploadedBy
If type is recentUpload, this field identifies the channel from which to take the recent upload. If missing, the channel is assumed to be the same channel for which the invideoPromotion is set.
Declaration
[JsonProperty("recentlyUploadedBy")]
public virtual string RecentlyUploadedBy { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Describes the type of the promoted item.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String |
VideoId
If the promoted item represents a video, this field represents the unique YouTube ID identifying it. This field will be present only if type has the value video.
Declaration
[JsonProperty("videoId")]
public virtual string VideoId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
WebsiteUrl
If the promoted item represents a website, this field represents the url pointing to the website. This field will be present only if type has the value website.
Declaration
[JsonProperty("websiteUrl")]
public virtual string WebsiteUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |