com.google.api.ads.dfp.axis.v201204
Class AdUnitHierarchyError

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

public class AdUnitHierarchyError
extends ApiError
implements Serializable

Caused by creating an AdUnit object with an invalid hierarchy.

See Also:
Serialized Form

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

AdUnitHierarchyError

public AdUnitHierarchyError()

AdUnitHierarchyError

public AdUnitHierarchyError(String fieldPath,
                            String trigger,
                            String errorString,
                            String apiErrorType,
                            AdUnitHierarchyErrorReason reason)
Method Detail

getReason

public AdUnitHierarchyErrorReason getReason()
Gets the reason value for this AdUnitHierarchyError.

Returns:
reason

setReason

public void setReason(AdUnitHierarchyErrorReason reason)
Sets the reason value for this AdUnitHierarchyError.

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.