Class: Google::Apis::DisplayvideoV3::InStreamAd

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InStreamAd

Returns a new instance of InStreamAd.



7132
7133
7134
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7132

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

Instance Attribute Details

#common_in_stream_attributeGoogle::Apis::DisplayvideoV3::CommonInStreamAttribute

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



7125
7126
7127
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7125

def common_in_stream_attribute
  @common_in_stream_attribute
end

#custom_parametersHash<String,String>

The custom parameters to pass custom values to tracking URL template. Corresponds to the JSON property customParameters

Returns:

  • (Hash<String,String>)


7130
7131
7132
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7130

def custom_parameters
  @custom_parameters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7137
7138
7139
7140
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7137

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