class Google::Apis::AdexchangebuyerV1_4::PricePerBuyer
Used to specify pricing rules for buyers. Each PricePerBuyer
in a product can become [0,1] deals. To check if there is a PricePerBuyer
for a particular buyer we look for the most specific matching rule - we first look for a rule matching the buyer and otherwise look for a matching rule where no buyer is set.
Attributes
Optional access type for this buyer. Corresponds to the JSON property `auctionTier` @return [String]
Reference to the buyer that will get billed. Corresponds to the JSON property `billedBuyer` @return [Google::Apis::AdexchangebuyerV1_4::Buyer]
The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer). Corresponds to the JSON property `buyer` @return [Google::Apis::AdexchangebuyerV1_4::Buyer]
The specified price Corresponds to the JSON property `price` @return [Google::Apis::AdexchangebuyerV1_4::Price]
Public Class Methods
# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 2852 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 2857 def update!(**args) @auction_tier = args[:auction_tier] if args.key?(:auction_tier) @billed_buyer = args[:billed_buyer] if args.key?(:billed_buyer) @buyer = args[:buyer] if args.key?(:buyer) @price = args[:price] if args.key?(:price) end