Class: Google::Apis::DisplayvideoV3::VideoDiscoveryAd
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::VideoDiscoveryAd
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/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::DisplayvideoV3::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.
12391 12392 12393 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12391 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description1 ⇒ String
First text line for the ad.
Corresponds to the JSON property description1
12369 12370 12371 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12369 def description1 @description1 end |
#description2 ⇒ String
Second text line for the ad.
Corresponds to the JSON property description2
12374 12375 12376 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12374 def description2 @description2 end |
#headline ⇒ String
The headline of ad.
Corresponds to the JSON property headline
12379 12380 12381 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12379 def headline @headline end |
#thumbnail ⇒ String
Thumbnail image used in the ad.
Corresponds to the JSON property thumbnail
12384 12385 12386 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12384 def thumbnail @thumbnail end |
#video ⇒ Google::Apis::DisplayvideoV3::YoutubeVideoDetails
Details of a YouTube video.
Corresponds to the JSON property video
12389 12390 12391 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12389 def video @video end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12396 12397 12398 12399 12400 12401 12402 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12396 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 |