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

Ad details for BumperAd.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BumperAd

Returns a new instance of BumperAd.



2311
2312
2313
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2311

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

Instance Attribute Details

#common_in_stream_attributeGoogle::Apis::DisplayvideoV2::CommonInStreamAttribute

The common attributes for InStreamAd, NonSkippableAd and BumperAd. Corresponds to the JSON property commonInStreamAttribute



2309
2310
2311
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2309

def common_in_stream_attribute
  @common_in_stream_attribute
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2316
2317
2318
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2316

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