Pageviews, List, and Search Pages
Learn about pageviews and how to list and search pages.
We'll cover the following...
In this lesson, we'll learn how to retrieve the number of pageviews for a particular blog page over a certain period of time. We'll also learn how to retrieve a single blog page and a list of all blog pages.
Pageview properties
The table below shows the list of pageview properties and their descriptions.
Parameter | Type | Description |
| string | The type of object. Value: Note: This value is fixed. |
| long | The ID of the blog. |
| list | The list of time ranges and count pairs for each page. |
| string | The duration over which the count was estimated. |
| long | The number of pageviews. |
Methods
Get pageviews
We can retrieve the pageview stats for a specific blog by making a GET request to the following endpoint:
https://blogger.googleapis.com/v3/blogs/{blogId}/pageviews
This endpoint requires the blogId
of the blog that ...