Class: Google::Apis::DfareportingV2_1::PopupWindowProperties

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

Popup Window Properties.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PopupWindowProperties

Returns a new instance of PopupWindowProperties.


7972
7973
7974
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7972

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

Instance Attribute Details

#dimensionGoogle::Apis::DfareportingV2_1::Size

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


7925
7926
7927
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7925

def dimension
  @dimension
end

#offsetGoogle::Apis::DfareportingV2_1::OffsetPosition

Offset Position. Corresponds to the JSON property offset


7930
7931
7932
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7930

def offset
  @offset
end

#position_typeString

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

Returns:

  • (String)

7935
7936
7937
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7935

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)

7940
7941
7942
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7940

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)

7946
7947
7948
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7946

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)

7952
7953
7954
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7952

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)

7958
7959
7960
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7958

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)

7964
7965
7966
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7964

def show_tool_bar
  @show_tool_bar
end

#titleString

Title of popup window. Corresponds to the JSON property title

Returns:

  • (String)

7970
7971
7972
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7970

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7977

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