public class BiddingStrategyConfiguration extends Object
Note: Starting with v201705, bidding strategies can only be set on campaigns. In earlier versions, bidding strategies can be set on campaigns, ad groups and ad group criteria.
A bidding strategy can be set using one of the following:
If the bidding strategy type is used, then schemes are created using default values.
Bids can be set only on ad groups and ad group criteria. They cannot be set on campaigns. Multiple bids can be set at the same time. Only the bids that apply to the effective bidding strategy will be used. Effective bidding strategy is considered to be the directly attached strategy or inherited strategy from above level(s) when there is no directly attached strategy.
For more information on flexible bidding, visit the Help Center.
Java class for BiddingStrategyConfiguration complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BiddingStrategyConfiguration">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="biddingStrategyId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="biddingStrategyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="biddingStrategyType" type="{https://adwords.google.com/api/adwords/cm/v201809}BiddingStrategyType" minOccurs="0"/>
<element name="biddingStrategySource" type="{https://adwords.google.com/api/adwords/cm/v201809}BiddingStrategySource" minOccurs="0"/>
<element name="biddingScheme" type="{https://adwords.google.com/api/adwords/cm/v201809}BiddingScheme" minOccurs="0"/>
<element name="bids" type="{https://adwords.google.com/api/adwords/cm/v201809}Bids" maxOccurs="unbounded" minOccurs="0"/>
<element name="targetRoasOverride" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected BiddingScheme |
biddingScheme |
protected Long |
biddingStrategyId |
protected String |
biddingStrategyName |
protected BiddingStrategySource |
biddingStrategySource |
protected BiddingStrategyType |
biddingStrategyType |
protected List<Bids> |
bids |
protected Double |
targetRoasOverride |
| Constructor and Description |
|---|
BiddingStrategyConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
BiddingScheme |
getBiddingScheme()
Gets the value of the biddingScheme property.
|
Long |
getBiddingStrategyId()
Gets the value of the biddingStrategyId property.
|
String |
getBiddingStrategyName()
Gets the value of the biddingStrategyName property.
|
BiddingStrategySource |
getBiddingStrategySource()
Gets the value of the biddingStrategySource property.
|
BiddingStrategyType |
getBiddingStrategyType()
Gets the value of the biddingStrategyType property.
|
List<Bids> |
getBids()
Gets the value of the bids property.
|
Double |
getTargetRoasOverride()
Gets the value of the targetRoasOverride property.
|
void |
setBiddingScheme(BiddingScheme value)
Sets the value of the biddingScheme property.
|
void |
setBiddingStrategyId(Long value)
Sets the value of the biddingStrategyId property.
|
void |
setBiddingStrategyName(String value)
Sets the value of the biddingStrategyName property.
|
void |
setBiddingStrategySource(BiddingStrategySource value)
Sets the value of the biddingStrategySource property.
|
void |
setBiddingStrategyType(BiddingStrategyType value)
Sets the value of the biddingStrategyType property.
|
void |
setTargetRoasOverride(Double value)
Sets the value of the targetRoasOverride property.
|
protected Long biddingStrategyId
protected String biddingStrategyName
protected BiddingStrategyType biddingStrategyType
protected BiddingStrategySource biddingStrategySource
protected BiddingScheme biddingScheme
protected Double targetRoasOverride
public Long getBiddingStrategyId()
Longpublic void setBiddingStrategyId(Long value)
value - allowed object is
Longpublic String getBiddingStrategyName()
Stringpublic void setBiddingStrategyName(String value)
value - allowed object is
Stringpublic BiddingStrategyType getBiddingStrategyType()
BiddingStrategyTypepublic void setBiddingStrategyType(BiddingStrategyType value)
value - allowed object is
BiddingStrategyTypepublic BiddingStrategySource getBiddingStrategySource()
BiddingStrategySourcepublic void setBiddingStrategySource(BiddingStrategySource value)
value - allowed object is
BiddingStrategySourcepublic BiddingScheme getBiddingScheme()
BiddingSchemepublic void setBiddingScheme(BiddingScheme value)
value - allowed object is
BiddingSchemepublic List<Bids> getBids()
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 bids property.
For example, to add a new item, do as follows:
getBids().add(newItem);
Objects of the following type(s) are allowed in the list
Bids
public Double getTargetRoasOverride()
DoubleCopyright © 2023. All rights reserved.