AdsApp.​VideoAdGroupBidding

  • Provides access to bidding fields for video ad groups, allowing retrieval and modification of various bid types (Target CPA, CPM, CPV, Target CPM).

  • Includes methods to get and set bids for different strategies, such as getCpa(), setCpa(), getCpm(), setCpm(), getCpv(), setCpv(), getTargetCpm(), and setTargetCpm().

  • Offers insight into the bidding strategy with methods like getStrategySource() (deprecated) and getStrategyType(), which returns the current strategy in use (e.g., MANUAL_CPV, TARGET_CPA).

  • It's important to note that setting bids might not affect actual bidding if the video ad group's BiddingStrategy doesn't utilize the specific bid type being modified.

Provides access to a video ad group's bidding fields.

Methods:

MemberTypeDescription
getCpa() double Returns the Target CPA bid for this video ad group.
getCpm() double Returns the CPM bid for this video ad group.
getCpv() double Returns the max CPV bid for this video ad group.
getStrategySource() String Returns the bidding strategy source of this video ad group.
getStrategyType() String Returns the bidding strategy type of this video ad group.
getTargetCpm() double Returns the Target CPM bid for this video ad group.
setCpa(cpa) void Sets the Target CPA bid for this video ad group.
setCpm(cpm) void Sets the CPM bid for this video ad group.
setCpv(cpv) void Sets the max CPV bid for this video ad group.
setTargetCpm(targetCpm) void Sets the Target CPM bid for this video ad group.

getCpa()

Returns the Target CPA bid for this video ad group.

Return values:

TypeDescription
double The Target CPA bid for this video ad group.

getCpm()

Returns the CPM bid for this video ad group.

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

Return values:

TypeDescription
double The CPM bid for this video ad group.

getCpv()

Returns the max CPV bid for this video ad group.

Return values:

TypeDescription
double The max CPV bid for this video ad group.

getStrategySource()

Returns the bidding strategy source of this video ad group. Always returns 'CAMPAIGN'.

Return values:

TypeDescription
String The bidding strategy source of this video ad group.

getStrategyType()

Returns the bidding strategy type of this video ad group. Possible return values:

MANUAL_CPV, MANUAL_CPM, TARGET_CPA, TARGET_CPM

Return values:

TypeDescription
String The strategy type of this video ad group.

getTargetCpm()

Returns the Target CPM bid for this video ad group.

Return values:

TypeDescription
double The Target CPM bid for this video ad group.

setCpa(cpa)

Sets the Target CPA bid for this video ad group.

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

Returns nothing.

Arguments:

NameTypeDescription
cpa double The Target CPA bid for this video ad group.

setCpm(cpm)

Sets the CPM bid for this video ad group.

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

setCpv(cpv)

Sets the max CPV bid for this video ad group.

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

Returns nothing.

Arguments:

NameTypeDescription
cpv double The max CPV bid for this video ad group.

setTargetCpm(targetCpm)

Sets the Target CPM bid for this video ad group.

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

Returns nothing.

Arguments:

NameTypeDescription
targetCpm double The Target CPM bid for this video ad group.