com.google.api.ads.dfp.axis.v201206
Class GenericTargetingError

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201206.ApiError
      extended by com.google.api.ads.dfp.axis.v201206.GenericTargetingError
All Implemented Interfaces:
Serializable

public class GenericTargetingError
extends ApiError
implements Serializable

Targeting validation errors that can be used by different targeting types.

See Also:
Serialized Form

Constructor Summary
GenericTargetingError()
           
GenericTargetingError(String fieldPath, String trigger, String errorString, String apiErrorType, GenericTargetingErrorReason reason)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 GenericTargetingErrorReason getReason()
          Gets the reason value for this GenericTargetingError.
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(GenericTargetingErrorReason reason)
          Sets the reason value for this GenericTargetingError.
 
Methods inherited from class com.google.api.ads.dfp.axis.v201206.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

GenericTargetingError

public GenericTargetingError()

GenericTargetingError

public GenericTargetingError(String fieldPath,
                             String trigger,
                             String errorString,
                             String apiErrorType,
                             GenericTargetingErrorReason reason)
Method Detail

getReason

public GenericTargetingErrorReason getReason()
Gets the reason value for this GenericTargetingError.

Returns:
reason

setReason

public void setReason(GenericTargetingErrorReason reason)
Sets the reason value for this GenericTargetingError.

Parameters:
reason -

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 © 2012. All Rights Reserved.