Welcome to WebmasterWorld Guest from

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

Google Adds Sample Size Control and Relative Dates Features In Analytics API

11:43 am on Oct 16, 2013 (gmt 0)

Administrator from GB 

WebmasterWorld Administrator engine is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:May 9, 2000
votes: 999

Relative dates
All Core API and MCF Reporting API queries previously required a start and end date. In the past, apps that displayed recent data - like the last 14 days - would have to manually determine today’s date, determine when 14 days ago was, and format the dates so they could be used.

To make things easier, we’ve added support for relative dates! You can now specify NdaysAgo as a value of either the start or end date.Google Adds Sample Size Control and Relative Dates Features In Analytics API [analytics.blogspot.com]
Sample size control
In certain cases, data may be sampled. To simplify setting and reporting the impact of sampling, we’ve added a couple new sampling related features.

First, we added a new query parameter to set the level of sampling. Developers can now specify whether reports should be faster or be more precise.

Second, we added 2 new fields to the API response:

sampleSize - The number of samples that were used for the sampled query.
sampleSpace - The total sampling space size. This indicates the total available sample space size from which the samples were selected.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members