|
||||||||||
| 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.AdExtension
com.google.api.ads.adwords.v201109.cm.LocationExtension
public class LocationExtension
Location based ad extension.
| Constructor Summary | |
|---|---|
LocationExtension()
|
|
LocationExtension(Long id,
String adExtensionType,
Address address,
GeoPoint geoPoint,
byte[] encodedLocation,
String companyName,
String phoneNumber,
LocationExtensionSource source,
Long iconMediaId,
Long imageMediaId)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Address |
getAddress()
Gets the address value for this LocationExtension. |
String |
getCompanyName()
Gets the companyName value for this LocationExtension. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
byte[] |
getEncodedLocation()
Gets the encodedLocation value for this LocationExtension. |
GeoPoint |
getGeoPoint()
Gets the geoPoint value for this LocationExtension. |
Long |
getIconMediaId()
Gets the iconMediaId value for this LocationExtension. |
Long |
getImageMediaId()
Gets the imageMediaId value for this LocationExtension. |
String |
getPhoneNumber()
Gets the phoneNumber value for this LocationExtension. |
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer |
LocationExtensionSource |
getSource()
Gets the source value for this LocationExtension. |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object |
int |
hashCode()
|
void |
setAddress(Address address)
Sets the address value for this LocationExtension. |
void |
setCompanyName(String companyName)
Sets the companyName value for this LocationExtension. |
void |
setEncodedLocation(byte[] encodedLocation)
Sets the encodedLocation value for this LocationExtension. |
void |
setGeoPoint(GeoPoint geoPoint)
Sets the geoPoint value for this LocationExtension. |
void |
setIconMediaId(Long iconMediaId)
Sets the iconMediaId value for this LocationExtension. |
void |
setImageMediaId(Long imageMediaId)
Sets the imageMediaId value for this LocationExtension. |
void |
setPhoneNumber(String phoneNumber)
Sets the phoneNumber value for this LocationExtension. |
void |
setSource(LocationExtensionSource source)
Sets the source value for this LocationExtension. |
| Methods inherited from class com.google.api.ads.adwords.v201109.cm.AdExtension |
|---|
getAdExtensionType, getId, setAdExtensionType, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocationExtension()
public LocationExtension(Long id,
String adExtensionType,
Address address,
GeoPoint geoPoint,
byte[] encodedLocation,
String companyName,
String phoneNumber,
LocationExtensionSource source,
Long iconMediaId,
Long imageMediaId)
| Method Detail |
|---|
public Address getAddress()
public void setAddress(Address address)
address - * Address of the location (as is populated in GeoLocation by
GeoLocationService).
This field
can be selected using the value "Address".public GeoPoint getGeoPoint()
public void setGeoPoint(GeoPoint geoPoint)
geoPoint - * The lat/long point of the location (as is populated in GeoLocation
by
GeoLocationService).
This field
can be selected using the value "GeoPoint".public byte[] getEncodedLocation()
public void setEncodedLocation(byte[] encodedLocation)
encodedLocation - * Byte data encoding address and geo point (as is populated in
GeoLocation
by GeoLocationService).
Input only. Required on location extension creation.
This field can be selected using
the value "EncodedLocation".public String getCompanyName()
public void setCompanyName(String companyName)
companyName - * The name of the company located at the given address
This field
can be selected using the value "CompanyName".
The length
of this string should be between 1 and 80, inclusive.public String getPhoneNumber()
public void setPhoneNumber(String phoneNumber)
phoneNumber - * The phone number for the location
This field
can be selected using the value "PhoneNumber".public LocationExtensionSource getSource()
public void setSource(LocationExtensionSource source)
source - * The source which generated the extension
This field
can be selected using the value "LocationExtensionSource".This field can be filtered on.public Long getIconMediaId()
public void setIconMediaId(Long iconMediaId)
iconMediaId - * The business icon to use with the extension
This field
can be selected using the value "IconMediaId".public Long getImageMediaId()
public void setImageMediaId(Long imageMediaId)
imageMediaId - * The store front image to use with the extension
This field
can be selected using the value "ImageMediaId".public boolean equals(Object obj)
equals in class AdExtensionpublic int hashCode()
hashCode in class AdExtensionpublic 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 | |||||||||