public class AdGroupAd extends Object
Java class for AdGroupAd complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AdGroupAd">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="adGroupId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="ad" type="{https://adwords.google.com/api/adwords/cm/v201809}Ad" minOccurs="0"/>
<element name="status" type="{https://adwords.google.com/api/adwords/cm/v201809}AdGroupAd.Status" minOccurs="0"/>
<element name="policySummary" type="{https://adwords.google.com/api/adwords/cm/v201809}AdGroupAdPolicySummary" minOccurs="0"/>
<element name="labels" type="{https://adwords.google.com/api/adwords/cm/v201809}Label" maxOccurs="unbounded" 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="forwardCompatibilityMap" type="{https://adwords.google.com/api/adwords/cm/v201809}String_StringMapEntry" maxOccurs="unbounded" minOccurs="0"/>
<element name="adStrengthInfo" type="{https://adwords.google.com/api/adwords/cm/v201809}AdStrengthInfo" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Ad |
ad |
protected Long |
adGroupId |
protected AdStrengthInfo |
adStrengthInfo |
protected Long |
baseAdGroupId |
protected Long |
baseCampaignId |
protected List<StringStringMapEntry> |
forwardCompatibilityMap |
protected List<Label> |
labels |
protected AdGroupAdPolicySummary |
policySummary |
protected AdGroupAdStatus |
status |
| Constructor and Description |
|---|
AdGroupAd() |
| Modifier and Type | Method and Description |
|---|---|
Ad |
getAd()
Gets the value of the ad property.
|
Long |
getAdGroupId()
Gets the value of the adGroupId property.
|
AdStrengthInfo |
getAdStrengthInfo()
Gets the value of the adStrengthInfo property.
|
Long |
getBaseAdGroupId()
Gets the value of the baseAdGroupId property.
|
Long |
getBaseCampaignId()
Gets the value of the baseCampaignId property.
|
List<StringStringMapEntry> |
getForwardCompatibilityMap()
Gets the value of the forwardCompatibilityMap property.
|
List<Label> |
getLabels()
Gets the value of the labels property.
|
AdGroupAdPolicySummary |
getPolicySummary()
Gets the value of the policySummary property.
|
AdGroupAdStatus |
getStatus()
Gets the value of the status property.
|
void |
setAd(Ad value)
Sets the value of the ad property.
|
void |
setAdGroupId(Long value)
Sets the value of the adGroupId property.
|
void |
setAdStrengthInfo(AdStrengthInfo value)
Sets the value of the adStrengthInfo property.
|
void |
setBaseAdGroupId(Long value)
Sets the value of the baseAdGroupId property.
|
void |
setBaseCampaignId(Long value)
Sets the value of the baseCampaignId property.
|
void |
setPolicySummary(AdGroupAdPolicySummary value)
Sets the value of the policySummary property.
|
void |
setStatus(AdGroupAdStatus value)
Sets the value of the status property.
|
protected Long adGroupId
protected Ad ad
protected AdGroupAdStatus status
protected AdGroupAdPolicySummary policySummary
protected Long baseCampaignId
protected Long baseAdGroupId
protected List<StringStringMapEntry> forwardCompatibilityMap
protected AdStrengthInfo adStrengthInfo
public Long getAdGroupId()
Longpublic void setAdGroupId(Long value)
value - allowed object is
Longpublic void setAd(Ad value)
value - allowed object is
Adpublic AdGroupAdStatus getStatus()
AdGroupAdStatuspublic void setStatus(AdGroupAdStatus value)
value - allowed object is
AdGroupAdStatuspublic AdGroupAdPolicySummary getPolicySummary()
AdGroupAdPolicySummarypublic void setPolicySummary(AdGroupAdPolicySummary value)
value - allowed object is
AdGroupAdPolicySummarypublic 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 Long getBaseCampaignId()
Longpublic void setBaseCampaignId(Long value)
value - allowed object is
Longpublic Long getBaseAdGroupId()
Longpublic void setBaseAdGroupId(Long value)
value - allowed object is
Longpublic 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 AdStrengthInfo getAdStrengthInfo()
AdStrengthInfopublic void setAdStrengthInfo(AdStrengthInfo value)
value - allowed object is
AdStrengthInfoCopyright © 2023. All rights reserved.