com.google.api.ads.adwords.v201109.cm
Class LocationSyncExtension

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.AdExtension
      extended by com.google.api.ads.adwords.v201109.cm.LocationSyncExtension
All Implemented Interfaces:
Serializable

public class LocationSyncExtension
extends AdExtension
implements Serializable

Local business center(LBC) sync extension that ties a LBC account with a campaign.

See Also:
Serialized Form

Constructor Summary
LocationSyncExtension()
           
LocationSyncExtension(Long id, String adExtensionType, String email, String authToken, Long iconMediaId, Boolean shouldSyncUrl)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAuthToken()
          Gets the authToken value for this LocationSyncExtension.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getEmail()
          Gets the email value for this LocationSyncExtension.
 Long getIconMediaId()
          Gets the iconMediaId value for this LocationSyncExtension.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 Boolean getShouldSyncUrl()
          Gets the shouldSyncUrl value for this LocationSyncExtension.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAuthToken(String authToken)
          Sets the authToken value for this LocationSyncExtension.
 void setEmail(String email)
          Sets the email value for this LocationSyncExtension.
 void setIconMediaId(Long iconMediaId)
          Sets the iconMediaId value for this LocationSyncExtension.
 void setShouldSyncUrl(Boolean shouldSyncUrl)
          Sets the shouldSyncUrl value for this LocationSyncExtension.
 
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

LocationSyncExtension

public LocationSyncExtension()

LocationSyncExtension

public LocationSyncExtension(Long id,
                             String adExtensionType,
                             String email,
                             String authToken,
                             Long iconMediaId,
                             Boolean shouldSyncUrl)
Method Detail

getEmail

public String getEmail()
Gets the email value for this LocationSyncExtension.

Returns:
email * Email associated with the LBC backend data This field can be selected using the value "Email". This field is required and should not be null.

setEmail

public void setEmail(String email)
Sets the email value for this LocationSyncExtension.

Parameters:
email - * Email associated with the LBC backend data This field can be selected using the value "Email". This field is required and should not be null.

getAuthToken

public String getAuthToken()
Gets the authToken value for this LocationSyncExtension.

Returns:
authToken * Required authentication token (from ClientLogin API) for the email - input only.

setAuthToken

public void setAuthToken(String authToken)
Sets the authToken value for this LocationSyncExtension.

Parameters:
authToken - * Required authentication token (from ClientLogin API) for the email - input only.

getIconMediaId

public Long getIconMediaId()
Gets the iconMediaId value for this LocationSyncExtension.

Returns:
iconMediaId * The business icon to use with the extension This field can be selected using the value "IconMediaId".

setIconMediaId

public void setIconMediaId(Long iconMediaId)
Sets the iconMediaId value for this LocationSyncExtension.

Parameters:
iconMediaId - * The business icon to use with the extension This field can be selected using the value "IconMediaId".

getShouldSyncUrl

public Boolean getShouldSyncUrl()
Gets the shouldSyncUrl value for this LocationSyncExtension.

Returns:
shouldSyncUrl * Whether we should copy homepage url from LBC entries as the destination url in location extension. This field can be selected using the value "ShouldSyncUrl".

setShouldSyncUrl

public void setShouldSyncUrl(Boolean shouldSyncUrl)
Sets the shouldSyncUrl value for this LocationSyncExtension.

Parameters:
shouldSyncUrl - * Whether we should copy homepage url from LBC entries as the destination url in location extension. This field can be selected using the value "ShouldSyncUrl".

equals

public boolean equals(Object obj)
Overrides:
equals in class AdExtension

hashCode

public int hashCode()
Overrides:
hashCode in class AdExtension

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2011. All Rights Reserved.