class Google::Apis::Adexchangebuyer2V2beta1::GuaranteedFixedPriceTerms

Terms for Programmatic Guaranteed Deals.

Attributes

fixed_prices[RW]

Fixed price for the specified buyer. Corresponds to the JSON property `fixedPrices` @return [Array<Google::Apis::Adexchangebuyer2V2beta1::PricePerBuyer>]

guaranteed_impressions[RW]

Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy. Corresponds to the JSON property `guaranteedImpressions` @return [Fixnum]

guaranteed_looks[RW]

Count of guaranteed looks. Required for deal, optional for product. Corresponds to the JSON property `guaranteedLooks` @return [Fixnum]

impression_cap[RW]

The lifetime impression cap for CPM sponsorship deals. The deal will stop serving when the cap is reached. Corresponds to the JSON property `impressionCap` @return [Fixnum]

minimum_daily_looks[RW]

Daily minimum looks for CPD deal types. Corresponds to the JSON property `minimumDailyLooks` @return [Fixnum]

percent_share_of_voice[RW]

For sponsorship deals, this is the percentage of the seller's eligible impressions that the deal will serve until the cap is reached. Corresponds to the JSON property `percentShareOfVoice` @return [Fixnum]

reservation_type[RW]

The reservation type for a Programmatic Guaranteed deal. This indicates whether the number of impressions is fixed, or a percent of available impressions. If not specified, the default reservation type is STANDARD. Corresponds to the JSON property `reservationType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 1869
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 1874
def update!(**args)
  @fixed_prices = args[:fixed_prices] if args.key?(:fixed_prices)
  @guaranteed_impressions = args[:guaranteed_impressions] if args.key?(:guaranteed_impressions)
  @guaranteed_looks = args[:guaranteed_looks] if args.key?(:guaranteed_looks)
  @impression_cap = args[:impression_cap] if args.key?(:impression_cap)
  @minimum_daily_looks = args[:minimum_daily_looks] if args.key?(:minimum_daily_looks)
  @percent_share_of_voice = args[:percent_share_of_voice] if args.key?(:percent_share_of_voice)
  @reservation_type = args[:reservation_type] if args.key?(:reservation_type)
end