Class: Google::Apis::DisplayvideoV4::VideoDiscoveryAd
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV4::VideoDiscoveryAd
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v4/classes.rb,
lib/google/apis/displayvideo_v4/representations.rb,
lib/google/apis/displayvideo_v4/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::DisplayvideoV4::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.
14332 14333 14334 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14332 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description1 ⇒ String
First text line for the ad.
Corresponds to the JSON property description1
14310 14311 14312 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14310 def description1 @description1 end |
#description2 ⇒ String
Second text line for the ad.
Corresponds to the JSON property description2
14315 14316 14317 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14315 def description2 @description2 end |
#headline ⇒ String
The headline of ad.
Corresponds to the JSON property headline
14320 14321 14322 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14320 def headline @headline end |
#thumbnail ⇒ String
Thumbnail image used in the ad.
Corresponds to the JSON property thumbnail
14325 14326 14327 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14325 def thumbnail @thumbnail end |
#video ⇒ Google::Apis::DisplayvideoV4::YoutubeVideoDetails
Details of a YouTube video.
Corresponds to the JSON property video
14330 14331 14332 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14330 def video @video end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14337 14338 14339 14340 14341 14342 14343 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14337 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 |