Class: Google::Apis::DfareportingV4::TargetWindow

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb

Overview

Target Window.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TargetWindow

Returns a new instance of TargetWindow.



12175
12176
12177
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12175

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

Instance Attribute Details

#custom_htmlString

User-entered value. Corresponds to the JSON property customHtml

Returns:

  • (String)


12167
12168
12169
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12167

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)


12173
12174
12175
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12173

def target_window_option
  @target_window_option
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12180
12181
12182
12183
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12180

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