Class: Google::Apis::AdexchangebuyerV1_4::DealTermsGuaranteedFixedPriceTermsBillingInfo
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::DealTermsGuaranteedFixedPriceTermsBillingInfo
- 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
-
#currency_conversion_time_ms ⇒ Fixnum
The timestamp (in ms since epoch) when the original reservation price for the deal was first converted to DFP currency.
-
#dfp_line_item_id ⇒ Fixnum
The DFP line item id associated with this deal.
-
#original_contracted_quantity ⇒ Fixnum
The original contracted quantity (# impressions) for this deal.
-
#price ⇒ Google::Apis::AdexchangebuyerV1_4::Price
The original reservation price for the deal, if the currency code is different from the one used in negotiation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DealTermsGuaranteedFixedPriceTermsBillingInfo
constructor
A new instance of DealTermsGuaranteedFixedPriceTermsBillingInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DealTermsGuaranteedFixedPriceTermsBillingInfo
Returns a new instance of DealTermsGuaranteedFixedPriceTermsBillingInfo
1420 1421 1422 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1420 def initialize(**args) update!(**args) end |
Instance Attribute Details
#currency_conversion_time_ms ⇒ Fixnum
The timestamp (in ms since epoch) when the original reservation price for the
deal was first converted to DFP currency. This is used to convert the
contracted price into advertiser's currency without discrepancy.
Corresponds to the JSON property currencyConversionTimeMs
1398 1399 1400 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1398 def currency_conversion_time_ms @currency_conversion_time_ms end |
#dfp_line_item_id ⇒ Fixnum
The DFP line item id associated with this deal. For features like CPD, buyers
can retrieve the DFP line item for billing reconciliation.
Corresponds to the JSON property dfpLineItemId
1404 1405 1406 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1404 def dfp_line_item_id @dfp_line_item_id end |
#original_contracted_quantity ⇒ Fixnum
The original contracted quantity (# impressions) for this deal. To ensure
delivery, sometimes the publisher will book the deal with a impression buffer,
such that guaranteed_looks is greater than the contracted quantity. However
clients are billed using the original contracted quantity.
Corresponds to the JSON property originalContractedQuantity
1412 1413 1414 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1412 def original_contracted_quantity @original_contracted_quantity end |
#price ⇒ Google::Apis::AdexchangebuyerV1_4::Price
The original reservation price for the deal, if the currency code is different
from the one used in negotiation.
Corresponds to the JSON property price
1418 1419 1420 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1418 def price @price end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1425 1426 1427 1428 1429 1430 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1425 def update!(**args) @currency_conversion_time_ms = args[:currency_conversion_time_ms] if args.key?(:currency_conversion_time_ms) @dfp_line_item_id = args[:dfp_line_item_id] if args.key?(:dfp_line_item_id) @original_contracted_quantity = args[:original_contracted_quantity] if args.key?(:original_contracted_quantity) @price = args[:price] if args.key?(:price) end |