Class: Google::Apis::DfareportingV2_3::TargetWindow

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

Overview

Target Window.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TargetWindow

Returns a new instance of TargetWindow.


10222
10223
10224
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10222

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

Instance Attribute Details

#custom_htmlString

User-entered value. Corresponds to the JSON property customHtml

Returns:

  • (String)

10214
10215
10216
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10214

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)

10220
10221
10222
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10220

def target_window_option
  @target_window_option
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


10227
10228
10229
10230
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10227

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