View Source GoogleApi.AdExchangeBuyer.V14.Model.PricePerBuyer (google_api_ad_exchange_buyer v0.41.0)

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

  • auctionTier (type: String.t, default: nil) - Optional access type for this buyer.
  • billedBuyer (type: GoogleApi.AdExchangeBuyer.V14.Model.Buyer.t, default: nil) - Reference to the buyer that will get billed.
  • buyer (type: GoogleApi.AdExchangeBuyer.V14.Model.Buyer.t, default: nil) - 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).
  • price (type: GoogleApi.AdExchangeBuyer.V14.Model.Price.t, default: nil) - The specified price

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AdExchangeBuyer.V14.Model.PricePerBuyer{
  auctionTier: String.t() | nil,
  billedBuyer: GoogleApi.AdExchangeBuyer.V14.Model.Buyer.t() | nil,
  buyer: GoogleApi.AdExchangeBuyer.V14.Model.Buyer.t() | nil,
  price: GoogleApi.AdExchangeBuyer.V14.Model.Price.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.