public class AdGroup extends Object
Java class for AdGroup complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AdGroup">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="campaignId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="campaignName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="status" type="{https://adwords.google.com/api/adwords/cm/v201809}AdGroup.Status" minOccurs="0"/>
<element name="settings" type="{https://adwords.google.com/api/adwords/cm/v201809}Setting" maxOccurs="unbounded" minOccurs="0"/>
<element name="labels" type="{https://adwords.google.com/api/adwords/cm/v201809}Label" maxOccurs="unbounded" minOccurs="0"/>
<element name="forwardCompatibilityMap" type="{https://adwords.google.com/api/adwords/cm/v201809}String_StringMapEntry" maxOccurs="unbounded" minOccurs="0"/>
<element name="biddingStrategyConfiguration" type="{https://adwords.google.com/api/adwords/cm/v201809}BiddingStrategyConfiguration" minOccurs="0"/>
<element name="contentBidCriterionTypeGroup" type="{https://adwords.google.com/api/adwords/cm/v201809}CriterionTypeGroup" minOccurs="0"/>
<element name="baseCampaignId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="baseAdGroupId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="trackingUrlTemplate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="finalUrlSuffix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="urlCustomParameters" type="{https://adwords.google.com/api/adwords/cm/v201809}CustomParameters" minOccurs="0"/>
<element name="adGroupType" type="{https://adwords.google.com/api/adwords/cm/v201809}AdGroupType" minOccurs="0"/>
<element name="adGroupAdRotationMode" type="{https://adwords.google.com/api/adwords/cm/v201809}AdGroupAdRotationMode" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected AdGroupAdRotationMode |
adGroupAdRotationMode |
protected AdGroupType |
adGroupType |
protected Long |
baseAdGroupId |
protected Long |
baseCampaignId |
protected BiddingStrategyConfiguration |
biddingStrategyConfiguration |
protected Long |
campaignId |
protected String |
campaignName |
protected CriterionTypeGroup |
contentBidCriterionTypeGroup |
protected String |
finalUrlSuffix |
protected List<StringStringMapEntry> |
forwardCompatibilityMap |
protected Long |
id |
protected List<Label> |
labels |
protected String |
name |
protected List<Setting> |
settings |
protected AdGroupStatus |
status |
protected String |
trackingUrlTemplate |
protected CustomParameters |
urlCustomParameters |
| Constructor and Description |
|---|
AdGroup() |
| Modifier and Type | Method and Description |
|---|---|
AdGroupAdRotationMode |
getAdGroupAdRotationMode()
Gets the value of the adGroupAdRotationMode property.
|
AdGroupType |
getAdGroupType()
Gets the value of the adGroupType property.
|
Long |
getBaseAdGroupId()
Gets the value of the baseAdGroupId property.
|
Long |
getBaseCampaignId()
Gets the value of the baseCampaignId property.
|
BiddingStrategyConfiguration |
getBiddingStrategyConfiguration()
Gets the value of the biddingStrategyConfiguration property.
|
Long |
getCampaignId()
Gets the value of the campaignId property.
|
String |
getCampaignName()
Gets the value of the campaignName property.
|
CriterionTypeGroup |
getContentBidCriterionTypeGroup()
Gets the value of the contentBidCriterionTypeGroup property.
|
String |
getFinalUrlSuffix()
Gets the value of the finalUrlSuffix property.
|
List<StringStringMapEntry> |
getForwardCompatibilityMap()
Gets the value of the forwardCompatibilityMap property.
|
Long |
getId()
Gets the value of the id property.
|
List<Label> |
getLabels()
Gets the value of the labels property.
|
String |
getName()
Gets the value of the name property.
|
List<Setting> |
getSettings()
Gets the value of the settings property.
|
AdGroupStatus |
getStatus()
Gets the value of the status property.
|
String |
getTrackingUrlTemplate()
Gets the value of the trackingUrlTemplate property.
|
CustomParameters |
getUrlCustomParameters()
Gets the value of the urlCustomParameters property.
|
void |
setAdGroupAdRotationMode(AdGroupAdRotationMode value)
Sets the value of the adGroupAdRotationMode property.
|
void |
setAdGroupType(AdGroupType value)
Sets the value of the adGroupType property.
|
void |
setBaseAdGroupId(Long value)
Sets the value of the baseAdGroupId property.
|
void |
setBaseCampaignId(Long value)
Sets the value of the baseCampaignId property.
|
void |
setBiddingStrategyConfiguration(BiddingStrategyConfiguration value)
Sets the value of the biddingStrategyConfiguration property.
|
void |
setCampaignId(Long value)
Sets the value of the campaignId property.
|
void |
setCampaignName(String value)
Sets the value of the campaignName property.
|
void |
setContentBidCriterionTypeGroup(CriterionTypeGroup value)
Sets the value of the contentBidCriterionTypeGroup property.
|
void |
setFinalUrlSuffix(String value)
Sets the value of the finalUrlSuffix property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setStatus(AdGroupStatus value)
Sets the value of the status property.
|
void |
setTrackingUrlTemplate(String value)
Sets the value of the trackingUrlTemplate property.
|
void |
setUrlCustomParameters(CustomParameters value)
Sets the value of the urlCustomParameters property.
|
protected Long id
protected Long campaignId
protected String campaignName
protected String name
protected AdGroupStatus status
protected List<StringStringMapEntry> forwardCompatibilityMap
protected BiddingStrategyConfiguration biddingStrategyConfiguration
protected CriterionTypeGroup contentBidCriterionTypeGroup
protected Long baseCampaignId
protected Long baseAdGroupId
protected String trackingUrlTemplate
protected String finalUrlSuffix
protected CustomParameters urlCustomParameters
protected AdGroupType adGroupType
protected AdGroupAdRotationMode adGroupAdRotationMode
public void setId(Long value)
value - allowed object is
Longpublic Long getCampaignId()
Longpublic void setCampaignId(Long value)
value - allowed object is
Longpublic String getCampaignName()
Stringpublic void setCampaignName(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic AdGroupStatus getStatus()
AdGroupStatuspublic void setStatus(AdGroupStatus value)
value - allowed object is
AdGroupStatuspublic List<Setting> getSettings()
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 settings property.
For example, to add a new item, do as follows:
getSettings().add(newItem);
Objects of the following type(s) are allowed in the list
Setting
public List<Label> getLabels()
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 labels property.
For example, to add a new item, do as follows:
getLabels().add(newItem);
Objects of the following type(s) are allowed in the list
Label
public List<StringStringMapEntry> getForwardCompatibilityMap()
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 forwardCompatibilityMap property.
For example, to add a new item, do as follows:
getForwardCompatibilityMap().add(newItem);
Objects of the following type(s) are allowed in the list
StringStringMapEntry
public BiddingStrategyConfiguration getBiddingStrategyConfiguration()
BiddingStrategyConfigurationpublic void setBiddingStrategyConfiguration(BiddingStrategyConfiguration value)
value - allowed object is
BiddingStrategyConfigurationpublic CriterionTypeGroup getContentBidCriterionTypeGroup()
CriterionTypeGrouppublic void setContentBidCriterionTypeGroup(CriterionTypeGroup value)
value - allowed object is
CriterionTypeGrouppublic Long getBaseCampaignId()
Longpublic void setBaseCampaignId(Long value)
value - allowed object is
Longpublic Long getBaseAdGroupId()
Longpublic void setBaseAdGroupId(Long value)
value - allowed object is
Longpublic String getTrackingUrlTemplate()
Stringpublic void setTrackingUrlTemplate(String value)
value - allowed object is
Stringpublic String getFinalUrlSuffix()
Stringpublic void setFinalUrlSuffix(String value)
value - allowed object is
Stringpublic CustomParameters getUrlCustomParameters()
CustomParameterspublic void setUrlCustomParameters(CustomParameters value)
value - allowed object is
CustomParameterspublic AdGroupType getAdGroupType()
AdGroupTypepublic void setAdGroupType(AdGroupType value)
value - allowed object is
AdGroupTypepublic AdGroupAdRotationMode getAdGroupAdRotationMode()
AdGroupAdRotationModepublic void setAdGroupAdRotationMode(AdGroupAdRotationMode value)
value - allowed object is
AdGroupAdRotationModeCopyright © 2023. All rights reserved.