Class: Google::Apis::DfareportingV2_1::TargetWindow

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb

Overview

Target Window.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TargetWindow

Returns a new instance of TargetWindow.


10179
10180
10181
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10179

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

Instance Attribute Details

#custom_htmlString

User-entered value. Corresponds to the JSON property customHtml

Returns:

  • (String)

10171
10172
10173
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10171

def custom_html
  @custom_html
end

#target_window_optionString

Type of browser window for which the backup image of the flash creative can be displayed. Corresponds to the JSON property targetWindowOption

Returns:

  • (String)

10177
10178
10179
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10177

def target_window_option
  @target_window_option
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


10184
10185
10186
10187
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10184

def update!(**args)
  @custom_html = args[:custom_html] unless args[:custom_html].nil?
  @target_window_option = args[:target_window_option] unless args[:target_window_option].nil?
end