Class: Google::Apis::DisplayvideoV2::VideoDiscoveryAd
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::VideoDiscoveryAd
- 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
Details for a video discovery ad.
Instance Attribute Summary collapse
-
#description1 ⇒ String
First text line for the ad.
-
#description2 ⇒ String
Second text line for the ad.
-
#headline ⇒ String
The headline of ad.
-
#thumbnail ⇒ String
Thumbnail image used in the ad.
-
#video ⇒ Google::Apis::DisplayvideoV2::YoutubeVideoDetails
Details of a YouTube video.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VideoDiscoveryAd
constructor
A new instance of VideoDiscoveryAd.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VideoDiscoveryAd
Returns a new instance of VideoDiscoveryAd.
11791 11792 11793 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11791 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description1 ⇒ String
First text line for the ad.
Corresponds to the JSON property description1
11769 11770 11771 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11769 def description1 @description1 end |
#description2 ⇒ String
Second text line for the ad.
Corresponds to the JSON property description2
11774 11775 11776 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11774 def description2 @description2 end |
#headline ⇒ String
The headline of ad.
Corresponds to the JSON property headline
11779 11780 11781 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11779 def headline @headline end |
#thumbnail ⇒ String
Thumbnail image used in the ad.
Corresponds to the JSON property thumbnail
11784 11785 11786 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11784 def thumbnail @thumbnail end |
#video ⇒ Google::Apis::DisplayvideoV2::YoutubeVideoDetails
Details of a YouTube video.
Corresponds to the JSON property video
11789 11790 11791 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11789 def video @video end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11796 11797 11798 11799 11800 11801 11802 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11796 def update!(**args) @description1 = args[:description1] if args.key?(:description1) @description2 = args[:description2] if args.key?(:description2) @headline = args[:headline] if args.key?(:headline) @thumbnail = args[:thumbnail] if args.key?(:thumbnail) @video = args[:video] if args.key?(:video) end |