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

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

public class AdGroupCriterionError
extends ApiError
implements Serializable

Base error class for Ad Group Criterion Service.

See Also:
Serialized Form

Constructor Summary
AdGroupCriterionError()
           
AdGroupCriterionError(String fieldPath, String trigger, String errorString, String apiErrorType, AdGroupCriterionErrorReason reason)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 AdGroupCriterionErrorReason getReason()
          Gets the reason value for this AdGroupCriterionError.
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 setReason(AdGroupCriterionErrorReason reason)
          Sets the reason value for this AdGroupCriterionError.
 
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

AdGroupCriterionError

public AdGroupCriterionError()

AdGroupCriterionError

public AdGroupCriterionError(String fieldPath,
                             String trigger,
                             String errorString,
                             String apiErrorType,
                             AdGroupCriterionErrorReason reason)
Method Detail

getReason

public AdGroupCriterionErrorReason getReason()
Gets the reason value for this AdGroupCriterionError.

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

setReason

public void setReason(AdGroupCriterionErrorReason reason)
Sets the reason value for this AdGroupCriterionError.

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

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.