Sets the bidding strategy of this shopping campaign to the provided portfolio bidding
strategy.
getStrategy()
Returns the flexible bidding strategy of the shopping campaign. If this
shopping campaign has an anonymous bidding strategy, or no bidding strategy, null is returned.
The flexible bidding strategy associated with this shopping campaign.
getStrategySource()
Returns the bidding strategy source of this shopping campaign. Always returns
'CAMPAIGN'.
Return values:
Type
Description
String
The bidding strategy source of this shopping campaign.
getStrategyType()
Returns the bidding strategy type of this shopping campaign. This may either be an
anonymous bidding strategy, or the type of a flexible bidding strategy.
Return values:
Type
Description
String
The strategy type of this shopping campaign.
setStrategy(biddingStrategy)
Sets the bidding strategy of this shopping campaign to the specified standard bidding
strategy.
The AdWords API bidding guide contains a list
of all valid standard bidding strategies. Note that specifying portfolio strategies will result
in error.
Returns nothing.
Arguments:
Name
Type
Description
biddingStrategy
String
A string representation of a standard bidding strategy.
setStrategy(biddingStrategy)
Sets the bidding strategy of this shopping campaign to the provided portfolio bidding
strategy.
Note that AdsApp does not support creating bidding strategies, so if the desired portfolio
bidding strategy does not already exist in your account, you should first create the bidding
strategy through the Google Ads user interface, and then access that bidding strategy using
BiddingStrategySelector or BiddingStrategyIterator.