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



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

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)


2925
2926
2927
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2925

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



2931
2932
2933
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2931

def reserve_prices_per_buyer
  @reserve_prices_per_buyer
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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