Class: Google::Apis::AdexchangebuyerV1_4::DealTermsGuaranteedFixedPriceTerms

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_infoGoogle::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_pricesArray<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_impressionsFixnum

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

Returns:

  • (Fixnum)


1435
1436
1437
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1435

def guaranteed_impressions
  @guaranteed_impressions
end

#guaranteed_looksFixnum

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

Returns:

  • (Fixnum)


1441
1442
1443
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1441

def guaranteed_looks
  @guaranteed_looks
end

#minimum_daily_looksFixnum

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

Returns:

  • (Fixnum)


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