MccApp.​ManagedAccountStats

Statistics for MCC Managed Accounts. Managed accounts are accessed via MccApp.accounts(). For accounts accessed by AdWordsApp.currentAccount(), please see Stats.

Typical usage:

 var stats = account.getStatsFor("LAST_MONTH");
 var impressions = stats.getImpressions();
 var clicks = stats.getClicks();
 // etc.

Methods:

MemberTypeDescription
getClicks long Returns the number of clicks.
getConversionRate double Returns the rate of conversions.
getConversions double Returns the number of conversions.
getCost double Returns the cost in the default currency of the account.
getCtr double Returns the click through rate of the entity, in 0..1 range.
getImpressions long Returns the number of impressions.

getClicks()

Returns the number of clicks.

Return values:

TypeDescription
long The number of clicks.

getConversionRate()

Returns the rate of conversions.

Return values:

TypeDescription
double The rate of conversions.

getConversions()

Returns the number of conversions.

Return values:

TypeDescription
double The number of conversions.

getCost()

Returns the cost in the default currency of the account.

Return values:

TypeDescription
double The cost in the default currency of the account.

getCtr()

Returns the click through rate of the entity, in 0..1 range.

Return values:

TypeDescription
double The click through rate.

getImpressions()

Returns the number of impressions.

Return values:

TypeDescription
long The number of impressions.

Send feedback about...

AdWords Scripts
AdWords Scripts
Need help? Visit our support page.