google_youtube_api_v3/youtube/activity_content_details_promoted_item

DO NOT CHANGE, THIS IS AN AUTO GENERATED FILE FROM generate.gleam

Types

Details about a resource which is being promoted.

pub type ActivityContentDetailsPromotedItem {
  ActivityContentDetailsPromotedItem(
    ad_tag: option.Option(String),
    click_tracking_url: option.Option(String),
    creative_view_url: option.Option(String),
    cta_type: option.Option(CtaType),
    custom_cta_button_text: option.Option(String),
    description_text: option.Option(String),
    destination_url: option.Option(String),
    forecasting_url: option.Option(List(String)),
    impression_url: option.Option(List(String)),
    video_id: option.Option(String),
  )
}

Constructors

The type of call-to-action, a message to the user indicating action that can be taken.

pub type CtaType {
  CtaTypeCtaTypeUnspecified
  CtaTypeVisitAdvertiserSite
}

Constructors

  • CtaTypeCtaTypeUnspecified
  • CtaTypeVisitAdvertiserSite

Values

pub fn cta_type_decoder() -> decode.Decoder(CtaType)
pub fn cta_type_to_string(value: CtaType) -> String
✨ Search Document