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

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

public class AdGroupServiceError
extends ApiError
implements Serializable

Represents possible error codes in AdGroupService.

See Also:
Serialized Form

Constructor Summary
AdGroupServiceError()
           
AdGroupServiceError(String fieldPath, String trigger, String errorString, String apiErrorType, AdGroupServiceErrorReason reason, Long adGroupId)
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getAdGroupId()
          Gets the adGroupId value for this AdGroupServiceError.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 AdGroupServiceErrorReason getReason()
          Gets the reason value for this AdGroupServiceError.
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 setAdGroupId(Long adGroupId)
          Sets the adGroupId value for this AdGroupServiceError.
 void setReason(AdGroupServiceErrorReason reason)
          Sets the reason value for this AdGroupServiceError.
 
Methods inherited from class com.google.api.ads.adwords.v201109.cm.ApiError
getApiErrorType, getErrorString, getFieldPath, getTrigger, setApiErrorType, setErrorString, setFieldPath, setTrigger
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdGroupServiceError

public AdGroupServiceError()

AdGroupServiceError

public AdGroupServiceError(String fieldPath,
                           String trigger,
                           String errorString,
                           String apiErrorType,
                           AdGroupServiceErrorReason reason,
                           Long adGroupId)
Method Detail

getReason

public AdGroupServiceErrorReason getReason()
Gets the reason value for this AdGroupServiceError.

Returns:
reason * The error reason represented by an enum.

setReason

public void setReason(AdGroupServiceErrorReason reason)
Sets the reason value for this AdGroupServiceError.

Parameters:
reason - * The error reason represented by an enum.

getAdGroupId

public Long getAdGroupId()
Gets the adGroupId value for this AdGroupServiceError.

Returns:
adGroupId * The AdGroupId associated with this error.

setAdGroupId

public void setAdGroupId(Long adGroupId)
Sets the adGroupId value for this AdGroupServiceError.

Parameters:
adGroupId - * The AdGroupId associated with this error.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class ApiError

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.