public class Proximity extends Criterion
A criterion of this type is only targetable. This is enabled for AdX.
Java class for Proximity complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Proximity">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/cm/v201809}Criterion">
<sequence>
<element name="geoPoint" type="{https://adwords.google.com/api/adwords/cm/v201809}GeoPoint" minOccurs="0"/>
<element name="radiusDistanceUnits" type="{https://adwords.google.com/api/adwords/cm/v201809}Proximity.DistanceUnits" minOccurs="0"/>
<element name="radiusInUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="address" type="{https://adwords.google.com/api/adwords/cm/v201809}Address" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Address |
address |
protected GeoPoint |
geoPoint |
protected ProximityDistanceUnits |
radiusDistanceUnits |
protected Double |
radiusInUnits |
criterionType, id, type| Constructor and Description |
|---|
Proximity() |
| Modifier and Type | Method and Description |
|---|---|
Address |
getAddress()
Gets the value of the address property.
|
GeoPoint |
getGeoPoint()
Gets the value of the geoPoint property.
|
ProximityDistanceUnits |
getRadiusDistanceUnits()
Gets the value of the radiusDistanceUnits property.
|
Double |
getRadiusInUnits()
Gets the value of the radiusInUnits property.
|
void |
setAddress(Address value)
Sets the value of the address property.
|
void |
setGeoPoint(GeoPoint value)
Sets the value of the geoPoint property.
|
void |
setRadiusDistanceUnits(ProximityDistanceUnits value)
Sets the value of the radiusDistanceUnits property.
|
void |
setRadiusInUnits(Double value)
Sets the value of the radiusInUnits property.
|
getCriterionType, getId, getType, setCriterionType, setId, setTypeprotected GeoPoint geoPoint
protected ProximityDistanceUnits radiusDistanceUnits
protected Double radiusInUnits
protected Address address
public GeoPoint getGeoPoint()
GeoPointpublic void setGeoPoint(GeoPoint value)
value - allowed object is
GeoPointpublic ProximityDistanceUnits getRadiusDistanceUnits()
ProximityDistanceUnitspublic void setRadiusDistanceUnits(ProximityDistanceUnits value)
value - allowed object is
ProximityDistanceUnitspublic Double getRadiusInUnits()
Doublepublic void setRadiusInUnits(Double value)
value - allowed object is
Doublepublic Address getAddress()
AddressCopyright © 2023. All rights reserved.