I do not understand how the API returns values. Here is an example of calling page_impressions, with "week" as the period.
"values"=> [{"end_time"=>"2012-01-08T08:00:00+0000", "value"=>1116}, {"end_time"=>"2012-01-09T08:00:00+0000", "value"=>1171}, {"end_time"=>"2012-01-10T08:00:00+0000", "value"=>1175}]
It seems that they show how many hits I had in the last 7 days before the date in "end_time", is this correct? If so, then I don’t understand what use it has, there is a huge overlap in the data.
How can I get the number of impressions of recent weeks? And how can I get more than 3 values to display? I really can not understand the logic of this and how it can be useful.
source share