Class: Google::Apis::AuthorizedbuyersmarketplaceV1::DeliveryControl

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

Overview

Message contains details about how the deal will be paced.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeliveryControl

Returns a new instance of DeliveryControl.



812
813
814
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 812

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

Instance Attribute Details

#companion_delivery_typeString

Output only. Specifies roadblocking in a main companion lineitem. Corresponds to the JSON property companionDeliveryType

Returns:

  • (String)


788
789
790
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 788

def companion_delivery_type
  @companion_delivery_type
end

#creative_rotation_typeString

Output only. Specifies strategy to use for selecting a creative when multiple creatives of the same size are available. Corresponds to the JSON property creativeRotationType

Returns:

  • (String)


794
795
796
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 794

def creative_rotation_type
  @creative_rotation_type
end

#delivery_rate_typeString

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

Returns:

  • (String)


799
800
801
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 799

def delivery_rate_type
  @delivery_rate_type
end

#frequency_capArray<Google::Apis::AuthorizedbuyersmarketplaceV1::FrequencyCap>

Output only. Specifies any frequency caps. Cannot be filtered within ListDealsRequest. Corresponds to the JSON property frequencyCap



805
806
807
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 805

def frequency_cap
  @frequency_cap
end

#roadblocking_typeString

Output only. Specifies the roadblocking type in display creatives. Corresponds to the JSON property roadblockingType

Returns:

  • (String)


810
811
812
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 810

def roadblocking_type
  @roadblocking_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



817
818
819
820
821
822
823
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 817

def update!(**args)
  @companion_delivery_type = args[:companion_delivery_type] if args.key?(:companion_delivery_type)
  @creative_rotation_type = args[:creative_rotation_type] if args.key?(:creative_rotation_type)
  @delivery_rate_type = args[:delivery_rate_type] if args.key?(:delivery_rate_type)
  @frequency_cap = args[:frequency_cap] if args.key?(:frequency_cap)
  @roadblocking_type = args[:roadblocking_type] if args.key?(:roadblocking_type)
end