Class: Google::Apis::Adexchangebuyer2V2beta1::GuaranteedFixedPriceTerms
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::GuaranteedFixedPriceTerms
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb
Overview
Terms for Programmatic Guaranteed Deals.
Instance Attribute Summary collapse
-
#fixed_prices ⇒ Array<Google::Apis::Adexchangebuyer2V2beta1::PricePerBuyer>
Fixed price for the specified buyer.
-
#guaranteed_impressions ⇒ Fixnum
Guaranteed impressions as a percentage.
-
#guaranteed_looks ⇒ Fixnum
Count of guaranteed looks.
-
#minimum_daily_looks ⇒ Fixnum
Daily minimum looks for CPD deal types.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GuaranteedFixedPriceTerms
constructor
A new instance of GuaranteedFixedPriceTerms.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GuaranteedFixedPriceTerms
Returns a new instance of GuaranteedFixedPriceTerms.
1851 1852 1853 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1851 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fixed_prices ⇒ Array<Google::Apis::Adexchangebuyer2V2beta1::PricePerBuyer>
Fixed price for the specified buyer.
Corresponds to the JSON property fixedPrices
1833 1834 1835 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1833 def fixed_prices @fixed_prices end |
#guaranteed_impressions ⇒ Fixnum
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
1839 1840 1841 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1839 def guaranteed_impressions @guaranteed_impressions end |
#guaranteed_looks ⇒ Fixnum
Count of guaranteed looks. Required for deal, optional for product.
Corresponds to the JSON property guaranteedLooks
1844 1845 1846 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1844 def guaranteed_looks @guaranteed_looks end |
#minimum_daily_looks ⇒ Fixnum
Daily minimum looks for CPD deal types.
Corresponds to the JSON property minimumDailyLooks
1849 1850 1851 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1849 def minimum_daily_looks @minimum_daily_looks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1856 1857 1858 1859 1860 1861 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1856 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) @minimum_daily_looks = args[:minimum_daily_looks] if args.key?(:minimum_daily_looks) end |