Class: Google::Apis::AdexchangebuyerV1_4::DealTermsGuaranteedFixedPriceTerms
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::DealTermsGuaranteedFixedPriceTerms
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_4/classes.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb
Instance Attribute Summary collapse
-
#billing_info ⇒ Google::Apis::AdexchangebuyerV1_4::DealTermsGuaranteedFixedPriceTermsBillingInfo
External billing info for this Deal.
-
#fixed_prices ⇒ Array<Google::Apis::AdexchangebuyerV1_4::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
Count of minimum daily looks for a CPD deal.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DealTermsGuaranteedFixedPriceTerms
constructor
A new instance of DealTermsGuaranteedFixedPriceTerms.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DealTermsGuaranteedFixedPriceTerms
Returns a new instance of DealTermsGuaranteedFixedPriceTerms.
1449 1450 1451 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1449 def initialize(**args) update!(**args) end |
Instance Attribute Details
#billing_info ⇒ Google::Apis::AdexchangebuyerV1_4::DealTermsGuaranteedFixedPriceTermsBillingInfo
External billing info for this Deal. This field is relevant when external
billing info such as price has a different currency code than DFP/AdX.
Corresponds to the JSON property billingInfo
1424 1425 1426 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1424 def billing_info @billing_info end |
#fixed_prices ⇒ Array<Google::Apis::AdexchangebuyerV1_4::PricePerBuyer>
Fixed price for the specified buyer.
Corresponds to the JSON property fixedPrices
1429 1430 1431 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1429 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
1435 1436 1437 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1435 def guaranteed_impressions @guaranteed_impressions end |
#guaranteed_looks ⇒ Fixnum
Count of guaranteed looks. Required for deal, optional for product. For CPD
deals, buyer changes to guaranteed_looks will be ignored.
Corresponds to the JSON property guaranteedLooks
1441 1442 1443 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1441 def guaranteed_looks @guaranteed_looks end |
#minimum_daily_looks ⇒ Fixnum
Count of minimum daily looks for a CPD deal. For CPD deals, buyer should
negotiate on this field instead of guaranteed_looks.
Corresponds to the JSON property minimumDailyLooks
1447 1448 1449 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1447 def minimum_daily_looks @minimum_daily_looks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1454 1455 1456 1457 1458 1459 1460 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1454 def update!(**args) @billing_info = args[:billing_info] if args.key?(:billing_info) @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 |