Returns the average cost per click.
Returns the average cost per thousand impressions.
Returns the average number of pages viewed per visit.
Returns the average number of pages viewed per visit. Returns
null
if the account is not linked to Analytics.
Returns the average position.
Returns the average position. Returns
null
if this is a Display entity that doesn't have an average position.
Returns the average time a visitor spent on site, in seconds.
Returns the average time a visitor spent on site, in seconds. Returns
null
if the account is not linked to Analytics.
Returns the bounce rate of the entity, in
0..1
range.
Returns the bounce rate of the entity, in
0..1
range. When a visitor to your site sees only one page or triggers only one event, Analytics considers this visit a "bounce." Returns
null
if the account is not linked to Analytics.
Returns the conversion rate for clicks, in
0..1
range.
Returns the conversion rate for clicks, in
0..1
range.
Returns the number of clicks.
Returns the conversion rate, in
0..1
range.
Returns the conversion rate, in
0..1
range.
<aside class="warning">
Deprecated. This functionality has been deprecated. Please use
Stats.getClickConversionRate() instead.
</aside>
Returns the number of conversions.
Returns the number of conversions. <aside class="warning"> Deprecated. This functionality has been deprecated. Please use Stats.getConvertedClicks() instead. </aside>
Returns the number of clicks that converted.
Returns the cost in the default currency of the account.
Returns the click through rate of the entity, in
0..1
range.
Returns the click through rate of the entity, in
0..1
range.
Returns the number of impressions.
Statistics common to various entity types.
Typical usage:
Note that Analytics-related stats (Stats.getAveragePageviews(), Stats.getAverageTimeOnSite() and Stats.getBounceRate()) are only available for Campaigns, Ad groups, Keywords, and Ads. The method calls will return
null
for other entity types. Entities with stats: