|
||||||||||
| 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.MobileExtension
public class MobileExtension
Represents a phone extension. This type of ad extension attaches a phone number to a text ad, which lets customers call the advertiser directly from the ad. Phone extensions will appear as clickable phone numbers beneath the main text ad, and will be visible to high-end mobile device users who access Google.com search, Voice search, Google Mobile App, or Google Maps for Mobile from their phone.
Learn more about phone extensions here .
| Constructor Summary | |
|---|---|
MobileExtension()
|
|
MobileExtension(Long id,
String adExtensionType,
String phoneNumber,
String countryCode,
Boolean isCallOnly)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getCountryCode()
Gets the countryCode value for this MobileExtension. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
Boolean |
getIsCallOnly()
Gets the isCallOnly value for this MobileExtension. |
String |
getPhoneNumber()
Gets the phoneNumber value for this MobileExtension. |
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 MobileExtension. |
void |
setIsCallOnly(Boolean isCallOnly)
Sets the isCallOnly value for this MobileExtension. |
void |
setPhoneNumber(String phoneNumber)
Sets the phoneNumber value for this MobileExtension. |
| 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 MobileExtension()
public MobileExtension(Long id,
String adExtensionType,
String phoneNumber,
String countryCode,
Boolean isCallOnly)
| Method Detail |
|---|
public String getPhoneNumber()
null.
The length
of this string should be at least 3.public void setPhoneNumber(String phoneNumber)
phoneNumber - * Advertiser's phone number to append to the ad.
This is typically the E.164 representation (e.g.,
"+16502530000").
This field
can be selected using the value "PhoneNumber".
This field is
required and should not be null.
The length
of this string should be at least 3.public String getCountryCode()
null.
The length
of this string should be between 2 and 2, inclusive.public void setCountryCode(String countryCode)
countryCode - * Two-character country code (e.g. "US") of the advertiser's
phone number.
The list of
available country codes .
This field
can be selected using the value "CountryCode".
This field is
required and should not be null.
The length
of this string should be between 2 and 2, inclusive.public Boolean getIsCallOnly()
public void setIsCallOnly(Boolean isCallOnly)
isCallOnly - * Indicates whether the extended ad should be call only, where
the phone number
will be displayed and the URL will not. This affects
search and display ads
in high end mobile devices (e.g., iPhone and Android
phones)
This field
can be selected using the value "IsCallOnly".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 | |||||||||