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

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

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.