Class 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
.
Implements
Inherited Members
Namespace: Google.Apis.DisplayVideo.v1.Data
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class PoiAssignedTargetingOptionDetails : IDirectResponseSchema
Properties
DisplayName
Output only. The display name of a POI, e.g. "Times Square", "Space Needle", followed by its full address if available.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Latitude
Output only. Latitude of the POI rounding to 6th decimal place.
Declaration
[JsonProperty("latitude")]
public virtual double? Latitude { get; set; }
Property Value
Type | Description |
---|---|
double? |
Longitude
Output only. Longitude of the POI rounding to 6th decimal place.
Declaration
[JsonProperty("longitude")]
public virtual double? Longitude { get; set; }
Property Value
Type | Description |
---|---|
double? |
ProximityRadiusAmount
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
.
Declaration
[JsonProperty("proximityRadiusAmount")]
public virtual double? ProximityRadiusAmount { get; set; }
Property Value
Type | Description |
---|---|
double? |
ProximityRadiusUnit
Required. The unit of distance by which the targeting radius is measured.
Declaration
[JsonProperty("proximityRadiusUnit")]
public virtual string ProximityRadiusUnit { get; set; }
Property Value
Type | Description |
---|---|
string |
TargetingOptionId
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.
Declaration
[JsonProperty("targetingOptionId")]
public virtual string TargetingOptionId { get; set; }
Property Value
Type | Description |
---|---|
string |