Class: Google::Apis::Adexchangebuyer2V2beta1::DeliveryControl

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/adexchangebuyer2_v2beta1/classes.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb

Overview

Message contains details about how the deals will be paced.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeliveryControl

Returns a new instance of DeliveryControl.



1496
1497
1498
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1496

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#creative_blocking_levelString

Output only. Specified the creative blocking levels to be applied. Corresponds to the JSON property creativeBlockingLevel

Returns:

  • (String)


1484
1485
1486
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1484

def creative_blocking_level
  @creative_blocking_level
end

#delivery_rate_typeString

Output only. Specifies how the impression delivery will be paced. Corresponds to the JSON property deliveryRateType

Returns:

  • (String)


1489
1490
1491
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1489

def delivery_rate_type
  @delivery_rate_type
end

#frequency_capsArray<Google::Apis::Adexchangebuyer2V2beta1::FrequencyCap>

Output only. Specifies any frequency caps. Corresponds to the JSON property frequencyCaps



1494
1495
1496
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1494

def frequency_caps
  @frequency_caps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1501
1502
1503
1504
1505
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1501

def update!(**args)
  @creative_blocking_level = args[:creative_blocking_level] if args.key?(:creative_blocking_level)
  @delivery_rate_type = args[:delivery_rate_type] if args.key?(:delivery_rate_type)
  @frequency_caps = args[:frequency_caps] if args.key?(:frequency_caps)
end