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.



12362
12363
12364
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12362

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

Instance Attribute Details

#custom_htmlString

User-entered value. Corresponds to the JSON property customHtml

Returns:

  • (String)


12354
12355
12356
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12354

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)


12360
12361
12362
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12360

def target_window_option
  @target_window_option
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12367
12368
12369
12370
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12367

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