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

Details about a resource which is being promoted.

Attributes

  • adTag (String.t): The URL the client should fetch to request a promoted item. Defaults to: null.
  • clickTrackingUrl (String.t): The URL the client should ping to indicate that the user clicked through on this promoted item. Defaults to: null.
  • creativeViewUrl (String.t): The URL the client should ping to indicate that the user was shown this promoted item. Defaults to: null.
  • ctaType (String.t): The type of call-to-action, a message to the user indicating action that can be taken. Defaults to: null.

    • Enum - one of [unspecified, visitAdvertiserSite]
  • customCtaButtonText (String.t): The custom call-to-action button text. If specified, it will override the default button text for the cta_type. Defaults to: null.
  • descriptionText (String.t): The text description to accompany the promoted item. Defaults to: null.
  • destinationUrl (String.t): The URL the client should direct the user to, if the user chooses to visit the advertiser's website. Defaults to: null.
  • forecastingUrl ([String.t]): 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. Defaults to: null.
  • impressionUrl ([String.t]): The list of impression URLs. The client should ping all of these URLs to indicate that the user was shown this promoted item. Defaults to: null.
  • videoId (String.t): The ID that YouTube uses to uniquely identify the promoted video. 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.ActivityContentDetailsPromotedItem{
  adTag: any(),
  clickTrackingUrl: any(),
  creativeViewUrl: any(),
  ctaType: any(),
  customCtaButtonText: any(),
  descriptionText: any(),
  destinationUrl: any(),
  forecastingUrl: [any()],
  impressionUrl: [any()],
  videoId: any()
}

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.