Class: Google::Apis::DisplayvideoV2::NonSkippableAd
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::NonSkippableAd
- 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 non-skippable ad.
Instance Attribute Summary collapse
-
#common_in_stream_attribute ⇒ Google::Apis::DisplayvideoV2::CommonInStreamAttribute
Common attributes for in-stream, non-skippable and bumper ads.
-
#custom_parameters ⇒ Hash<String,String>
The custom parameters to pass custom values to tracking URL template.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NonSkippableAd
constructor
A new instance of NonSkippableAd.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NonSkippableAd
Returns a new instance of NonSkippableAd.
9243 9244 9245 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9243 def initialize(**args) update!(**args) end |
Instance Attribute Details
#common_in_stream_attribute ⇒ Google::Apis::DisplayvideoV2::CommonInStreamAttribute
Common attributes for in-stream, non-skippable and bumper ads.
Corresponds to the JSON property commonInStreamAttribute
9236 9237 9238 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9236 def common_in_stream_attribute @common_in_stream_attribute end |
#custom_parameters ⇒ Hash<String,String>
The custom parameters to pass custom values to tracking URL template.
Corresponds to the JSON property customParameters
9241 9242 9243 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9241 def custom_parameters @custom_parameters end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9248 9249 9250 9251 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9248 def update!(**args) @common_in_stream_attribute = args[:common_in_stream_attribute] if args.key?(:common_in_stream_attribute) @custom_parameters = args[:custom_parameters] if args.key?(:custom_parameters) end |