public class Campaign extends Object
Java class for Campaign complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Campaign">
<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="campaignGroupId" type="{http://www.w3.org/2001/XMLSchema}long" 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}CampaignStatus" minOccurs="0"/>
<element name="servingStatus" type="{https://adwords.google.com/api/adwords/cm/v201809}ServingStatus" minOccurs="0"/>
<element name="startDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="endDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="budget" type="{https://adwords.google.com/api/adwords/cm/v201809}Budget" minOccurs="0"/>
<element name="conversionOptimizerEligibility" type="{https://adwords.google.com/api/adwords/cm/v201809}ConversionOptimizerEligibility" minOccurs="0"/>
<element name="adServingOptimizationStatus" type="{https://adwords.google.com/api/adwords/cm/v201809}AdServingOptimizationStatus" minOccurs="0"/>
<element name="frequencyCap" type="{https://adwords.google.com/api/adwords/cm/v201809}FrequencyCap" minOccurs="0"/>
<element name="settings" type="{https://adwords.google.com/api/adwords/cm/v201809}Setting" maxOccurs="unbounded" minOccurs="0"/>
<element name="advertisingChannelType" type="{https://adwords.google.com/api/adwords/cm/v201809}AdvertisingChannelType" minOccurs="0"/>
<element name="advertisingChannelSubType" type="{https://adwords.google.com/api/adwords/cm/v201809}AdvertisingChannelSubType" minOccurs="0"/>
<element name="networkSetting" type="{https://adwords.google.com/api/adwords/cm/v201809}NetworkSetting" minOccurs="0"/>
<element name="labels" type="{https://adwords.google.com/api/adwords/cm/v201809}Label" maxOccurs="unbounded" minOccurs="0"/>
<element name="biddingStrategyConfiguration" type="{https://adwords.google.com/api/adwords/cm/v201809}BiddingStrategyConfiguration" minOccurs="0"/>
<element name="campaignTrialType" type="{https://adwords.google.com/api/adwords/cm/v201809}CampaignTrialType" minOccurs="0"/>
<element name="baseCampaignId" 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="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="vanityPharma" type="{https://adwords.google.com/api/adwords/cm/v201809}VanityPharma" minOccurs="0"/>
<element name="universalAppCampaignInfo" type="{https://adwords.google.com/api/adwords/cm/v201809}UniversalAppCampaignInfo" minOccurs="0"/>
<element name="selectiveOptimization" type="{https://adwords.google.com/api/adwords/cm/v201809}SelectiveOptimization" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Campaign() |
| Modifier and Type | Method and Description |
|---|---|
AdServingOptimizationStatus |
getAdServingOptimizationStatus()
Gets the value of the adServingOptimizationStatus property.
|
AdvertisingChannelSubType |
getAdvertisingChannelSubType()
Gets the value of the advertisingChannelSubType property.
|
AdvertisingChannelType |
getAdvertisingChannelType()
Gets the value of the advertisingChannelType property.
|
Long |
getBaseCampaignId()
Gets the value of the baseCampaignId property.
|
BiddingStrategyConfiguration |
getBiddingStrategyConfiguration()
Gets the value of the biddingStrategyConfiguration property.
|
Budget |
getBudget()
Gets the value of the budget property.
|
Long |
getCampaignGroupId()
Gets the value of the campaignGroupId property.
|
CampaignTrialType |
getCampaignTrialType()
Gets the value of the campaignTrialType property.
|
ConversionOptimizerEligibility |
getConversionOptimizerEligibility()
Gets the value of the conversionOptimizerEligibility property.
|
String |
getEndDate()
Gets the value of the endDate property.
|
String |
getFinalUrlSuffix()
Gets the value of the finalUrlSuffix property.
|
List<StringStringMapEntry> |
getForwardCompatibilityMap()
Gets the value of the forwardCompatibilityMap property.
|
FrequencyCap |
getFrequencyCap()
Gets the value of the frequencyCap 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.
|
NetworkSetting |
getNetworkSetting()
Gets the value of the networkSetting property.
|
SelectiveOptimization |
getSelectiveOptimization()
Gets the value of the selectiveOptimization property.
|
ServingStatus |
getServingStatus()
Gets the value of the servingStatus property.
|
List<Setting> |
getSettings()
Gets the value of the settings property.
|
String |
getStartDate()
Gets the value of the startDate property.
|
CampaignStatus |
getStatus()
Gets the value of the status property.
|
String |
getTrackingUrlTemplate()
Gets the value of the trackingUrlTemplate property.
|
UniversalAppCampaignInfo |
getUniversalAppCampaignInfo()
Gets the value of the universalAppCampaignInfo property.
|
CustomParameters |
getUrlCustomParameters()
Gets the value of the urlCustomParameters property.
|
VanityPharma |
getVanityPharma()
Gets the value of the vanityPharma property.
|
void |
setAdServingOptimizationStatus(AdServingOptimizationStatus value)
Sets the value of the adServingOptimizationStatus property.
|
void |
setAdvertisingChannelSubType(AdvertisingChannelSubType value)
Sets the value of the advertisingChannelSubType property.
|
void |
setAdvertisingChannelType(AdvertisingChannelType value)
Sets the value of the advertisingChannelType property.
|
void |
setBaseCampaignId(Long value)
Sets the value of the baseCampaignId property.
|
void |
setBiddingStrategyConfiguration(BiddingStrategyConfiguration value)
Sets the value of the biddingStrategyConfiguration property.
|
void |
setBudget(Budget value)
Sets the value of the budget property.
|
void |
setCampaignGroupId(Long value)
Sets the value of the campaignGroupId property.
|
void |
setCampaignTrialType(CampaignTrialType value)
Sets the value of the campaignTrialType property.
|
void |
setConversionOptimizerEligibility(ConversionOptimizerEligibility value)
Sets the value of the conversionOptimizerEligibility property.
|
void |
setEndDate(String value)
Sets the value of the endDate property.
|
void |
setFinalUrlSuffix(String value)
Sets the value of the finalUrlSuffix property.
|
void |
setFrequencyCap(FrequencyCap value)
Sets the value of the frequencyCap property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNetworkSetting(NetworkSetting value)
Sets the value of the networkSetting property.
|
void |
setSelectiveOptimization(SelectiveOptimization value)
Sets the value of the selectiveOptimization property.
|
void |
setServingStatus(ServingStatus value)
Sets the value of the servingStatus property.
|
void |
setStartDate(String value)
Sets the value of the startDate property.
|
void |
setStatus(CampaignStatus value)
Sets the value of the status property.
|
void |
setTrackingUrlTemplate(String value)
Sets the value of the trackingUrlTemplate property.
|
void |
setUniversalAppCampaignInfo(UniversalAppCampaignInfo value)
Sets the value of the universalAppCampaignInfo property.
|
void |
setUrlCustomParameters(CustomParameters value)
Sets the value of the urlCustomParameters property.
|
void |
setVanityPharma(VanityPharma value)
Sets the value of the vanityPharma property.
|
protected Long id
protected Long campaignGroupId
protected String name
protected CampaignStatus status
protected ServingStatus servingStatus
protected String startDate
protected String endDate
protected Budget budget
protected ConversionOptimizerEligibility conversionOptimizerEligibility
protected AdServingOptimizationStatus adServingOptimizationStatus
protected FrequencyCap frequencyCap
protected AdvertisingChannelType advertisingChannelType
protected AdvertisingChannelSubType advertisingChannelSubType
protected NetworkSetting networkSetting
protected BiddingStrategyConfiguration biddingStrategyConfiguration
protected CampaignTrialType campaignTrialType
protected Long baseCampaignId
protected List<StringStringMapEntry> forwardCompatibilityMap
protected String trackingUrlTemplate
protected String finalUrlSuffix
protected CustomParameters urlCustomParameters
protected VanityPharma vanityPharma
protected UniversalAppCampaignInfo universalAppCampaignInfo
protected SelectiveOptimization selectiveOptimization
public void setId(Long value)
value - allowed object is
Longpublic Long getCampaignGroupId()
Longpublic void setCampaignGroupId(Long value)
value - allowed object is
Longpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic CampaignStatus getStatus()
CampaignStatuspublic void setStatus(CampaignStatus value)
value - allowed object is
CampaignStatuspublic ServingStatus getServingStatus()
ServingStatuspublic void setServingStatus(ServingStatus value)
value - allowed object is
ServingStatuspublic String getStartDate()
Stringpublic void setStartDate(String value)
value - allowed object is
Stringpublic String getEndDate()
Stringpublic void setEndDate(String value)
value - allowed object is
Stringpublic Budget getBudget()
Budgetpublic void setBudget(Budget value)
value - allowed object is
Budgetpublic ConversionOptimizerEligibility getConversionOptimizerEligibility()
ConversionOptimizerEligibilitypublic void setConversionOptimizerEligibility(ConversionOptimizerEligibility value)
value - allowed object is
ConversionOptimizerEligibilitypublic AdServingOptimizationStatus getAdServingOptimizationStatus()
AdServingOptimizationStatuspublic void setAdServingOptimizationStatus(AdServingOptimizationStatus value)
value - allowed object is
AdServingOptimizationStatuspublic FrequencyCap getFrequencyCap()
FrequencyCappublic void setFrequencyCap(FrequencyCap value)
value - allowed object is
FrequencyCappublic 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 AdvertisingChannelType getAdvertisingChannelType()
AdvertisingChannelTypepublic void setAdvertisingChannelType(AdvertisingChannelType value)
value - allowed object is
AdvertisingChannelTypepublic AdvertisingChannelSubType getAdvertisingChannelSubType()
AdvertisingChannelSubTypepublic void setAdvertisingChannelSubType(AdvertisingChannelSubType value)
value - allowed object is
AdvertisingChannelSubTypepublic NetworkSetting getNetworkSetting()
NetworkSettingpublic void setNetworkSetting(NetworkSetting value)
value - allowed object is
NetworkSettingpublic 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 BiddingStrategyConfiguration getBiddingStrategyConfiguration()
BiddingStrategyConfigurationpublic void setBiddingStrategyConfiguration(BiddingStrategyConfiguration value)
value - allowed object is
BiddingStrategyConfigurationpublic CampaignTrialType getCampaignTrialType()
CampaignTrialTypepublic void setCampaignTrialType(CampaignTrialType value)
value - allowed object is
CampaignTrialTypepublic Long getBaseCampaignId()
Longpublic void setBaseCampaignId(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 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 VanityPharma getVanityPharma()
VanityPharmapublic void setVanityPharma(VanityPharma value)
value - allowed object is
VanityPharmapublic UniversalAppCampaignInfo getUniversalAppCampaignInfo()
UniversalAppCampaignInfopublic void setUniversalAppCampaignInfo(UniversalAppCampaignInfo value)
value - allowed object is
UniversalAppCampaignInfopublic SelectiveOptimization getSelectiveOptimization()
SelectiveOptimizationpublic void setSelectiveOptimization(SelectiveOptimization value)
value - allowed object is
SelectiveOptimizationCopyright © 2023. All rights reserved.