public class CampaignEstimate extends Estimate
Java class for CampaignEstimate complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CampaignEstimate">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/o/v201809}Estimate">
<sequence>
<element name="campaignId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="adGroupEstimates" type="{https://adwords.google.com/api/adwords/o/v201809}AdGroupEstimate" maxOccurs="unbounded" minOccurs="0"/>
<element name="platformEstimates" type="{https://adwords.google.com/api/adwords/o/v201809}PlatformCampaignEstimate" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<AdGroupEstimate> |
adGroupEstimates |
protected Long |
campaignId |
protected List<PlatformCampaignEstimate> |
platformEstimates |
estimateType| Constructor and Description |
|---|
CampaignEstimate() |
| Modifier and Type | Method and Description |
|---|---|
List<AdGroupEstimate> |
getAdGroupEstimates()
Gets the value of the adGroupEstimates property.
|
Long |
getCampaignId()
Gets the value of the campaignId property.
|
List<PlatformCampaignEstimate> |
getPlatformEstimates()
Gets the value of the platformEstimates property.
|
void |
setCampaignId(Long value)
Sets the value of the campaignId property.
|
getEstimateType, setEstimateTypeprotected Long campaignId
protected List<AdGroupEstimate> adGroupEstimates
protected List<PlatformCampaignEstimate> platformEstimates
public Long getCampaignId()
Longpublic void setCampaignId(Long value)
value - allowed object is
Longpublic List<AdGroupEstimate> getAdGroupEstimates()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the adGroupEstimates property.
For example, to add a new item, do as follows:
getAdGroupEstimates().add(newItem);
Objects of the following type(s) are allowed in the list
AdGroupEstimate
public List<PlatformCampaignEstimate> getPlatformEstimates()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the platformEstimates property.
For example, to add a new item, do as follows:
getPlatformEstimates().add(newItem);
Objects of the following type(s) are allowed in the list
PlatformCampaignEstimate
Copyright © 2023. All rights reserved.