google_api_you_tube v0.12.0 GoogleApi.YouTube.V3.Model.PromotedItem View Source

Describes a single promoted item.

Attributes

  • customMessage (type: String.t, default: nil) - A custom message to display for this promotion. This field is currently ignored unless the promoted item is a website.
  • id (type: GoogleApi.YouTube.V3.Model.PromotedItemId.t, default: nil) - Identifies the promoted item.
  • promotedByContentOwner (type: boolean(), default: nil) - 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.
  • timing (type: GoogleApi.YouTube.V3.Model.InvideoTiming.t, default: nil) - The temporal position within the video where the promoted item will be displayed. If present, it overrides the default timing.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.YouTube.V3.Model.PromotedItem{
  customMessage: String.t(),
  id: GoogleApi.YouTube.V3.Model.PromotedItemId.t(),
  promotedByContentOwner: boolean(),
  timing: GoogleApi.YouTube.V3.Model.InvideoTiming.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.