Methods:
Member | Type | Description |
---|---|---|
clearCpc | void |
Clears the max CPC bid for this audience. |
clearCpm | void |
Clears the CPM bid for this audience. |
getCpc | double |
Returns the max CPC bid for this audience. |
getCpm | double |
Returns the CPM bid for this audience. |
getStrategy | AdsApp.BiddingStrategy |
Returns the flexible bidding strategy of the audience. |
String |
Returns the bidding strategy source of this audience. | |
getStrategyType | String |
Returns the bidding strategy type of this audience. |
setCpc | void |
Sets the max CPC bid for this audience. |
setCpm | void |
Sets the CPM bid for this audience. |
clearCpc()
Clears the max CPC bid for this audience. This will allow this
audience to inherit its bid from the ad group level.
Please note that although this method will effectively clear the max CPC bid for this audience, the change may have no effect on actual bidding if this audience has a BiddingStrategy which does not involve max CPC bids.
Returns nothing.
clearCpm()
Clears the CPM bid for this audience. This will allow this
audience to inherit its bid from the ad group level.
Please note that although this method will effectively clear the CPM bid for this audience, the change may have no effect on actual bidding if this audience 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 audience.Return values:
Type | Description |
---|---|
double |
The max CPC bid for this audience. |
getCpm()
Returns the CPM bid for this audience.
See Cost-per-thousand impressions (CPM) for more information.
Return values:
Type | Description |
---|---|
double |
The CPM bid for this audience. |
getStrategy()
Returns the flexible bidding strategy of the audience. If this
audience has an anonymous bidding strategy, or no bidding strategy, null
is returned.Return values:
Type | Description |
---|---|
AdsApp.BiddingStrategy |
The flexible bidding strategy associated with this audience. |
getStrategySource()
Returns the bidding strategy source of this audience. Always returns
'CAMPAIGN'.Return values:
Type | Description |
---|---|
String |
The bidding strategy source of this audience. |
getStrategyType()
Returns the bidding strategy type of this audience. 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 audience. |
setCpc(cpc)
Sets the max CPC bid for this audience.
Please note that although this method will effectively set the max CPC bid for this audience, the change may have no effect on actual bidding if this audience has a BiddingStrategy which does not involve max CPC bids.
Returns nothing.
Arguments:
Name | Type | Description |
---|---|---|
cpc | double |
The max CPC bid for this audience. |
setCpm(cpm)
Sets the CPM bid for this audience.
Please note that although this method will effectively set the CPM bid for this audience, the change may have no effect on actual bidding if this audience has a BiddingStrategy which does not involve CPM bids.
See Cost-per-thousand impressions (CPM) for more information.
Returns nothing.
Arguments:
Name | Type | Description |
---|---|---|
cpm | double |
The CPM bid for this audience. |