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.



2942
2943
2944
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2942

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)


2934
2935
2936
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2934

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



2940
2941
2942
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2940

def reserve_prices_per_buyer
  @reserve_prices_per_buyer
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2947
2948
2949
2950
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2947

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