|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.dfp.axis.v201208.Location
com.google.api.ads.dfp.axis.v201208.CityLocation
public class CityLocation
Represents a city for geographical targeting.
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 | |
|---|---|
CityLocation()
|
|
CityLocation(Long id,
String locationType,
String cityName,
String regionCode,
String countryCode)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getCityName()
Gets the cityName value for this CityLocation. |
String |
getCountryCode()
Gets the countryCode value for this CityLocation. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
String |
getRegionCode()
Gets the regionCode value for this CityLocation. |
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 |
setCityName(String cityName)
Sets the cityName value for this CityLocation. |
void |
setCountryCode(String countryCode)
Sets the countryCode value for this CityLocation. |
void |
setRegionCode(String regionCode)
Sets the regionCode value for this CityLocation. |
| Methods inherited from class com.google.api.ads.dfp.axis.v201208.Location |
|---|
getId, getLocationType, setId, setLocationType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CityLocation()
public CityLocation(Long id,
String locationType,
String cityName,
String regionCode,
String countryCode)
| Method Detail |
|---|
public String getCityName()
public void setCityName(String cityName)
cityName - * Case insensitive name of the city. This field is required.public String getRegionCode()
public void setRegionCode(String regionCode)
regionCode - * ISO 3166-2 region code. This field is required if there are
two or more
cities with the same name in the country.public String getCountryCode()
public void setCountryCode(String countryCode)
countryCode - * ISO 3166-1 alpha-2 country code. This field is required.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 | |||||||||