|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.dfp.axis.v201204.Location
com.google.api.ads.dfp.axis.v201204.MetroLocation
public class MetroLocation
Represents a metropolitan area for geographical targeting. Currently, metropolitan areas only within the United States can be targeted.
Since v201104, fields of this class are ignored
on input. Instead
Location should be used and the Location.id
field should be
set.
| Constructor Summary | |
|---|---|
MetroLocation()
|
|
MetroLocation(Long id,
String locationType,
String metroCode,
String countryCode)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getCountryCode()
Gets the countryCode value for this MetroLocation. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
String |
getMetroCode()
Gets the metroCode value for this MetroLocation. |
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 |
int |
hashCode()
|
void |
setCountryCode(String countryCode)
Sets the countryCode value for this MetroLocation. |
void |
setMetroCode(String metroCode)
Sets the metroCode value for this MetroLocation. |
| Methods inherited from class com.google.api.ads.dfp.axis.v201204.Location |
|---|
getId, getLocationType, setId, setLocationType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetroLocation()
public MetroLocation(Long id,
String locationType,
String metroCode,
String countryCode)
| Method Detail |
|---|
public String getMetroCode()
public void setMetroCode(String metroCode)
metroCode - * The 3 digit metro code, not to be confused with the metro name.
This field
is required.public String getCountryCode()
public void setCountryCode(String countryCode)
countryCode - * ISO 3166-1 alpha-2 country code.public boolean equals(Object obj)
equals in class Locationpublic int hashCode()
hashCode in class Locationpublic 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 | |||||||||