public class CallOnlyAd extends Ad
Caution: Call only ads do not use url,
finalUrls, finalMobileUrls,
finalAppUrls, urlCustomParameters,
or trackingUrlTemplate;
setting these fields on a call only ad will cause an error.
This is enabled for AdX.
Java class for CallOnlyAd complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CallOnlyAd">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/cm/v201809}Ad">
<sequence>
<element name="countryCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="phoneNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="businessName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="description1" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="description2" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="callTracked" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="disableCallConversion" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="conversionTypeId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="phoneNumberVerificationUrl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
businessName |
protected Boolean |
callTracked |
protected Long |
conversionTypeId |
protected String |
countryCode |
protected String |
description1 |
protected String |
description2 |
protected Boolean |
disableCallConversion |
protected String |
phoneNumber |
protected String |
phoneNumberVerificationUrl |
adType, automated, devicePreference, displayUrl, finalAppUrls, finalMobileUrls, finalUrls, finalUrlSuffix, id, systemManagedEntitySource, trackingUrlTemplate, type, url, urlCustomParameters, urlData| Constructor and Description |
|---|
CallOnlyAd() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBusinessName()
Gets the value of the businessName property.
|
Long |
getConversionTypeId()
Gets the value of the conversionTypeId property.
|
String |
getCountryCode()
Gets the value of the countryCode property.
|
String |
getDescription1()
Gets the value of the description1 property.
|
String |
getDescription2()
Gets the value of the description2 property.
|
String |
getPhoneNumber()
Gets the value of the phoneNumber property.
|
String |
getPhoneNumberVerificationUrl()
Gets the value of the phoneNumberVerificationUrl property.
|
Boolean |
isCallTracked()
Gets the value of the callTracked property.
|
Boolean |
isDisableCallConversion()
Gets the value of the disableCallConversion property.
|
void |
setBusinessName(String value)
Sets the value of the businessName property.
|
void |
setCallTracked(Boolean value)
Sets the value of the callTracked property.
|
void |
setConversionTypeId(Long value)
Sets the value of the conversionTypeId property.
|
void |
setCountryCode(String value)
Sets the value of the countryCode property.
|
void |
setDescription1(String value)
Sets the value of the description1 property.
|
void |
setDescription2(String value)
Sets the value of the description2 property.
|
void |
setDisableCallConversion(Boolean value)
Sets the value of the disableCallConversion property.
|
void |
setPhoneNumber(String value)
Sets the value of the phoneNumber property.
|
void |
setPhoneNumberVerificationUrl(String value)
Sets the value of the phoneNumberVerificationUrl property.
|
getAdType, getDevicePreference, getDisplayUrl, getFinalAppUrls, getFinalMobileUrls, getFinalUrls, getFinalUrlSuffix, getId, getSystemManagedEntitySource, getTrackingUrlTemplate, getType, getUrl, getUrlCustomParameters, getUrlData, isAutomated, setAdType, setAutomated, setDevicePreference, setDisplayUrl, setFinalUrlSuffix, setId, setSystemManagedEntitySource, setTrackingUrlTemplate, setType, setUrl, setUrlCustomParametersprotected String countryCode
protected String phoneNumber
protected String businessName
protected String description1
protected String description2
protected Boolean callTracked
protected Boolean disableCallConversion
protected Long conversionTypeId
protected String phoneNumberVerificationUrl
public String getCountryCode()
Stringpublic void setCountryCode(String value)
value - allowed object is
Stringpublic String getPhoneNumber()
Stringpublic void setPhoneNumber(String value)
value - allowed object is
Stringpublic String getBusinessName()
Stringpublic void setBusinessName(String value)
value - allowed object is
Stringpublic String getDescription1()
Stringpublic void setDescription1(String value)
value - allowed object is
Stringpublic String getDescription2()
Stringpublic void setDescription2(String value)
value - allowed object is
Stringpublic Boolean isCallTracked()
Booleanpublic void setCallTracked(Boolean value)
value - allowed object is
Booleanpublic Boolean isDisableCallConversion()
Booleanpublic void setDisableCallConversion(Boolean value)
value - allowed object is
Booleanpublic Long getConversionTypeId()
Longpublic void setConversionTypeId(Long value)
value - allowed object is
Longpublic String getPhoneNumberVerificationUrl()
StringCopyright © 2023. All rights reserved.