GoogleApi.DisplayVideo.V3.Model.CommonInStreamAttribute (google_api_display_video v0.39.0)

View Source

Common attributes for in-stream, non-skippable and bumper ads.

Attributes

  • actionButtonLabel (type: String.t, default: nil) - The text on the call-to-action button.
  • actionHeadline (type: String.t, default: nil) - The headline of the call-to-action banner.
  • companionBanner (type: GoogleApi.DisplayVideo.V3.Model.ImageAsset.t, default: nil) - The image which shows next to the video ad.
  • displayUrl (type: String.t, default: nil) - The webpage address that appears with the ad.
  • finalUrl (type: String.t, default: nil) - The URL address of the webpage that people reach after they click the ad.
  • trackingUrl (type: String.t, default: nil) - The URL address loaded in the background for tracking purposes.
  • video (type: GoogleApi.DisplayVideo.V3.Model.YoutubeVideoDetails.t, default: nil) - The YouTube video of the ad.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DisplayVideo.V3.Model.CommonInStreamAttribute{
  actionButtonLabel: String.t() | nil,
  actionHeadline: String.t() | nil,
  companionBanner: GoogleApi.DisplayVideo.V3.Model.ImageAsset.t() | nil,
  displayUrl: String.t() | nil,
  finalUrl: String.t() | nil,
  trackingUrl: 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.