View Source GoogleApi.DisplayVideo.V3.Model.VideoDiscoveryAd (google_api_display_video v0.38.3)

Details for a video discovery ad.

Attributes

  • description1 (type: String.t, default: nil) - First text line for the ad.
  • description2 (type: String.t, default: nil) - Second text line for the ad.
  • headline (type: String.t, default: nil) - The headline of ad.
  • thumbnail (type: String.t, default: nil) - Thumbnail image used in the ad.
  • video (type: GoogleApi.DisplayVideo.V3.Model.YoutubeVideoDetails.t, default: nil) - The YouTube video the ad promotes.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DisplayVideo.V3.Model.VideoDiscoveryAd{
  description1: String.t() | nil,
  description2: String.t() | nil,
  headline: String.t() | nil,
  thumbnail: String.t() | nil,
  video: GoogleApi.DisplayVideo.V3.Model.YoutubeVideoDetails.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.