class Google::Apis::Adexchangebuyer2V2beta1::DealTerms

The deal terms specify the details of a Product/deal. They specify things like price per buyer, the type of pricing model (e.g., fixed price, auction) and expected impressions from the publisher.

Attributes

branding_type[RW]

Visibility of the URL in bid requests. (default: BRANDED) Corresponds to the JSON property `brandingType` @return [String]

description[RW]

Publisher provided description for the terms. Corresponds to the JSON property `description` @return [String]

estimated_gross_spend[RW]

Represents a price and a pricing type for a product / deal. Corresponds to the JSON property `estimatedGrossSpend` @return [Google::Apis::Adexchangebuyer2V2beta1::Price]

estimated_impressions_per_day[RW]

Non-binding estimate of the impressions served per day. Can be set by buyer or seller. Corresponds to the JSON property `estimatedImpressionsPerDay` @return [Fixnum]

guaranteed_fixed_price_terms[RW]

Terms for Programmatic Guaranteed Deals. Corresponds to the JSON property `guaranteedFixedPriceTerms` @return [Google::Apis::Adexchangebuyer2V2beta1::GuaranteedFixedPriceTerms]

non_guaranteed_auction_terms[RW]

Terms for Private Auctions. Note that Private Auctions can be created only by the seller, but they can be returned in a get or list request. Corresponds to the JSON property `nonGuaranteedAuctionTerms` @return [Google::Apis::Adexchangebuyer2V2beta1::NonGuaranteedAuctionTerms]

non_guaranteed_fixed_price_terms[RW]

Terms for Preferred Deals. Corresponds to the JSON property `nonGuaranteedFixedPriceTerms` @return [Google::Apis::Adexchangebuyer2V2beta1::NonGuaranteedFixedPriceTerms]

seller_time_zone[RW]

The time zone name. For deals with Cost Per Day billing, defines the time zone used to mark the boundaries of a day. It should be an IANA TZ name, such as “ America/Los_Angeles”. For more information, see en.wikipedia.org/wiki/ List_of_tz_database_time_zones. Corresponds to the JSON property `sellerTimeZone` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 1459
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 1464
def update!(**args)
  @branding_type = args[:branding_type] if args.key?(:branding_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)
  @seller_time_zone = args[:seller_time_zone] if args.key?(:seller_time_zone)
end