com.google.api.ads.dfp.axis.v201201
Class DateTimeRangeTargetingError

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

public class DateTimeRangeTargetingError
extends ApiError
implements Serializable

Lists all date time range errors caused by associating a line item with a targeting expression.

See Also:
Serialized Form

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

DateTimeRangeTargetingError

public DateTimeRangeTargetingError()

DateTimeRangeTargetingError

public DateTimeRangeTargetingError(String fieldPath,
                                   String trigger,
                                   String errorString,
                                   String apiErrorType,
                                   DateTimeRangeTargetingErrorReason reason)
Method Detail

getReason

public DateTimeRangeTargetingErrorReason getReason()
Gets the reason value for this DateTimeRangeTargetingError.

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

setReason

public void setReason(DateTimeRangeTargetingErrorReason reason)
Sets the reason value for this DateTimeRangeTargetingError.

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