Class: Google::Apis::DfareportingV4::PopupWindowProperties

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

Popup Window Properties.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PopupWindowProperties

Returns a new instance of PopupWindowProperties.



9526
9527
9528
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9526

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

Instance Attribute Details

#dimensionGoogle::Apis::DfareportingV4::Size

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



9479
9480
9481
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9479

def dimension
  @dimension
end

#offsetGoogle::Apis::DfareportingV4::OffsetPosition

Offset Position. Corresponds to the JSON property offset



9484
9485
9486
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9484

def offset
  @offset
end

#position_typeString

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

Returns:

  • (String)


9489
9490
9491
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9489

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)


9494
9495
9496
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9494

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)


9500
9501
9502
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9500

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)


9506
9507
9508
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9506

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)


9512
9513
9514
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9512

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)


9518
9519
9520
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9518

def show_tool_bar
  @show_tool_bar
end

#titleString

Title of popup window. Corresponds to the JSON property title

Returns:

  • (String)


9524
9525
9526
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9524

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9531

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