AdsApp.​DisplayKeywordBidding

Provides access to a display keyword's bidding fields.

Methods:

MemberTypeDescription
clearCpc void Clears the max CPC bid for this display keyword.
clearCpm void Clears the CPM bid for this display keyword.
getCpc double Returns the max CPC bid for this display keyword.
getCpm double Returns the CPM bid for this display keyword.
getStrategy AdsApp.BiddingStrategy Returns the flexible bidding strategy of the display keyword.
getStrategySource String Returns the bidding strategy source of this display keyword.
getStrategyType String Returns the bidding strategy type of this display keyword.
setCpc void Sets the max CPC bid for this display keyword.
setCpm void Sets the CPM bid for this display keyword.

clearCpc()

Clears the max CPC bid for this display keyword. This will allow this display 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 display keyword, the change may have no effect on actual bidding if this display keyword has a BiddingStrategy which does not involve max CPC bids.

Returns nothing.

clearCpm()

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

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

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

Returns nothing.

getCpc()

Returns the max CPC bid for this display keyword.

Return values:

TypeDescription
double The max CPC bid for this display keyword.

getCpm()

Returns the CPM bid for this display keyword.

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

Return values:

TypeDescription
double The CPM bid for this display keyword.

getStrategy()

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

Return values:

TypeDescription
AdsApp.BiddingStrategy The flexible bidding strategy associated with this display keyword.

getStrategySource()

Returns the bidding strategy source of this display keyword. Always returns 'CAMPAIGN'.

Return values:

TypeDescription
String The bidding strategy source of this display keyword.

getStrategyType()

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

setCpc(cpc)

Sets the max CPC bid for this display keyword.

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

Returns nothing.

Arguments:

NameTypeDescription
cpc double The max CPC bid for this display keyword.

setCpm(cpm)

Sets the CPM bid for this display keyword.

Please note that although this method will effectively set the CPM bid for this display keyword, the change may have no effect on actual bidding if this display 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 display keyword.

Feedback geben zu...

Google Ads scripts
Google Ads scripts