com.google.api.ads.dfp.axis.v201208
Class AdUnitAfcSizeError

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

public class AdUnitAfcSizeError
extends ApiError
implements Serializable

Caused by supplying sizes that are not compatible with the Afc sizes.

See Also:
Serialized Form

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

AdUnitAfcSizeError

public AdUnitAfcSizeError()

AdUnitAfcSizeError

public AdUnitAfcSizeError(String fieldPath,
                          String trigger,
                          String errorString,
                          String apiErrorType,
                          AdUnitAfcSizeErrorReason reason)
Method Detail

getReason

public AdUnitAfcSizeErrorReason getReason()
Gets the reason value for this AdUnitAfcSizeError.

Returns:
reason

setReason

public void setReason(AdUnitAfcSizeErrorReason reason)
Sets the reason value for this AdUnitAfcSizeError.

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.