com.google.api.ads.dfp.axis.v201206
Class LabelFrequencyCap

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201206.LabelFrequencyCap
All Implemented Interfaces:
Serializable

public class LabelFrequencyCap
extends Object
implements Serializable

A LabelFrequencyCap assigns a frequency cap to a label. The frequency cap will limit the cumulative number of impressions of any ad units with this label that may be shown to a particular user over a time unit.

See Also:
Serialized Form

Constructor Summary
LabelFrequencyCap()
           
LabelFrequencyCap(FrequencyCap frequencyCap, Long labelId)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 FrequencyCap getFrequencyCap()
          Gets the frequencyCap value for this LabelFrequencyCap.
 Long getLabelId()
          Gets the labelId value for this LabelFrequencyCap.
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 setFrequencyCap(FrequencyCap frequencyCap)
          Sets the frequencyCap value for this LabelFrequencyCap.
 void setLabelId(Long labelId)
          Sets the labelId value for this LabelFrequencyCap.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelFrequencyCap

public LabelFrequencyCap()

LabelFrequencyCap

public LabelFrequencyCap(FrequencyCap frequencyCap,
                         Long labelId)
Method Detail

getFrequencyCap

public FrequencyCap getFrequencyCap()
Gets the frequencyCap value for this LabelFrequencyCap.

Returns:
frequencyCap * The frequency cap to be applied with this label.

setFrequencyCap

public void setFrequencyCap(FrequencyCap frequencyCap)
Sets the frequencyCap value for this LabelFrequencyCap.

Parameters:
frequencyCap - * The frequency cap to be applied with this label.

getLabelId

public Long getLabelId()
Gets the labelId value for this LabelFrequencyCap.

Returns:
labelId * ID of the label being capped on the AdUnit.

setLabelId

public void setLabelId(Long labelId)
Sets the labelId value for this LabelFrequencyCap.

Parameters:
labelId - * ID of the label being capped on the AdUnit.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

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.