google_api_you_tube v0.23.2 GoogleApi.YouTube.V3.Model.PromotedItemId View Source
Describes a single promoted item id. It is a union of various possible types.
Attributes
-
recentlyUploadedBy
(type:String.t
, default:nil
) - 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. -
type
(type:String.t
, default:nil
) - Describes the type of the promoted item. -
videoId
(type:String.t
, default:nil
) - 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. -
websiteUrl
(type:String.t
, default:nil
) - 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.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.