public class LabelFrequencyCap extends Object
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.
Java class for LabelFrequencyCap complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LabelFrequencyCap">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="frequencyCap" type="{https://www.google.com/apis/ads/publisher/v201802}FrequencyCap" minOccurs="0"/>
<element name="labelId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected FrequencyCap |
frequencyCap |
protected Long |
labelId |
| Constructor and Description |
|---|
LabelFrequencyCap() |
| Modifier and Type | Method and Description |
|---|---|
FrequencyCap |
getFrequencyCap()
Gets the value of the frequencyCap property.
|
Long |
getLabelId()
Gets the value of the labelId property.
|
void |
setFrequencyCap(FrequencyCap value)
Sets the value of the frequencyCap property.
|
void |
setLabelId(Long value)
Sets the value of the labelId property.
|
protected FrequencyCap frequencyCap
protected Long labelId
public FrequencyCap getFrequencyCap()
FrequencyCappublic void setFrequencyCap(FrequencyCap value)
value - allowed object is
FrequencyCappublic Long getLabelId()
LongCopyright © 2018. All Rights Reserved.