|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.adwords.v201109.cm.Criterion
com.google.api.ads.adwords.v201109.cm.Polygon
public class Polygon
Represents a Polygon Criterion. A polygon is described by a list of at least three points, where each point is a (latitude, longitude) ordered pair. No point can be more than 400km from the center of the polygon. The points are specified in microdegrees, the precison for the value is 1 second of angle which is equal to 277 microdegrees.
Please note that Polygons are deprecated. This means that Polygon targets cannot be added through the API, though existing targets can be retrieved and deleted.
| Constructor Summary | |
|---|---|
Polygon()
|
|
Polygon(Long id,
CriterionType type,
String criterionType,
GeoPoint[] vertices)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object |
GeoPoint[] |
getVertices()
Gets the vertices value for this Polygon. |
GeoPoint |
getVertices(int i)
|
int |
hashCode()
|
void |
setVertices(GeoPoint[] vertices)
Sets the vertices value for this Polygon. |
void |
setVertices(int i,
GeoPoint _value)
|
| Methods inherited from class com.google.api.ads.adwords.v201109.cm.Criterion |
|---|
getCriterionType, getId, getType, setCriterionType, setId, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Polygon()
public Polygon(Long id,
CriterionType type,
String criterionType,
GeoPoint[] vertices)
| Method Detail |
|---|
public GeoPoint[] getVertices()
public void setVertices(GeoPoint[] vertices)
vertices - * The latitude/longitude points that define the polygon. At least
three points are required, and no point can be more than 400km
away from the center of the polygon.
This field
can be selected using the value "Vertices".
This field is
read only and should not be set. If this field is sent to the API,
it will be ignored.public GeoPoint getVertices(int i)
public void setVertices(int i,
GeoPoint _value)
public boolean equals(Object obj)
equals in class Criterionpublic int hashCode()
hashCode in class Criterionpublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
Class _javaType,
QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||