Class: Google::Apis::DisplayvideoV2::BumperAd

Inherits:
Object
  • Object
show all
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 bumper ad.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BumperAd

Returns a new instance of BumperAd.



2365
2366
2367
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2365

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#common_in_stream_attributeGoogle::Apis::DisplayvideoV2::CommonInStreamAttribute

Common attributes for in-stream, non-skippable and bumper ads. Corresponds to the JSON property commonInStreamAttribute



2363
2364
2365
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2363

def common_in_stream_attribute
  @common_in_stream_attribute
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2370
2371
2372
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2370

def update!(**args)
  @common_in_stream_attribute = args[:common_in_stream_attribute] if args.key?(:common_in_stream_attribute)
end