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

Describes a single promoted item.

Attributes

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

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: any(),
  id: GoogleApi.YouTube.V3.Model.PromotedItemId.t(),
  promotedByContentOwner: any(),
  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.