AdsManagerApp.​ManagedAccountStats

Statistics for MCC Managed Accounts. Managed accounts are accessed via AdsManagerApp.accounts(). For accounts accessed by AdsApp.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.

다음에 대한 의견 보내기...

Google Ads scripts
Google Ads scripts
도움이 필요하시나요? 지원 페이지를 방문하세요.