class Google::Apis::DisplayvideoV1::BusinessChainAssignedTargetingOptionDetails

Details for assigned Business chain targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is ` TARGETING_TYPE_BUSINESS_CHAIN`.

Attributes

display_name[RW]

Output only. The display name of a business chain, e.g. “KFC”, “Chase Bank”. Corresponds to the JSON property `displayName` @return [String]

proximity_radius_amount[RW]

Required. The radius of the area around the business chain that will be targeted. The units of the radius are specified by proximity_radius_unit. Must be 1 to 800 if unit is `DISTANCE_UNIT_KILOMETERS` and 1 to 500 if unit is ` DISTANCE_UNIT_MILES`. The minimum increment for both cases is 0.1. Inputs will be rounded to the nearest acceptable value if it is too granular, e.g. 15.57 will become 15.6. Corresponds to the JSON property `proximityRadiusAmount` @return [Float]

proximity_radius_unit[RW]

Required. The unit of distance by which the targeting radius is measured. Corresponds to the JSON property `proximityRadiusUnit` @return [String]

targeting_option_id[RW]

Required. The targeting_option_id of a TargetingOption of type ` TARGETING_TYPE_BUSINESS_CHAIN`. Corresponds to the JSON property `targetingOptionId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 2008
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 2013
def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @proximity_radius_amount = args[:proximity_radius_amount] if args.key?(:proximity_radius_amount)
  @proximity_radius_unit = args[:proximity_radius_unit] if args.key?(:proximity_radius_unit)
  @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id)
end