com.google.api.ads.adwords.v201109.cm
Class EntityCountLimitExceeded

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.ApiError
      extended by com.google.api.ads.adwords.v201109.cm.EntityCountLimitExceeded
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AdGroupAdCountLimitExceeded, AdGroupCriterionLimitExceeded, CampaignCriterionLimitExceeded

public class EntityCountLimitExceeded
extends ApiError
implements Serializable

Signals that an entity count limit was exceeded for some level. For example, too many criteria for a campaign.

See Also:
Serialized Form

Constructor Summary
EntityCountLimitExceeded()
           
EntityCountLimitExceeded(String fieldPath, String trigger, String errorString, String apiErrorType, EntityCountLimitExceededReason reason, String enclosingId, Integer limit)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getEnclosingId()
          Gets the enclosingId value for this EntityCountLimitExceeded.
 Integer getLimit()
          Gets the limit value for this EntityCountLimitExceeded.
 EntityCountLimitExceededReason getReason()
          Gets the reason value for this EntityCountLimitExceeded.
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 setEnclosingId(String enclosingId)
          Sets the enclosingId value for this EntityCountLimitExceeded.
 void setLimit(Integer limit)
          Sets the limit value for this EntityCountLimitExceeded.
 void setReason(EntityCountLimitExceededReason reason)
          Sets the reason value for this EntityCountLimitExceeded.
 
Methods inherited from class com.google.api.ads.adwords.v201109.cm.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

EntityCountLimitExceeded

public EntityCountLimitExceeded()

EntityCountLimitExceeded

public EntityCountLimitExceeded(String fieldPath,
                                String trigger,
                                String errorString,
                                String apiErrorType,
                                EntityCountLimitExceededReason reason,
                                String enclosingId,
                                Integer limit)
Method Detail

getReason

public EntityCountLimitExceededReason getReason()
Gets the reason value for this EntityCountLimitExceeded.

Returns:
reason * Specifies which level's limit was exceeded.

setReason

public void setReason(EntityCountLimitExceededReason reason)
Sets the reason value for this EntityCountLimitExceeded.

Parameters:
reason - * Specifies which level's limit was exceeded.

getEnclosingId

public String getEnclosingId()
Gets the enclosingId value for this EntityCountLimitExceeded.

Returns:
enclosingId * Id of the entity whose limit was exceeded.

setEnclosingId

public void setEnclosingId(String enclosingId)
Sets the enclosingId value for this EntityCountLimitExceeded.

Parameters:
enclosingId - * Id of the entity whose limit was exceeded.

getLimit

public Integer getLimit()
Gets the limit value for this EntityCountLimitExceeded.

Returns:
limit * The limit which was exceeded.

setLimit

public void setLimit(Integer limit)
Sets the limit value for this EntityCountLimitExceeded.

Parameters:
limit - * The limit which was exceeded.

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