com.google.api.ads.dfp.axis.v201203
Class CustomTargetingError

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

public class CustomTargetingError
extends ApiError
implements Serializable

Lists all errors related to CustomTargetingKey and CustomTargetingValue objects.

See Also:
Serialized Form

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

CustomTargetingError

public CustomTargetingError()

CustomTargetingError

public CustomTargetingError(String fieldPath,
                            String trigger,
                            String errorString,
                            String apiErrorType,
                            CustomTargetingErrorReason reason)
Method Detail

getReason

public CustomTargetingErrorReason getReason()
Gets the reason value for this CustomTargetingError.

Returns:
reason

setReason

public void setReason(CustomTargetingErrorReason reason)
Sets the reason value for this CustomTargetingError.

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.