google_api_ad_exchange_buyer v0.9.0 GoogleApi.AdExchangeBuyer.V2beta1.Model.PricePerBuyer View Source

Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.

Attributes

  • advertiserIds ([String.t]): The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price. Defaults to: null.
  • buyer (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). Defaults to: null.
  • price (Price): The specified price. Defaults to: null.

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.V2beta1.Model.PricePerBuyer{
  advertiserIds: [any()],
  buyer: GoogleApi.AdExchangeBuyer.V2beta1.Model.Buyer.t(),
  price: GoogleApi.AdExchangeBuyer.V2beta1.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.