Class: Google::Apis::Adexchangebuyer2V2beta1::NonGuaranteedAuctionTerms

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

Overview

Terms for Private Auctions. Note that Private Auctions can be created only by the seller, but they can be returned in a get or list request.

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

Returns a new instance of NonGuaranteedAuctionTerms.


2849
2850
2851
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2849

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

Instance Attribute Details

#auto_optimize_private_auctionBoolean Also known as: auto_optimize_private_auction?

True if open auction buyers are allowed to compete with invited buyers in this private auction. Corresponds to the JSON property autoOptimizePrivateAuction

Returns:

  • (Boolean)

2841
2842
2843
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2841

def auto_optimize_private_auction
  @auto_optimize_private_auction
end

#reserve_prices_per_buyerArray<Google::Apis::Adexchangebuyer2V2beta1::PricePerBuyer>

Reserve price for the specified buyer. Corresponds to the JSON property reservePricesPerBuyer


2847
2848
2849
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2847

def reserve_prices_per_buyer
  @reserve_prices_per_buyer
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2854
2855
2856
2857
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2854

def update!(**args)
  @auto_optimize_private_auction = args[:auto_optimize_private_auction] if args.key?(:auto_optimize_private_auction)
  @reserve_prices_per_buyer = args[:reserve_prices_per_buyer] if args.key?(:reserve_prices_per_buyer)
end