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

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
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

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.