class Google::Apis::DisplayvideoV1::PoiAssignedTargetingOptionDetails
Details for assigned POI targeting option. This will be populated in the details field of an AssignedTargetingOption
when targeting_type is ` TARGETING_TYPE_POI`.
Attributes
Output only. The display name of a POI, e.g. “Times Square”, “Space Needle”, followed by its full address if available. Corresponds to the JSON property `displayName` @return [String]
Output only. Latitude of the POI rounding to 6th decimal place. Corresponds to the JSON property `latitude` @return [Float]
Output only. Longitude of the POI rounding to 6th decimal place. Corresponds to the JSON property `longitude` @return [Float]
Required. The radius of the area around the POI 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`. Corresponds to the JSON property `proximityRadiusAmount` @return [Float]
Required. The unit of distance by which the targeting radius is measured. Corresponds to the JSON property `proximityRadiusUnit` @return [String]
Required. The targeting_option_id
of a TargetingOption
of type ` TARGETING_TYPE_POI` or reuse an existing assigned_targeting_option_id. Corresponds to the JSON property `targetingOptionId` @return [String]
Public Class Methods
# File lib/google/apis/displayvideo_v1/classes.rb, line 8194 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/displayvideo_v1/classes.rb, line 8199 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @latitude = args[:latitude] if args.key?(:latitude) @longitude = args[:longitude] if args.key?(:longitude) @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