GoogleApi.YouTube.V3.Model.ActivityContentDetailsPromotedItem (google_api_you_tube v0.54.0)

View Source

Details about a resource which is being promoted.

Attributes

  • adTag (type: String.t, default: nil) - The URL the client should fetch to request a promoted item.
  • clickTrackingUrl (type: String.t, default: nil) - The URL the client should ping to indicate that the user clicked through on this promoted item.
  • creativeViewUrl (type: String.t, default: nil) - The URL the client should ping to indicate that the user was shown this promoted item.
  • ctaType (type: String.t, default: nil) - The type of call-to-action, a message to the user indicating action that can be taken.
  • customCtaButtonText (type: String.t, default: nil) - The custom call-to-action button text. If specified, it will override the default button text for the cta_type.
  • descriptionText (type: String.t, default: nil) - The text description to accompany the promoted item.
  • destinationUrl (type: String.t, default: nil) - The URL the client should direct the user to, if the user chooses to visit the advertiser's website.
  • forecastingUrl (type: list(String.t), default: nil) - The list of forecasting URLs. The client should ping all of these URLs when a promoted item is not available, to indicate that a promoted item could have been shown.
  • impressionUrl (type: list(String.t), default: nil) - The list of impression URLs. The client should ping all of these URLs to indicate that the user was shown this promoted item.
  • videoId (type: String.t, default: nil) - The ID that YouTube uses to uniquely identify the promoted video.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.YouTube.V3.Model.ActivityContentDetailsPromotedItem{
  adTag: String.t() | nil,
  clickTrackingUrl: String.t() | nil,
  creativeViewUrl: String.t() | nil,
  ctaType: String.t() | nil,
  customCtaButtonText: String.t() | nil,
  descriptionText: String.t() | nil,
  destinationUrl: String.t() | nil,
  forecastingUrl: [String.t()] | nil,
  impressionUrl: [String.t()] | nil,
  videoId: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.