Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PoiAssignedTargetingOptionDetails

import type { PoiAssignedTargetingOptionDetails } from "https://googleapis.deno.dev/v1/displayvideo:v3.ts";

Details for assigned POI targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is TARGETING_TYPE_POI.

interface PoiAssignedTargetingOptionDetails {
readonly displayName?: string;
readonly latitude?: number;
readonly longitude?: number;
proximityRadiusAmount?: number;
proximityRadiusUnit?: "DISTANCE_UNIT_UNSPECIFIED" | "DISTANCE_UNIT_MILES" | "DISTANCE_UNIT_KILOMETERS";
targetingOptionId?: string;
}

§Properties

§
readonly displayName?: string
[src]

Output only. The display name of a POI, e.g. "Times Square", "Space Needle", followed by its full address if available.

§
readonly latitude?: number
[src]

Output only. Latitude of the POI rounding to 6th decimal place.

§
readonly longitude?: number
[src]

Output only. Longitude of the POI rounding to 6th decimal place.

§
proximityRadiusAmount?: number
[src]

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.

§
proximityRadiusUnit?: "DISTANCE_UNIT_UNSPECIFIED" | "DISTANCE_UNIT_MILES" | "DISTANCE_UNIT_KILOMETERS"
[src]

Required. The unit of distance by which the targeting radius is measured.

§
targetingOptionId?: string
[src]

Required. The targeting_option_id of a TargetingOption of type TARGETING_TYPE_POI. Accepted POI targeting option IDs can be retrieved using targetingTypes.targetingOptions.search. If targeting a specific latitude/longitude coordinate removed from an address or POI name, you can generate the necessary targeting option ID by rounding the desired coordinate values to the 6th decimal place, removing the decimals, and concatenating the string values separated by a semicolon. For example, you can target the latitude/longitude pair of 40.7414691, -74.003387 using the targeting option ID "40741469;-74003387". Upon creation, this field value will be updated to append a semicolon and alphanumerical hash value if only latitude/longitude coordinates are provided.