public class AdGroupEstimateRequest extends EstimateRequest
To make a keyword estimates request in which estimates do not consider
existing account information (e.g. historical ad group performance), set both
adGroupId and the enclosing CampaignEstimateRequest's
campaignId to null.
For more details on usage, refer to document at
CampaignEstimateRequest.
Java class for AdGroupEstimateRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AdGroupEstimateRequest">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/o/v201809}EstimateRequest">
<sequence>
<element name="adGroupId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="keywordEstimateRequests" type="{https://adwords.google.com/api/adwords/o/v201809}KeywordEstimateRequest" maxOccurs="unbounded" minOccurs="0"/>
<element name="maxCpc" type="{https://adwords.google.com/api/adwords/cm/v201809}Money" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
adGroupId |
protected List<KeywordEstimateRequest> |
keywordEstimateRequests |
protected Money |
maxCpc |
estimateRequestType| Constructor and Description |
|---|
AdGroupEstimateRequest() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getAdGroupId()
Gets the value of the adGroupId property.
|
List<KeywordEstimateRequest> |
getKeywordEstimateRequests()
Gets the value of the keywordEstimateRequests property.
|
Money |
getMaxCpc()
Gets the value of the maxCpc property.
|
void |
setAdGroupId(Long value)
Sets the value of the adGroupId property.
|
void |
setMaxCpc(Money value)
Sets the value of the maxCpc property.
|
getEstimateRequestType, setEstimateRequestTypeprotected Long adGroupId
protected List<KeywordEstimateRequest> keywordEstimateRequests
protected Money maxCpc
public Long getAdGroupId()
Longpublic void setAdGroupId(Long value)
value - allowed object is
Longpublic List<KeywordEstimateRequest> getKeywordEstimateRequests()
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 keywordEstimateRequests property.
For example, to add a new item, do as follows:
getKeywordEstimateRequests().add(newItem);
Objects of the following type(s) are allowed in the list
KeywordEstimateRequest
public Money getMaxCpc()
MoneyCopyright © 2023. All rights reserved.