Class: Google::Apis::DfareportingV3_0::PopupWindowProperties

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

Overview

Popup Window Properties.

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) ⇒ PopupWindowProperties

Returns a new instance of PopupWindowProperties



8908
8909
8910
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 8908

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

Instance Attribute Details

#dimensionGoogle::Apis::DfareportingV3_0::Size

Represents the dimensions of ads, placements, creatives, or creative assets. Corresponds to the JSON property dimension



8861
8862
8863
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 8861

def dimension
  @dimension
end

#offsetGoogle::Apis::DfareportingV3_0::OffsetPosition

Offset Position. Corresponds to the JSON property offset



8866
8867
8868
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 8866

def offset
  @offset
end

#position_typeString

Popup window position either centered or at specific coordinate. Corresponds to the JSON property positionType

Returns:

  • (String)


8871
8872
8873
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 8871

def position_type
  @position_type
end

#show_address_barBoolean Also known as: show_address_bar?

Whether to display the browser address bar. Corresponds to the JSON property showAddressBar

Returns:

  • (Boolean)


8876
8877
8878
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 8876

def show_address_bar
  @show_address_bar
end

#show_menu_barBoolean Also known as: show_menu_bar?

Whether to display the browser menu bar. Corresponds to the JSON property showMenuBar

Returns:

  • (Boolean)


8882
8883
8884
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 8882

def show_menu_bar
  @show_menu_bar
end

#show_scroll_barBoolean Also known as: show_scroll_bar?

Whether to display the browser scroll bar. Corresponds to the JSON property showScrollBar

Returns:

  • (Boolean)


8888
8889
8890
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 8888

def show_scroll_bar
  @show_scroll_bar
end

#show_status_barBoolean Also known as: show_status_bar?

Whether to display the browser status bar. Corresponds to the JSON property showStatusBar

Returns:

  • (Boolean)


8894
8895
8896
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 8894

def show_status_bar
  @show_status_bar
end

#show_tool_barBoolean Also known as: show_tool_bar?

Whether to display the browser tool bar. Corresponds to the JSON property showToolBar

Returns:

  • (Boolean)


8900
8901
8902
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 8900

def show_tool_bar
  @show_tool_bar
end

#titleString

Title of popup window. Corresponds to the JSON property title

Returns:

  • (String)


8906
8907
8908
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 8906

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 8913

def update!(**args)
  @dimension = args[:dimension] if args.key?(:dimension)
  @offset = args[:offset] if args.key?(:offset)
  @position_type = args[:position_type] if args.key?(:position_type)
  @show_address_bar = args[:show_address_bar] if args.key?(:show_address_bar)
  @show_menu_bar = args[:show_menu_bar] if args.key?(:show_menu_bar)
  @show_scroll_bar = args[:show_scroll_bar] if args.key?(:show_scroll_bar)
  @show_status_bar = args[:show_status_bar] if args.key?(:show_status_bar)
  @show_tool_bar = args[:show_tool_bar] if args.key?(:show_tool_bar)
  @title = args[:title] if args.key?(:title)
end