AdWordsApp.​KeywordBidding

Provides access to a keyword's bidding fields.

Methods:

MemberTypeDescription
clearCpc void Clears the max CPC bid for this keyword.
clearCpm void Clears the CPM bid for this keyword.
clearStrategy void Clears the bidding strategy for this keyword.
getCpc double Returns the max CPC bid for this keyword.
getCpm double Returns the CPM bid for this keyword.
getStrategy AdWordsApp.BiddingStrategy Returns the flexible bidding strategy of the keyword.
getStrategySource String Returns the bidding strategy source of this keyword.
getStrategyType String Returns the bidding strategy type of this keyword.
setCpc void Sets the max CPC bid for this keyword.
setCpm void Sets the CPM bid for this keyword.
setStrategy void Sets the bidding strategy of this keyword to the provided portfolio bidding strategy.
setStrategy void Sets the bidding strategy of this keyword to the specified standard bidding strategy.

clearCpc()

Clears the max CPC bid for this keyword. This will allow this keyword to inherit its bid from the ad group level.

Please note that although this method will effectively clear the max CPC bid for this keyword, the change may have no effect on actual bidding if this keyword has a BiddingStrategy which does not involve max CPC bids.

Returns nothing.

clearCpm()

Clears the CPM bid for this keyword. This will allow this keyword to inherit its bid from the ad group level.

Please note that although this method will effectively clear the CPM bid for this keyword, the change may have no effect on actual bidding if this keyword has a BiddingStrategy which does not involve CPM bids.

See Cost-per-thousand impressions (CPM) for more information.

Returns nothing.

clearStrategy()

Clears the bidding strategy for this keyword. This will allow this keyword to inherit its bidding strategy from the ad group level.

Returns nothing.

getCpc()

Returns the max CPC bid for this keyword.

Return values:

TypeDescription
double The max CPC bid for this keyword.

getCpm()

Returns the CPM bid for this keyword.

See Cost-per-thousand impressions (CPM) for more information.

Return values:

TypeDescription
double The CPM bid for this keyword.

getStrategy()

Returns the flexible bidding strategy of the keyword. If this keyword has an anonymous bidding strategy, or no bidding strategy, null is returned.

Return values:

TypeDescription
AdWordsApp.BiddingStrategy The flexible bidding strategy associated with this keyword.

getStrategySource()

Returns the bidding strategy source of this keyword. 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 keyword.

getStrategyType()

Returns the bidding strategy type of this keyword. 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 keyword.

setCpc(cpc)

Sets the max CPC bid for this keyword.

Please note that although this method will effectively set the max CPC bid for this keyword, the change may have no effect on actual bidding if this keyword has a BiddingStrategy which does not involve max CPC bids.

Returns nothing.

Arguments:

NameTypeDescription
cpc double The max CPC bid for this keyword.

setCpm(cpm)

Sets the CPM bid for this keyword.

Please note that although this method will effectively set the CPM bid for this keyword, the change may have no effect on actual bidding if this keyword has a BiddingStrategy which does not involve CPM bids.

See Cost-per-thousand impressions (CPM) for more information.

Returns nothing.

Arguments:

NameTypeDescription
cpm double The CPM bid for this keyword.

setStrategy(biddingStrategy)

Sets the bidding strategy of this keyword 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 keyword.

setStrategy(biddingStrategy)

Sets the bidding strategy of this keyword to the specified standard bidding strategy.

The only supported standard bidding strategy for keywords is:

  • "MANUAL_CPC": Manual click-based bidding where user pays per click.

Returns nothing.

Arguments:

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

Feedback geben zu...

AdWords Scripts
AdWords Scripts