Class: Google::Apis::AdexchangebuyerV1_4::DealTerms
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::DealTerms
- 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
-
#branding_type ⇒ String
Visibility of the URL in bid requests.
-
#cross_listed_external_deal_id_type ⇒ String
Indicates that this ExternalDealId exists under at least two different AdxInventoryDeals.
-
#description ⇒ String
Description for the proposed terms of the deal.
-
#estimated_gross_spend ⇒ Google::Apis::AdexchangebuyerV1_4::Price
Non-binding estimate of the estimated gross spend for this deal Can be set by buyer or seller.
-
#estimated_impressions_per_day ⇒ Fixnum
Non-binding estimate of the impressions served per day Can be set by buyer or seller.
-
#guaranteed_fixed_price_terms ⇒ Google::Apis::AdexchangebuyerV1_4::DealTermsGuaranteedFixedPriceTerms
The terms for guaranteed fixed price deals.
-
#non_guaranteed_auction_terms ⇒ Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedAuctionTerms
The terms for non-guaranteed auction deals.
-
#non_guaranteed_fixed_price_terms ⇒ Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedFixedPriceTerms
The terms for non-guaranteed fixed price deals.
-
#rubicon_non_guaranteed_terms ⇒ Google::Apis::AdexchangebuyerV1_4::DealTermsRubiconNonGuaranteedTerms
The terms for rubicon non-guaranteed deals.
-
#seller_time_zone ⇒ String
For deals with Cost Per Day billing, defines the timezone used to mark the boundaries of a day (buyer-readonly) Corresponds to the JSON property
sellerTimeZone
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DealTerms
constructor
A new instance of DealTerms.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DealTerms
Returns a new instance of DealTerms.
1397 1398 1399 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1397 def initialize(**args) update!(**args) end |
Instance Attribute Details
#branding_type ⇒ String
Visibility of the URL in bid requests.
Corresponds to the JSON property brandingType
1345 1346 1347 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1345 def branding_type @branding_type end |
#cross_listed_external_deal_id_type ⇒ String
Indicates that this ExternalDealId exists under at least two different
AdxInventoryDeals. Currently, the only case that the same ExternalDealId will
exist is programmatic cross sell case.
Corresponds to the JSON property crossListedExternalDealIdType
1352 1353 1354 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1352 def cross_listed_external_deal_id_type @cross_listed_external_deal_id_type end |
#description ⇒ String
Description for the proposed terms of the deal.
Corresponds to the JSON property description
1357 1358 1359 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1357 def description @description end |
#estimated_gross_spend ⇒ Google::Apis::AdexchangebuyerV1_4::Price
Non-binding estimate of the estimated gross spend for this deal Can be set by
buyer or seller.
Corresponds to the JSON property estimatedGrossSpend
1363 1364 1365 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1363 def estimated_gross_spend @estimated_gross_spend end |
#estimated_impressions_per_day ⇒ Fixnum
Non-binding estimate of the impressions served per day Can be set by buyer or
seller.
Corresponds to the JSON property estimatedImpressionsPerDay
1369 1370 1371 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1369 def estimated_impressions_per_day @estimated_impressions_per_day end |
#guaranteed_fixed_price_terms ⇒ Google::Apis::AdexchangebuyerV1_4::DealTermsGuaranteedFixedPriceTerms
The terms for guaranteed fixed price deals.
Corresponds to the JSON property guaranteedFixedPriceTerms
1374 1375 1376 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1374 def guaranteed_fixed_price_terms @guaranteed_fixed_price_terms end |
#non_guaranteed_auction_terms ⇒ Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedAuctionTerms
The terms for non-guaranteed auction deals.
Corresponds to the JSON property nonGuaranteedAuctionTerms
1379 1380 1381 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1379 def non_guaranteed_auction_terms @non_guaranteed_auction_terms end |
#non_guaranteed_fixed_price_terms ⇒ Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedFixedPriceTerms
The terms for non-guaranteed fixed price deals.
Corresponds to the JSON property nonGuaranteedFixedPriceTerms
1384 1385 1386 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1384 def non_guaranteed_fixed_price_terms @non_guaranteed_fixed_price_terms end |
#rubicon_non_guaranteed_terms ⇒ Google::Apis::AdexchangebuyerV1_4::DealTermsRubiconNonGuaranteedTerms
The terms for rubicon non-guaranteed deals.
Corresponds to the JSON property rubiconNonGuaranteedTerms
1389 1390 1391 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1389 def rubicon_non_guaranteed_terms @rubicon_non_guaranteed_terms end |
#seller_time_zone ⇒ String
For deals with Cost Per Day billing, defines the timezone used to mark the
boundaries of a day (buyer-readonly)
Corresponds to the JSON property sellerTimeZone
1395 1396 1397 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1395 def seller_time_zone @seller_time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1402 def update!(**args) @branding_type = args[:branding_type] if args.key?(:branding_type) @cross_listed_external_deal_id_type = args[:cross_listed_external_deal_id_type] if args.key?(:cross_listed_external_deal_id_type) @description = args[:description] if args.key?(:description) @estimated_gross_spend = args[:estimated_gross_spend] if args.key?(:estimated_gross_spend) @estimated_impressions_per_day = args[:estimated_impressions_per_day] if args.key?(:estimated_impressions_per_day) @guaranteed_fixed_price_terms = args[:guaranteed_fixed_price_terms] if args.key?(:guaranteed_fixed_price_terms) @non_guaranteed_auction_terms = args[:non_guaranteed_auction_terms] if args.key?(:non_guaranteed_auction_terms) @non_guaranteed_fixed_price_terms = args[:non_guaranteed_fixed_price_terms] if args.key?(:non_guaranteed_fixed_price_terms) @rubicon_non_guaranteed_terms = args[:rubicon_non_guaranteed_terms] if args.key?(:rubicon_non_guaranteed_terms) @seller_time_zone = args[:seller_time_zone] if args.key?(:seller_time_zone) end |