AdWordsApp.​ShoppingCampaignBidding

Provides access to a shopping campaign's bidding fields.

Methods:

MemberTypeDescription
getStrategy AdWordsApp.BiddingStrategy Returns the flexible bidding strategy of the shopping campaign.
getStrategySource String Returns the bidding strategy source of this shopping campaign.
getStrategyType String Returns the bidding strategy type of this shopping campaign.
setStrategy void Sets the bidding strategy of this shopping campaign to the provided portfolio bidding strategy.
setStrategy void Sets the bidding strategy of this shopping campaign to the specified standard 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.

Return values:

TypeDescription
AdWordsApp.BiddingStrategy The flexible bidding strategy associated with this shopping campaign.

getStrategySource()

Returns the bidding strategy source of this shopping campaign. The bidding strategy source indicates where the bidding strategy came from: 'CAMPAIGN', 'ADGROUP', or 'CRITERION'.

Return values:

TypeDescription
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:

TypeDescription
String The strategy type of this shopping campaign.

setStrategy(biddingStrategy)

Sets the bidding strategy of this shopping campaign to the provided portfolio bidding strategy.

Note that AdWordsApp 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 AdWords user interface, and then access that bidding strategy using BiddingStrategySelector or BiddingStrategyIterator.

Returns nothing.

Arguments:

NameTypeDescription
biddingStrategy AdWordsApp.BiddingStrategy A portfolio bidding strategy for the 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:

NameTypeDescription
biddingStrategy String A string representation of a standard bidding strategy.

Feedback geben zu...

AdWords Scripts
AdWords Scripts