Class: Google::Apis::DisplayvideoV2::CommonInStreamAttribute
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::CommonInStreamAttribute
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb
Overview
The common attributes for InStreamAd, NonSkippableAd and BumperAd.
Instance Attribute Summary collapse
-
#action_button_label ⇒ String
The text on the call-to-action button.
-
#action_headline ⇒ String
The headline of the call-to-action banner.
-
#companion_banner ⇒ Google::Apis::DisplayvideoV2::ImageAsset
The meta data of an image asset.
-
#display_url ⇒ String
The webpage address that appears with the ad.
-
#final_url ⇒ String
The URL address of the webpage that people reach after they click the ad.
-
#tracking_url ⇒ String
The URL address which is loaded in background for tracking purpose.
-
#video ⇒ Google::Apis::DisplayvideoV2::YoutubeVideoDetails
Details of the YouTube video.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CommonInStreamAttribute
constructor
A new instance of CommonInStreamAttribute.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CommonInStreamAttribute
Returns a new instance of CommonInStreamAttribute.
3051 3052 3053 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3051 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_button_label ⇒ String
The text on the call-to-action button.
Corresponds to the JSON property actionButtonLabel
3019 3020 3021 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3019 def @action_button_label end |
#action_headline ⇒ String
The headline of the call-to-action banner.
Corresponds to the JSON property actionHeadline
3024 3025 3026 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3024 def action_headline @action_headline end |
#companion_banner ⇒ Google::Apis::DisplayvideoV2::ImageAsset
The meta data of an image asset.
Corresponds to the JSON property companionBanner
3029 3030 3031 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3029 def @companion_banner end |
#display_url ⇒ String
The webpage address that appears with the ad.
Corresponds to the JSON property displayUrl
3034 3035 3036 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3034 def display_url @display_url end |
#final_url ⇒ String
The URL address of the webpage that people reach after they click the ad.
Corresponds to the JSON property finalUrl
3039 3040 3041 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3039 def final_url @final_url end |
#tracking_url ⇒ String
The URL address which is loaded in background for tracking purpose.
Corresponds to the JSON property trackingUrl
3044 3045 3046 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3044 def tracking_url @tracking_url end |
#video ⇒ Google::Apis::DisplayvideoV2::YoutubeVideoDetails
Details of the YouTube video.
Corresponds to the JSON property video
3049 3050 3051 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3049 def video @video end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3056 3057 3058 3059 3060 3061 3062 3063 3064 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3056 def update!(**args) @action_button_label = args[:action_button_label] if args.key?(:action_button_label) @action_headline = args[:action_headline] if args.key?(:action_headline) @companion_banner = args[:companion_banner] if args.key?(:companion_banner) @display_url = args[:display_url] if args.key?(:display_url) @final_url = args[:final_url] if args.key?(:final_url) @tracking_url = args[:tracking_url] if args.key?(:tracking_url) @video = args[:video] if args.key?(:video) end |